| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Reviewed by: davide
Notes:
svn path=/head/; revision=243853
|
|
|
|
|
|
|
|
|
| |
can correctly override it.
This was missed in the previous commit.
Notes:
svn path=/head/; revision=243843
|
|
|
|
| |
Notes:
svn path=/head/; revision=243842
|
|
|
|
| |
Notes:
svn path=/head/; revision=243841
|
|
|
|
| |
Notes:
svn path=/head/; revision=243840
|
|
|
|
|
|
|
| |
build.
Notes:
svn path=/head/; revision=243839
|
|
|
|
| |
Notes:
svn path=/head/; revision=243838
|
|
|
|
|
|
|
| |
is enabled.
Notes:
svn path=/head/; revision=243837
|
|
|
|
|
|
|
|
|
|
|
| |
allows both to inspect the frame sizes and to manually peek into the
frames from ddb, if needed.
Reviewed by: dim
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243836
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
over the active list. The mount interlock is not enough to guarantee
the validity of the tailq link pointers. The __mnt_vnode_next_active()
and __mnt_vnode_first_active() active lists iterators helper functions
did not provided the neccessary stability for the list, allowing the
iterators to pick garbage.
This was uncovered after the r243599 made the active list iterators
non-nop.
Since a vnode interlock is before the vnode_free_list_mtx, obtain the
vnode ilock in the non-blocking manner when under vnode_free_list_mtx,
and restart iteration after the yield if the lock attempt failed.
Assert that a vnode found on the list is active, and assert that the
helpers return the vnode with interlock owned.
Reported and tested by: pho
MFC after: 1 week
Notes:
svn path=/head/; revision=243835
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thought I've decided its overkill,a simple tuneable for
each RX and TX limit, and then init sets the ring values
based on that, should be sufficient.
More importantly, fix a bug causing a panic, when changing
the define style to IXGBE_LEGACY_TX a taskqueue init was
inadvertently set #ifdef when it should be #ifndef.
Notes:
svn path=/head/; revision=243833
|
|
|
|
|
|
|
|
| |
Submitted by: phil.stone at gmx.com
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243807
|
|
|
|
| |
Notes:
svn path=/head/; revision=243801
|
|
|
|
|
|
|
|
|
|
| |
Move all such structures to delayed-free lists and
delete all matching on interface departure event.
MFC after: 1 week
Notes:
svn path=/head/; revision=243799
|
|
|
|
| |
Notes:
svn path=/head/; revision=243796
|
|
|
|
|
|
|
|
|
| |
Submitted by: "4721@hushmail.com" <4721@hushmail.com>
Approved by: cperciva (implicit)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243794
|
|
|
|
|
|
|
|
|
|
| |
PR: kern/174059
Submitted by: "4721@hushmail.com" <4721@hushmail.com>
Approved by: cperciva (implicit)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243793
|
|
|
|
| |
Notes:
svn path=/head/; revision=243787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I couldn't think of a way to maintain the hardware TXQ locks _and_ layer
on top of that per-TXQ software queuing and any other kind of fine-grained
locks (eg per-TID, or per-node locks.)
So for now, to facilitate some further code refactoring and development
as part of the final push to get software queue ps-poll and u-apsd handling
into this driver, just do away with them entirely.
I may eventually bring them back at some point, when it looks slightly more
architectually cleaner to do so. But as it stands at the present, it's
not really buying us much:
* in order to properly serialise things and not get bitten by scheduling
and locking interactions with things higher up in the stack, we need to
wrap the whole TX path in a long held lock. Otherwise we can end up
being pre-empted during frame handling, resulting in some out of order
frame handling between sequence number allocation and encryption handling
(ie, the seqno and the CCMP IV get out of sequence);
* .. so whilst that's the case, holding the lock for that long means that
we're acquiring and releasing the TXQ lock _inside_ that context;
* And we also acquire it per-frame during frame completion, but we currently
can't hold the lock for the duration of the TX completion as we need
to call net80211 layer things with the locks _unheld_ to avoid LOR.
* .. the other places were grab that lock are reset/flush, which don't happen
often.
My eventual aim is to change the TX path so all rejected frame transmissions
and all frame completions result in any ieee80211_free_node() calls to occur
outside of the TX lock; then I can cut back on the amount of locking that
goes on here.
There may be some LORs that occur when ieee80211_free_node() is called when
the TX queue path fails; I'll begin to address these in follow-up commits.
Notes:
svn path=/head/; revision=243786
|
|
|
|
|
|
|
|
|
|
|
| |
which dumps out the actual options being used by an NFS mount.
This will be used to implement a "-m" option for nfsstat(1).
Reviewed by: alfred
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243782
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brand of controllers expects that the number of
contexts specified in the input slot context points
to an active endpoint context, else it refuses to
operate.
- Ring the correct doorbell when streams mode is used.
- Wrap one or two long lines.
Tested by: Markus Pfeiffer (DragonFlyBSD)
MFC after: 1 week
Notes:
svn path=/head/; revision=243780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Programming the low bits has a side-effect if unmasking the pin if it is
not disabled. So if an interrupt was pending then it would be delivered
with the correct new vector but to the incorrect old LAPIC.
This fix could be made clearer by preserving the mask bit while
programming the low bits and then explicitly resetting the mask bit
after all the programming is done.
Probability to trip over the fixed bug could be increased by bootverbose
because printing of the interrupt information in ioapic_assign_cpu
lengthened the time window during which an interrupt could arrive while
a pin is masked.
Reported by: Andreas Longwitz <longwitz@incore.de>
Tested by: Andreas Longwitz <longwitz@incore.de>
MFC after: 12 days
Notes:
svn path=/head/; revision=243764
|
|
|
|
|
|
|
|
| |
Suggested by: kib
MFC after: 5 days
Notes:
svn path=/head/; revision=243763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, make it explicit that V_XATTRDIR is not properly supported in gfs
code yet.
The bad code was plain incorrect: (a) it spoiled handling of v_usecount
reaching zero and (b) it leaked v_holdcnt.
The ugly code employs potentially unsafe locking tricks.
Ideally we should separate vnode lifecycle and gfs node lifecycle.
A gfs node should have its own reference count where its child nodes
should be accounted.
PR: kern/151111
Reviewed by: kib
MFC after: 13 days
Notes:
svn path=/head/; revision=243762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... to avoid any races or inconsistencies.
This should fix a regression introduced in r243404.
Also, remove a stale comment that has not been true for quite a while
now.
Pointyhat to: avg
Teested by: trociny, emaste, dumbbell (earlier version)
MFC after: 1 week
Notes:
svn path=/head/; revision=243761
|
|
|
|
|
|
|
|
|
|
|
| |
and make it safe to manipulate and check the flag
With help from: jhb
Tested by: trociny, emaste, dumbbell
MFC after: 1 week
Notes:
svn path=/head/; revision=243760
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/sys/{bsm,security/audit}. There are a few tweaks to help with the
FreeBSD build environment that will be merged back to OpenBSM. No
significant functional changes appear on the kernel side.
Obtained from: TrustedBSD Project
Sponsored by: The FreeBSD Foundation (auditdistd)
Notes:
svn path=/head/; revision=243751
|
|
|
|
| |
Notes:
svn path=/head/; revision=243746
|
|
|
|
|
|
|
| |
VFS is now fully MPSAFE, fix compilation.
Notes:
svn path=/head/; revision=243745
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enforcing the TXOP and TBTT limits:
* Frames which will overlap with TBTT will not TX;
* Frames which will exceed TXOP will be filtered.
This is not enabled by default; it's intended to be enabled by the
TDMA code on 802.11n capable chipsets.
Notes:
svn path=/head/; revision=243743
|
|
|
|
|
|
|
|
|
| |
the revamped sysctl code did not work, and needed a change. This
makes the limit get set at the time that all sysctl stats are
created and is actually more elegant imho anyway.
Notes:
svn path=/head/; revision=243741
|
|
|
|
| |
Notes:
svn path=/head/; revision=243737
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TX hot path by getting rid of index calculations and simply
managing pointers. Much of the creative code is due to my
coworker here at Intel, Alex Duyck, thanks Alex!
Also, this whole series of patches was given the critical
eye of Gleb Smirnoff and is all the better for it, thanks
Gleb!
Notes:
svn path=/head/; revision=243736
|
|
|
|
|
|
|
|
| |
interface and code in the TX path,making it tighter and
hopefully more efficient.
Notes:
svn path=/head/; revision=243735
|
|
|
|
|
|
|
| |
path, similar to a change done in igb long ago.
Notes:
svn path=/head/; revision=243733
|
|
|
|
|
|
|
|
|
| |
moving some counters and data to the ring struct from
the adapter struct, also compressing some data in the
move.
Notes:
svn path=/head/; revision=243729
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add a limit for both RX and TX, change the default to 256
- change the sysctl usage to be common, and now to be called
during init for each ring.
- the TX limit is not yet used, but the changes in the last
patch in this series uses the value.
- the motivation behind these changes is to improve data
locality in the final code.
- rxeof interface changes since it now gets limit from the
ring struct
Notes:
svn path=/head/; revision=243728
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Audit handling for missing events:
- AUE_READLINKAT
- AUE_FACCESSAT
- AUE_MKDIRAT
- AUE_MKFIFOAT
- AUE_MKNODAT
- AUE_SYMLINKAT
Sponsored by: FreeBSD Foundation (auditdistd)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243727
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix path handling for *at() syscalls.
Before the change directory descriptor was totally ignored,
so the relative path argument was appended to current working
directory path and not to the path provided by descriptor, thus
wrong paths were stored in audit logs.
Now that we use directory descriptor in vfs_lookup, move
AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() calls to the place where
we hold file descriptors table lock, so we are sure paths will
be resolved according to the same directory in audit record and
in actual operation.
Sponsored by: FreeBSD Foundation (auditdistd)
Reviewed by: rwatson
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243726
|
|
|
|
|
|
|
|
|
|
|
| |
defines (at Gleb's request). Also, change the defines around
the old transmit code to IXGBE_LEGACY_TX, I do this to make
it possible to define this regardless of the OS level (it is
not defined by default). There are also a couple changed
comments for clarity.
Notes:
svn path=/head/; revision=243725
|
|
|
|
|
|
|
|
| |
come when this feature gets implemented, but its not here yet
and I see no reason to leave this laying around.
Notes:
svn path=/head/; revision=243724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently when we discover that trail file is greater than configured
limit we send AUDIT_TRIGGER_ROTATE_KERNEL trigger to the auditd daemon
once. If for some reason auditd didn't rotate trail file it will never
be rotated.
Change it by sending the trigger when trail file size grows by the
configured limit. For example if the limit is 1MB, we will send trigger
on 1MB, 2MB, 3MB, etc.
This is also needed for the auditd change that will be committed soon
where auditd may ignore the trigger - it might be ignored if kernel
requests the trail file to be rotated too quickly (often than once a second)
which would result in overwriting previous trail file.
Sponsored by: FreeBSD Foundation (auditdistd)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243723
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently on each record write we call VFS_STATFS() to get available space
on the file system as well as VOP_GETATTR() to get trail file size.
We can assume that trail file is only updated by the audit worker, so instead
of asking for file size on every write, get file size on trail switch only
(it should be zero, but it's not expensive) and use global variable audit_size
protected by the audit worker lock to keep track of trail file's size.
This eliminates VOP_GETATTR() call for every write. VFS_STATFS() is satisfied
from in-memory data (mount->mnt_stat), so shouldn't be expensive.
Sponsored by: FreeBSD Foundation (auditdistd)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243722
|
|
|
|
|
|
|
|
|
|
|
|
| |
these are FCOE stats (fiber channel over ethernet), something that
FreeBSD does not yet have, they were mistaken for flow control by
the implementor I believe. Secondly, the real flow control stats
are oddly named with a 'link' tag on the front, it was requested
by my validation engineer to make these stats have the same name as
the igb driver for clarity and that seemed reasonable to me.
Notes:
svn path=/head/; revision=243721
|
|
|
|
|
|
|
|
|
|
| |
For VOP_GETATTR() we just need vnode to be shared-locked.
Sponsored by: FreeBSD Foundation (auditdistd)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243720
|
|
|
|
|
|
|
|
|
|
|
| |
Remove redundant call to AUDIT_ARG_UPATH1().
Path will be remembered by the following NDINIT(AUDITVNODE1) call.
Sponsored by: FreeBSD Foundation (auditdistd)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=243719
|
|
|
|
|
|
|
| |
data via the I2C routines in shared code.
Notes:
svn path=/head/; revision=243718
|
|
|
|
|
|
|
|
|
| |
multiqueue code, this functionality has proven to be more
trouble than it was worth. Thanks to Gleb for a second
critical look over my code and help in the patches!
Notes:
svn path=/head/; revision=243716
|
|
|
|
|
|
|
| |
This removes the header split and supporting code from the driver.
Notes:
svn path=/head/; revision=243714
|
|
|
|
| |
Notes:
svn path=/head/; revision=243712
|