freebsd-nq/sys/dev/sfxge/common
Andrew Rybchenko 63492ab8be sfxge(4): fix efx_filter_supported_filters API
The previous API had various problems, including the length of the
caller provided buffer not being specified, no means being available
to discover how big the buffer needs to be, and a lack of clarity of
what the resulting list contains.

To fix it:
- add the buffer length as a parameter
- if the provided buffer is too short, fail with ENOSPC and return the
  required length
- ensure that the list contents are valid and add comments
  describing it

It is safe to change this API as, unsuprisingly, it has no users.

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/D8971
2016-12-30 12:02:16 +00:00
..
ef10_ev.c sfxge(4): support non-interrupting event queues creation 2016-12-30 11:54:27 +00:00
ef10_filter.c sfxge(4): fix efx_filter_supported_filters API 2016-12-30 12:02:16 +00:00
ef10_impl.h sfxge(4): fix efx_filter_supported_filters API 2016-12-30 12:02:16 +00:00
ef10_intr.c
ef10_mac.c sfxge(4): provide a way to find out which MAC stats are supported 2016-12-29 06:54:40 +00:00
ef10_mcdi.c sfxge(4): add per-command timeout reporting to the common code 2016-12-30 11:56:12 +00:00
ef10_nic.c sfxge(4): add support for firmware-verified NVRAM updates to the common code 2016-12-29 08:28:42 +00:00
ef10_nvram.c sfxge(4): make verified update result available from ef10_nvram_partn_unlock() 2016-12-30 11:58:23 +00:00
ef10_phy.c sfxge(4): cleanup: remove last use of deprecated function flags with privilege check 2016-12-28 18:07:17 +00:00
ef10_rx.c sfxge(4): do not use enum type when values are bitmask 2016-12-29 07:06:49 +00:00
ef10_tlv_layout.h sfxge(4): sync up tlv_layout.h (from firmwaresrc 82cd8a5715e9) 2016-12-29 08:25:00 +00:00
ef10_tx.c sfxge(4): don't use Tx descriptor push with TSO option descriptors 2016-12-29 07:04:26 +00:00
ef10_vpd.c
efsys.h
efx_bootcfg.c sfxge(4): add functions to efx_bootcfg supporting whole partition access 2016-12-30 12:00:17 +00:00
efx_check.h
efx_crc32.c
efx_ev.c sfxge(4): support non-interrupting event queues creation 2016-12-30 11:54:27 +00:00
efx_filter.c sfxge(4): fix efx_filter_supported_filters API 2016-12-30 12:02:16 +00:00
efx_hash.c
efx_impl.h sfxge(4): fix efx_filter_supported_filters API 2016-12-30 12:02:16 +00:00
efx_intr.c
efx_lic.c sfxge(4): cleanup: add missing space between type and pointer symbol 2016-12-28 10:53:53 +00:00
efx_mac.c sfxge(4): provide a way to find out which MAC stats are supported 2016-12-29 06:54:40 +00:00
efx_mcdi.c sfxge(4): add per-command timeout reporting to the common code 2016-12-30 11:56:12 +00:00
efx_mcdi.h
efx_mon.c sfxge(4): make strings array pointer itself immutable 2016-12-28 11:09:45 +00:00
efx_nic.c sfxge(4): do not initialize enumerated type variable to another type 2016-12-28 16:21:46 +00:00
efx_nvram.c sfxge(4): add support for firmware-verified NVRAM updates to the common code 2016-12-29 08:28:42 +00:00
efx_phy_ids.h
efx_phy.c sfxge(4): rename hunt_bist_* methods to ef10_bist_* 2016-12-28 13:28:44 +00:00
efx_port.c sfxge(4): make strings array pointer itself immutable 2016-12-28 11:09:45 +00:00
efx_regs_ef10.h
efx_regs_mcdi.h sfxge(4): regenerate MCDI headers from firmwaresrc .yml 2016-12-29 08:10:51 +00:00
efx_regs_pci.h
efx_regs.h
efx_rx.c sfxge(4): fix typo in pseudo header accessor function names 2016-12-29 07:20:53 +00:00
efx_sram.c
efx_tx.c sfxge(4): cleanup: add const qualifier to const array pointer 2016-12-28 11:07:34 +00:00
efx_types.h sfxge(4): enclose macro complex value in parenthesis 2016-12-28 11:11:15 +00:00
efx_vpd.c
efx_wol.c
efx.h sfxge(4): fix efx_filter_supported_filters API 2016-12-30 12:02:16 +00:00
hunt_impl.h sfxge(4): move BIST methods from hunt_phy.c to ef10_phy.c 2016-12-28 17:56:03 +00:00
hunt_nic.c sfxge(4): cleanup: use TAB to indent 2016-12-28 11:01:01 +00:00
mcdi_mon.c sfxge(4): use correct port number in sensor decoding 2016-12-29 06:57:36 +00:00
mcdi_mon.h
medford_impl.h
medford_nic.c sfxge(4): fix GET_RXDP_CONFIG usage for multi-PF on Medford 2016-12-28 17:50:48 +00:00
siena_flash.h sfxge(4): cleanup: use TAB to indent 2016-12-28 11:01:01 +00:00
siena_impl.h sfxge(4): add per-command timeout reporting to the common code 2016-12-30 11:56:12 +00:00
siena_mac.c sfxge(4): provide a way to find out which MAC stats are supported 2016-12-29 06:54:40 +00:00
siena_mcdi.c sfxge(4): add per-command timeout reporting to the common code 2016-12-30 11:56:12 +00:00
siena_nic.c sfxge(4): add support for firmware-verified NVRAM updates to the common code 2016-12-29 08:28:42 +00:00
siena_nvram.c sfxge(4): add support for firmware-verified NVRAM updates to the common code 2016-12-29 08:28:42 +00:00
siena_phy.c sfxge(4): cleanup: avoid spaces before TAB 2016-12-28 11:04:36 +00:00
siena_sram.c
siena_vpd.c sfxge(4): cleanup: avoid unspecified unsigned 2016-12-28 11:19:54 +00:00