aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_intr.c
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* sfxge: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-6/+0
| | | | Notes: svn path=/head/; revision=365086
* sfxge(4): correct annotations where NULL input is OKAndrew Rybchenko2018-11-301-1/+1
| | | | | | | | | | | Correct annotations where NULL input can be permitted Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18284 Notes: svn path=/head/; revision=341323
* sfxge(4): add efsys macro to get memory region sizeAndrew Rybchenko2018-11-271-0/+11
| | | | | | | | | | | | | | | | EFSYS_MEM_SIZE() reports the DMA mapped size of an efsys_mem_t allocated region (the allocation size may be different due to memory allocator and DMA alignment restrictions). This ensures that common code internals have explicit knowledge of the usable size of DMA mapped memory regions. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18170 Notes: svn path=/head/; revision=341051
* sfxge(4): add Medford2 support to INTR moduleAndrew Rybchenko2018-11-271-2/+8
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18147 Notes: svn path=/head/; revision=341025
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* sfxge(4): cleanup: update copyright to 2016Andrew Rybchenko2016-05-241-1/+1
| | | | | | | | | Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6509 Notes: svn path=/head/; revision=300607
* sfxge(4): rename falconsiena_intr_*Andrew Rybchenko2016-05-131-31/+31
| | | | | | | | | | | falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299608
* sfxge(4): cleanup: constify common code method tablesAndrew Rybchenko2016-05-121-14/+14
| | | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6317 Notes: svn path=/head/; revision=299517
* sfxge(4): remove Falcon-specific code paths from common codeAndrew Rybchenko2016-05-111-18/+3
| | | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6289 Notes: svn path=/head/; revision=299403
* sfxge(4): remove EFSYS_OPT_FALCONAndrew Rybchenko2016-05-101-24/+4
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Notes: svn path=/head/; revision=299320
* sfxge: cleanup: simplify EFX header includesAndrew Rybchenko2016-01-131-3/+0
| | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Notes: svn path=/head/; revision=293814
* sfxge: fix interrupt handling for MedfordAndrew Rybchenko2016-01-121-48/+77
| | | | | | | | | | | Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4886 Notes: svn path=/head/; revision=293769
* sfxge: rename hunt interrupt methods to ef10 and use on MedfordAndrew Rybchenko2016-01-121-11/+16
| | | | | | | | | | | | | All of these apply to both Huntington and Medford. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4868 Notes: svn path=/head/; revision=293751
* sfxge: add prefast annotation to common code return typesAndrew Rybchenko2015-11-291-10/+10
| | | | | | | | | | | | | | | | Using a typedef for common code return types (rather than "int") allows the Prefast static analyser to understand when a function has been successful (and thus when its postconditions must hold). This greatly reduces then number of false positives reported by prefast for error paths in common code functions. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Notes: svn path=/head/; revision=291436
* sfxge: add 7xxx NICs family supportAndrew Rybchenko2015-05-251-107/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Add $FreeBSD$ tags to common code files.Philip Paeps2011-11-281-0/+3
| | | | | | | Requested by: bz Notes: svn path=/head/; revision=228078
* Add the sfxge(4) device driver, providing support for 10Gb Ethernet adaptersPhilip Paeps2011-11-161-0/+354
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