aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xl
Commit message (Collapse)AuthorAgeFilesLines
* cardbus -> CardBusWarner Losh2010-01-031-2/+2
| | | | Notes: svn path=/head/; revision=201452
* Make xl(4) build with Tx checksum offload.Pyun YongHyeon2009-07-091-4/+4
| | | | | | | | PR: kern/136409 Approved by: re (kib) Notes: svn path=/head/; revision=195484
* Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/Robert Watson2009-06-261-4/+4
| | | | | | | | | | | | | | | | IF_ADDR_UNLOCK() across network device drivers when accessing the per-interface multicast address list, if_multiaddrs. This will allow us to change the locking strategy without affecting our driver programming interface or binary interface. For two wireless drivers, remove unnecessary locking, since they don't actually access the multicast address list. Approved by: re (kib) MFC after: 6 weeks Notes: svn path=/head/; revision=195049
* When user_frac in the polling subsystem is low it is going to busy theAttilio Rao2009-05-301-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | 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
* remove dead code with reference to IFQ_HANDOFFKip Macy2009-04-271-26/+0
| | | | Notes: svn path=/head/; revision=191609
* To make it easy whether xl(4) missed Tx completion interrupt checkPyun YongHyeon2009-04-211-3/+19
| | | | | | | | | | number of queued packets in watchdog timeout handler. If there are no queued packets just print a informational message and return without resetting controller. Also fix to invoke correct Tx completion handler as 3C905B needs different handler. Notes: svn path=/head/; revision=191345
* Clear IFF_DRV_OACTIVE flag if one of queued packets was transmitted.Pyun YongHyeon2009-04-211-2/+6
| | | | | | | | | | | | | | Previously it used to clear the flag only when the transmit queue is empty which may slow down Tx performance. While I'm here check whether driver is running and whether we can queue more packets in if_start handler. This fixes occasional watchdog timeouts. Reported by: xer < xernet <> hotmail dot it > Tested by: xer < xernet <> hotmail dot it > Notes: svn path=/head/; revision=191344
* remove now-redunant cardbus attachment.Warner Losh2009-03-091-1/+0
| | | | Notes: svn path=/head/; revision=189575
* Move the xl driver form sys/pci to sys/dev/xl for consistency.Warner Losh2008-08-102-0/+4109
Notes: svn path=/head/; revision=181522