summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge
Commit message (Collapse)AuthorAgeFilesLines
* Update recently added drivers to use the if_*addr_r*lock() wrapperjhb2012-01-051-4/+4
| | | | | | | | functions instead of using the IF_ADDR_LOCK directly. The wrapper functions are the supported interface for device drivers. Reviewed by: bz, philip MFC after: 1 week
* sfxge: Add $FreeBSD$ tags to common code files.philip2011-11-2834-7/+96
| | | | Requested by: bz
* - There's no need to overwrite the default device method with the defaultmarius2011-11-221-5/+1
| | | | | | | | | | one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel - While at it, use DEVMETHOD_END. Discussed with: jhb - Also while at it, use __FBSDID.
* sfxge: Remove interrupt self-test codephilip2011-11-192-25/+3
| | | | | | | | | It's not currently used; it didn't build on 32-bit and the previous build fix is incorrect. If we really implement self-tests we can do this again properly. Submitted by: Ben Hutchings <bwh -at- solarflare.com> MFC after: 3 weeks
* sfxge: Fix if_baudrate reportsphilip2011-11-191-9/+10
| | | | | | | | | | This field is supposed to be set to the interface bit rate, but for some reason I thought it was denominated in kilobits. Multiply the values up accordingly, taking care to saturate rather than overflow on 32-bit architectures. Submitted by: Ben Hutchings <bwh -at- solarflare.com> MFC after: 3 weeks
* Implement prefetch_read_{many,once}() for sparc64 and fix compilation onmarius2011-11-171-1/+35
| | | | other !x86 architectures.
* Fix compilation on ILP32.marius2011-11-173-8/+8
|
* Add the sfxge(4) device driver, providing support for 10Gb Ethernet adaptersphilip2011-11-1645-0/+38269
based on Solarflare SFC9000 family controllers. The driver supports jumbo frames, transmit/receive checksum offload, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO, and Receive Side Scaling (RSS) using MSI-X interrupts. This work was sponsored by Solarflare Communications, Inc. My sincere thanks to Ben Hutchings for doing a lot of the hard work! Sponsored by: Solarflare Communications, Inc. MFC after: 3 weeks
OpenPOWER on IntegriCloud