summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ixgbe.c
AgeCommit message (Collapse)Author
2020-03-02Update ix(4) from freebsd to add support for X553 controllers.Jonathan Matthew
Tested on 82599 (sfp+) and X540 (baseT) by me and Hrvoje Popovski, and on X553 by sthen@ and abieber@, and possibly more via snapshots ok sthen@ mikeb@
2020-02-28oops some snapshot tests fell inTheo de Raadt
2020-02-28syncTheo de Raadt
2016-12-02Don't overwrite the selected flow control settingsMike Belopuhov
procter@ has noticed that flow control settings survive module change when they should be forgotten. It became clear that we're overwriting the selected FC mode with the requested version instead of keeping negotiated settings. Tested by procter@.
2016-11-24Enable support for the X550 family of 10 Gigabit controllersMike Belopuhov
Code was obtained from FreeBSD. Make release testing by tb@ on i386 and mikeb@ on amd64 and sparc64. X552 SFP tested by Hrvoje Popovski, HUGE thanks! X550T tested by mikeb@ on amd64 and sparc64. ok kettenis, deraadt
2016-11-21Fixup a PCIe transaction completion timeout issueMike Belopuhov
Mirrors the change 71bde60191a9fa44d33b582c5e3713ffe99b0fef in Linux; taken as a part of the 280182 commit to FreeBSD.
2016-11-21Correctly set the default value for the FCRTHMike Belopuhov
X540 datasheet specifies that Flow Control Receive Threshold High should be set to the Rx Buffer Size minus the delay value which is different for different modes of operation, however the minimum is 0x6000 (24576). Mirrors the bc1fc64fd2d9093496e5b04c6d94d26bfa629c9c commit to the Linux source code, but picked up from the 280182 commit to FreeBSD.
2016-11-17Autoconfiguration and firmware semaphore refactoringMike Belopuhov
2016-11-17EEPROM code refactoring for X540Mike Belopuhov
2016-11-17Bring in new PHY bits, some of the 82599 specific stuff becomes sharedMike Belopuhov
2016-11-17Style and typo fixes; no binary changeMike Belopuhov
2016-11-16Remove unused bits; no functional changeMike Belopuhov
2014-11-26The onboard ix(4) interfaces on the SPARC T5 machines don't have a valid MACMark Kettenis
address in their EEPROM. Use the MAC address given by the "local-mac-address" Open Firmware property instead. ok mikeb@, deraadt@
2013-08-05First stab at updating this monster to the Intel/FreeBSD current version.Mike Belopuhov
This syncs PHY and chip dependent parts as well as brings support for the flow control and additional (untested) bits for 1G fiber versions. Tested by Hrvoje Popovski <hrvoje at srce ! hr> on 82599/SFP+DA, florian@ and benno@ on 82599/SFP+SR and on 82598/CX4-BP, 82599/SFP+DA and X540/RJ45 by me.
2012-12-20correctly update the current flow control modeMike Belopuhov
2012-12-17Fix a link autonegotiation bug on 10GbaseT controllers and improveMike Belopuhov
link information reporting in general. Obtained for the most part from FreeBSD, tested by mxb at alumni ! chalmers ! se on X540 and me on 82598 (XAUI, KR4), 82599 (SFP+) and X540 (baseT); ok jsg
2012-12-05minor cleanup, whitespaces, mostly synced with freebsdMike Belopuhov
2012-11-06Remove Flow Director code that is not used, is outdated and tendsMike Belopuhov
to get in the way. ok krw, brad
2012-08-06Add support for 10Gb ethernet cards based on the Intel X540 chipset.Mike Belopuhov
The code was obtained from FreeBSD and tested on the hardware kindly donated by Tony Sarendal <tony () polarcap ! org>. Thanks a lot! ok jsg
2012-07-29whitespace cleanup, no binary changeMike Belopuhov
2011-06-10Monster update of ix(4). This brings ix(4) close to what is currentlyClaudio Jeker
in FreeBSD. This seems to fix a lot of problems on 82599 based cards including the VLAN problems and the corrupted receives. Putting this in now to work on it in tree since a few additional things need to be merged. Tested by myself, deraadt@ and jsg@ on both 98er and 99er cards. OK jsg@, deraadt@
2010-02-19Partial sync to the latest version of ixgbe in FreeBSD leaving thingsJonathan Gray
like if_ix.c mostly untouched for now. This brings in support for newer 82598 parts and adds several things that will be needed for 82599. Initially from claudio with some additions by me. Tested by claudio, dlg (earlier version) and myself on different cards and media types. ok claudio@
2009-08-08In ixgbe_acquire_swfw_sync don't return -IXGBE_ERR_SWFW_SYNC as thisJonathan Gray
works out to --16, which is nonsense. No functional change as all callers only check if the return value is or isn't equal to IXGBE_SUCCESS.
2008-06-08more cleanup, removed unused code. we don't do LRO/RSS yet, code canReyk Floeter
be added later if we ever support it.
2008-06-08replace strange Linux-style u8/u16/u32/u64/s32 integer types with theReyk Floeter
standard C99 uint*_t/int*_t types (i don't get why these drivers always use their own types when there is a well-defined standard).
2008-06-08Import ix, a driver for the Intel 82598 PCI-Express 10 Gig Ethernet Adapter,Reyk Floeter
based on Intel's ixgbe driver. Done on borrowed hardware since Intel was too poor to give us a card. ok deraadt@