aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/sfxge
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* None of these use opt_sched.hBryan Drewery2020-04-281-1/+1
| | | | Notes: svn path=/head/; revision=360442
* sfxge(4): add generated description of sensorsAndrew Rybchenko2018-11-301-1/+2
| | | | | | | | | | | Description of sensors is generated from firmware sources. Submitted by: Martin Harvey <mharvey at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18251 Notes: svn path=/head/; revision=341286
* sfxge(4): move empty efsys definitions to EFX headersAndrew Rybchenko2018-11-301-1/+2
| | | | | | | | | | | | | Move empty definitions for platform-specific annotations from efsys.h to EFX headers. Submitted by: Martin Harvey <mharvey at solarflare.com> Submitted by: Andrew Lee <alee at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18248 Notes: svn path=/head/; revision=341283
* sfxge(4): add firmware image layout optionAndrew Rybchenko2018-11-291-3/+3
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18214 Notes: svn path=/head/; revision=341183
* sfxge(4): add Medford2 support to NIC moduleAndrew Rybchenko2018-11-271-0/+3
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18142 Notes: svn path=/head/; revision=341020
* sfxge(4): update autogenerated headers from firmwaresrcAndrew Rybchenko2018-11-261-1/+2
| | | | | | | | | | | | Pick up Medford2 interfaces. Split AOE operations out into own header. Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18137 Notes: svn path=/head/; revision=340930
* sfxge(4): add API to control UDP tunnel portsAndrew Rybchenko2018-11-261-2/+2
| | | | | | | | | | | | | HW needs to know which UDP packets should be treated as tunnel encapsulation to do inner packet recognition, classification and offloads. Submitted by: Ivan Malov <ivan.malov at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18134 Notes: svn path=/head/; revision=340928
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-3/+3
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* sfxge(4): remove obsolete Wake-On-LAN supportAndrew Rybchenko2016-12-301-1/+1
| | | | | | | | | | | | | | | Wake-on-lan is not supported in production on any of our adapters, as they don't have the required AUX power connector. (It's possible that AUX power is supplied to some of our ALOM or mezz adapters, but if so then we've never implemented or tested WoL support.) Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D8972 Notes: svn path=/head/; revision=310817
* sfxge(4): delete hunt_phy.cAndrew Rybchenko2016-12-291-1/+1
| | | | | | | | | Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Notes: svn path=/head/; revision=310758
* sfxge(4): prepare sfxge to be RSS API awareAndrew Rybchenko2016-06-061-1/+1
| | | | | | | | | | | | | | This change is needed because 'opt_rss.h' is included by multiple source files and RSS macro is defined as 1 within the file during build process if option RSS is enabled in the kernel. Submitted by: Ivan Malov <Ivan.Malov at oktetlabs.ru> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D6718 Notes: svn path=/head/; revision=301489
* sfxge(4): move ef10_vpd_* to ef10_vpd.cAndrew Rybchenko2016-05-131-3/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299606
* sfxge(4): move ef10_tx_* to ef10_tx.cAndrew Rybchenko2016-05-131-2/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299605
* sfxge(4): move ef10_rx_* to ef10_rx.cAndrew Rybchenko2016-05-131-2/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299604
* sfxge(4): move ef10_phy_* to ef10_phy.cAndrew Rybchenko2016-05-131-1/+1
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299603
* sfxge(4): move ef10_nvram_* to ef10_nvram.cAndrew Rybchenko2016-05-131-1/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299602
* sfxge(4): move ef10_nic_* to ef10_nic.cAndrew Rybchenko2016-05-131-1/+1
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299601
* sfxge(4): move ef10_mcdi_* to ef10_mcdi.cAndrew Rybchenko2016-05-131-2/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299600
* sfxge(4): move ef10_mac_* to ef10_mac.cAndrew Rybchenko2016-05-131-2/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299599
* sfxge(4): move ef10_intr_* to ef10_intr.cAndrew Rybchenko2016-05-131-2/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299598
* sfxge(4): move ef10_filter_* to ef10_filter.cAndrew Rybchenko2016-05-131-2/+1
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299597
* sfxge(4): move ef10_ev_* to ef10_ev.cAndrew Rybchenko2016-05-131-1/+2
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299596
* sfxge(4): make efx_sram_test Siena-onlyAndrew Rybchenko2016-05-111-1/+1
| | | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6293 Notes: svn path=/head/; revision=299407
* sfxge: add accessors for license-related MCDI calls to common codeAndrew Rybchenko2016-01-141-1/+1
| | | | | | | | | | | | | | | Add support for Huntington MCDI licensing interface to common code. Ported from Linux net driver IOCTL functions with restructuring for initial support for V3 licensing API. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4918 Notes: svn path=/head/; revision=293901
* sfxge: add medford_impl.h, medford_nic.c, ef10_impl.hAndrew Rybchenko2016-01-121-0/+5
| | | | | | | | | | | | Creating some files together to do the build system changes in one go. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4859 Notes: svn path=/head/; revision=293734
* sfxge: do not use DEBUG_FLAGS to enable extra debug checksAndrew Rybchenko2015-05-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | DEBUG_FLAGS are set to DEBUG option value when kernel is built. For example, it is -g in GENERIC config to have debug symbols. Also DEBUG_FLAGS are used to determine if ctfconvert should keep debug symbols. Since we redefined DEBUG_FLAGS, debug symbols were always missing. ctfconvert complains about it during kernel build. It is incorrect to append DEBUG_FLAGS, since if DEBUG has no -g (or similar), we'll have no debug symbols and ctfconvert will complain. If it incorrect to always have -g in our DEBUG_FLAGS, since debug symbols presence should be controllable by kernel config. So, just add disabled by default addition of -DDEBUG=1 to CFLAGS. Reviewed by: imp Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D2666 Notes: svn path=/head/; revision=283679
* sfxge: add 7xxx NICs family supportAndrew Rybchenko2015-05-251-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support 7xxx adapters including firmware-assisted TSO and VLAN tagging: - Solarflare Flareon Ultra 7000 series 10/40G adapters: - Solarflare SFN7042Q QSFP+ Server Adapter - Solarflare SFN7142Q QSFP+ Server Adapter - Solarflare Flareon Ultra 7000 series 10G adapters: - Solarflare SFN7022F SFP+ Server Adapter - Solarflare SFN7122F SFP+ Server Adapter - Solarflare SFN7322F Precision Time Synchronization Server Adapter - Solarflare Flareon 7000 series 10G adapters: - Solarflare SFN7002F SFP+ Server Adapter Support utilities to configure adapters and update firmware. The work is done by Solarflare developers (Andy Moreton, Andrew Lee and many others), Artem V. Andreev <Artem.Andreev at oktetlabs.ru> and me. Sponsored by: Solarflare Communications, Inc. MFC after: 2 weeks Causually read by: gnn Differential Revision: https://reviews.freebsd.org/D2618 Notes: svn path=/head/; revision=283514
* sfxge: cleanup: remove trailing whitespacesAndrew Rybchenko2015-03-241-2/+2
| | | | | | | Sponsored by: Solarflare Communications, Inc. Notes: svn path=/head/; revision=280431
* sfxge: adding version info to device descriptionAndrew Rybchenko2015-03-171-1/+1
| | | | | | | | | | | The information is required for NIC update and config tools. Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=280162
* sfxge: compile out LRO if kernel is compiled without IPv4 and IPv6Andrew Rybchenko2015-02-281-1/+1
| | | | | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279398
* sfxge: list header in SRCSAndrew Rybchenko2015-02-221-0/+5
| | | | | | | | Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=279180
* DEBUG_FLAGS -g is default for GENERIC and its presence interferes withPhilip Paeps2013-09-291-1/+1
| | | | | | | | | | disabling the sfxge.ko.symbols build for embedded systems. Approved by: re (marius) MFC after: 3 days Notes: svn path=/head/; revision=255936
* Remove zero-copy sockets code. It only worked for anonymous memory,Konstantin Belousov2013-09-161-1/+1
| | | | | | | | | | | | | | | | and the equivalent functionality is now provided by sendfile(2) over posix shared memory filedescriptor. Remove the cow member of struct vm_page, and rearrange the remaining members. While there, make hold_count unsigned. Requested and reviewed by: alc Tested by: pho Sponsored by: The FreeBSD Foundation Approved by: re (delphij) Notes: svn path=/head/; revision=255608
* Add the sfxge(4) device driver, providing support for 10Gb Ethernet adaptersPhilip Paeps2011-11-161-0/+25
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 Notes: svn path=/head/; revision=227569