| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Pointy hat to: attilio
Notes:
svn path=/head/; revision=193105
|
| |
|
|
|
|
|
| |
Tested by: zec
Notes:
svn path=/head/; revision=193103
|
| |
|
|
|
|
|
| |
Reported by: zec
Notes:
svn path=/head/; revision=193100
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CPU for too long period than necessary. Additively, interfaces are kept
polled (in the tick) even if no more packets are available.
In order to avoid such situations a new generic mechanism can be
implemented in proactive way, keeping track of the time spent on any
packet and fragmenting the time for any tick, stopping the processing
as soon as possible.
In order to implement such mechanism, the polling handler needs to
change, returning the number of packets processed.
While the intended logic is not part of this patch, the polling KPI is
broken by this commit, adding an int return value and the new flag
IFCAP_POLLING_NOCOUNT (which will signal that the return value is
meaningless for the installed handler and checking should be skipped).
Bump __FreeBSD_version in order to signal such situation.
Reviewed by: emaste
Sponsored by: Sandvine Incorporated
Notes:
svn path=/head/; revision=193096
|
| |
|
|
| |
Notes:
svn path=/head/; revision=193079
|
| |
|
|
|
|
|
| |
USB_ADD_BYTES macro.
Notes:
svn path=/head/; revision=193074
|
| |
|
|
|
|
|
| |
Tested by: "Paul B. Mahol" <onemda@gmail.com> (rum, bwi)
Notes:
svn path=/head/; revision=193073
|
| |
|
|
| |
Notes:
svn path=/head/; revision=193068
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The system hostname is now stored in prison0, and the global variable
"hostname" has been removed, as has the hostname_mtx mutex. Jails may
have their own host information, or they may inherit it from the
parent/system. The proper way to read the hostname is via
getcredhostname(), which will copy either the hostname associated with
the passed cred, or the system hostname if you pass NULL. The system
hostname can still be accessed directly (and without locking) at
prison0.pr_host, but that should be avoided where possible.
The "similar information" referred to is domainname, hostid, and
hostuuid, which have also become prison parameters and had their
associated global variables removed.
Approved by: bz (mentor)
Notes:
svn path=/head/; revision=193066
|
| |
|
|
| |
Notes:
svn path=/head/; revision=193045
|
| |
|
|
|
|
|
| |
Spotted by: HPS
Notes:
svn path=/head/; revision=193042
|
| |
|
|
|
|
|
|
| |
PR: usb/135009
Submitted by: Bill Squire <billsf at 2600.COM>
Notes:
svn path=/head/; revision=193029
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.
The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
Notes:
svn path=/head/; revision=193018
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192984
|
| |
|
|
|
|
|
| |
arrays in the usb_device struct. This also eliminates USB_HAVE_STRINGS.
Notes:
svn path=/head/; revision=192938
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calculate the exact number of vectors we'll use before calling
pci_alloc_msix. Don't grab nine all the time.
Call cxgb_setup_interrupts once per T3, not once per port. Ditto
for cxgb_teardown_interrupts.
Don't leak resources when interrupt setup fails in the middle.
Obtained from: Navdeep Parhar
MFC after: 10 days
Notes:
svn path=/head/; revision=192933
|
| |
|
|
|
|
|
|
|
|
| |
operation by overriding the channel count.
Submitted by: Hans Petter Selasky
Reported by: MIHIRA Sanpei Yoshiro
Notes:
svn path=/head/; revision=192929
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192927
|
| |
|
|
|
|
|
|
|
|
|
| |
- add key mappings for fn keys
- byte swapping for certain models
- Fix leds for keyboards which require an ID byte for the HID output structures
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=192925
|
| |
|
|
|
|
|
| |
Approved by: Hannu Savolainen <hannu@opensound.com>
Notes:
svn path=/head/; revision=192921
|
| |
|
|
|
|
|
| |
Approved by: luigi
Notes:
svn path=/head/; revision=192920
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192919
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192910
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192907
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192906
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192905
|
| |
|
|
|
|
|
|
| |
Approved by: gnn (mentor)
Obtained from: kib
Notes:
svn path=/head/; revision=192902
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192894
|
| |
|
|
|
|
|
| |
before attempting to queue the packet.
Notes:
svn path=/head/; revision=192876
|
| |
|
|
|
|
|
| |
appear.
Notes:
svn path=/head/; revision=192875
|
| |
|
|
|
|
|
| |
that it needs more stabilization.
Notes:
svn path=/head/; revision=192873
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to dequeue a packet.
The tx path was trying to ensure that enough Xenbus TX ring slots existed but
it didn't check to see whether the mbuf TX ring slots were also available.
They get freed in xn_txeof() which occurs after transmission, rather than earlier
on in the process. (The same happens under Linux too.)
Due to whatever reason (CPU use, scheduling, memory constraints, whatever) the
mbuf TX ring may not have enough slots free and would allocate slot 0. This is
used as the freelist head pointer to represent "free" mbuf TX ring slots; setting
this to an actual mbuf value rather than an id crashes the code.
This commit introduces some basic code to track the TX mbuf ring use and then
(hopefully!) ensures that enough slots are free in said TX mbuf ring before it
enters the actual work loop.
A few notes:
* Similar logic needs to be introduced to check there are enough actual slots
available in the xenbuf TX ring. There's some logic which is invoked earlier
but it doesn't hard-check against the number of available ring slots.
Its trivial to do; I'll do it in a subsequent commit.
* As I've now commented in the source, it is likely possible to deadlock the
driver under certain conditions where the rings aren't receiving any changes
(which I should enumerate) and thus Xen doesn't send any further software
interrupts. I need to make sure that the timer(s) are running right and
the queues are periodically kicked.
PR: 134926
Notes:
svn path=/head/; revision=192871
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192870
|
| |
|
|
|
|
|
| |
reality of these functions.
Notes:
svn path=/head/; revision=192869
|
| |
|
|
|
|
|
|
|
|
|
| |
code.
Slot 0 must always remain "free" and be a pointer to the first free entry in the
mbuf descriptor list. It is thus an error to have code allocate or push slot 0
back into the list.
Notes:
svn path=/head/; revision=192868
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get a quick snapshot of the kernel's symbol table including the symbols
from any loaded modules (the symbols are all merged into one symbol
table). Unlike like other implementations, this ksyms driver maps
memory in the process memory space to store the snapshot at the time
/dev/ksyms is opened. It also checks to see if the process has already
a snapshot open and won't allow it to open /dev/ksyms it again until it
closes first. This prevents kernel and process memory from being
exhausted. Note that /dev/ksyms is used by the lockstat(1) command.
Reviewed by: gallatin kib (freebsd-arch)
Approved by: gnn (mentor)
Notes:
svn path=/head/; revision=192859
|
| |
|
|
|
|
|
| |
obsfucates the code.
Notes:
svn path=/head/; revision=192857
|
| |
|
|
|
|
|
| |
run to completion and drain the tty queue.
Notes:
svn path=/head/; revision=192820
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192805
|
| |
|
|
|
|
|
|
|
| |
Submitted by: frtzkatz at yahoo.com
Approved by: sam
MFC after: 1 month
Notes:
svn path=/head/; revision=192784
|
| |
|
|
|
|
|
|
| |
It is time to take it out
Now it is cleaner
Notes:
svn path=/head/; revision=192774
|
| |
|
|
|
|
|
| |
88E8039. These are fast ethernet controllers.
Notes:
svn path=/head/; revision=192742
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192740
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192739
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192738
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192737
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192736
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
severe silicon bugs that can't handle VLAN hardware tagging as well
as status LE writeback bug. The status LE writeback bug is so
critical we can't trust status word of received frame. To accept
frames on Yukon FE+ A0 msk(4) just do minimal check for received
frames and pass them to upper stack. This means msk(4) can pass
corrupted frames to upper layer. You have been warned!
Also I supposed RX_GMF_FL_THR to be 32bits register but Linux
driver treated it as 16bit register so follow their leads. At least
this does not seem to break msk(4) on Yukon FE+.
Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com )
Bruce Cran ( bruce <> cran dot org dot uk )
Michael Reifenberger ( mike <> reifenberger dot com )
Stephen Montgomery-Smith ( stephen <> missouri dot edu )
Notes:
svn path=/head/; revision=192735
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Yukon FE+ is fast ethernet controller and uses new descriptor
format. Since I don't have this controller, the support code was
written from guess and various feedback from enthusiastic users.
Thanks to all users who patiently tested my initial patches.
Special thanks to Tanguy Bouzeloc who fixed critical bug of initial
patch.
Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com )
Bruce Cran ( bruce <> cran dot org dot uk )
Michael Reifenberger ( mike <> reifenberger dot com )
Stephen Montgomery-Smith ( stephen <> missouri dot edu )
Notes:
svn path=/head/; revision=192734
|
| |
|
|
|
|
|
|
|
|
| |
The GM_GP_CTRL register may have stale content from previous link
information so clearing it will make hardware update the register
correctly when it established a valid link.
While I'm here remove stale comment.
Notes:
svn path=/head/; revision=192731
|