freebsd-dev/sys/dev/sfxge/common
Andrew Rybchenko fdfd8bfee9 sfxge(4): use MAC stats DMA buffer size when decoding
On Medford2 and later the MAC stats buffer has been enlarged.
Use the MAC stats DMA buffer size to ensure that the stats END
generation count is read from the correct location, and that
over-reading of the DMA buffer is prevented.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18176
2018-11-27 14:15:30 +00:00
..
ef10_ev.c sfxge(4): update hardware headers for Medford2 2018-11-27 12:58:52 +00:00
ef10_filter.c sfxge(4): add Medford2 support to FILTER module 2018-11-27 12:20:23 +00:00
ef10_impl.h sfxge(4): add method to make checksum option descriptors 2018-11-27 12:23:01 +00:00
ef10_intr.c sfxge(4): add Medford2 support to INTR module 2018-11-27 12:20:35 +00:00
ef10_mac.c sfxge(4): use MAC stats DMA buffer size when decoding 2018-11-27 14:15:30 +00:00
ef10_mcdi.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
ef10_nic.c sfxge(4): retrieve number of MAC stats from NIC 2018-11-27 14:14:57 +00:00
ef10_nvram.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
ef10_phy.c sfxge(4): handle new speeds in link events 2018-11-27 13:00:51 +00:00
ef10_rx.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
ef10_tlv_layout.h sfxge(4): update autogenerated headers from firmwaresrc 2018-11-26 07:23:02 +00:00
ef10_tx.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
ef10_vpd.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
efsys.h sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
efx_bootcfg.c sfxge(4): add Medford2 support to BOOTCFG module 2018-11-27 12:22:03 +00:00
efx_check.h sfxge(4): add efsys option for Medford2 2018-11-27 12:13:54 +00:00
efx_crc32.c
efx_ev.c sfxge(4): add Medford2 support to EV module 2018-11-27 12:20:12 +00:00
efx_filter.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
efx_hash.c
efx_impl.h sfxge(4): add method to make checksum option descriptors 2018-11-27 12:23:01 +00:00
efx_intr.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
efx_lic.c sfxge(4): update autogenerated headers from firmwaresrc 2018-11-26 07:23:02 +00:00
efx_mac.c sfxge(4): add Medford2 support to MAC module 2018-11-27 12:20:46 +00:00
efx_mcdi.c sfxge(4): use MAC stats DMA buffer size from caps 2018-11-27 14:15:19 +00:00
efx_mcdi.h sfxge(4): add Medford2 support to MCDI module 2018-11-27 12:20:57 +00:00
efx_mon.c sfxge(4): add 3.3V and 12.0V current sensors 2018-11-26 07:42:52 +00:00
efx_nic.c sfxge(4): add new loopback modes 2018-11-27 13:00:28 +00:00
efx_nvram.c sfxge(4): add Medford2 support to NVRAM module 2018-11-27 12:21:41 +00:00
efx_phy_ids.h
efx_phy.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
efx_port.c sfxge(4): add new loopback modes 2018-11-27 13:00:28 +00:00
efx_regs_ef10.h sfxge(4): update hardware headers for Medford2 2018-11-27 12:58:52 +00:00
efx_regs_mcdi_aoe.h sfxge(4): update autogenerated headers from firmwaresrc 2018-11-26 07:23:02 +00:00
efx_regs_mcdi.h sfxge(4): update autogenerated headers from firmwaresrc 2018-11-26 07:23:02 +00:00
efx_regs_pci.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
efx_regs.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
efx_rx.c sfxge(4): add Medford2 support to Rx module 2018-11-27 12:21:19 +00:00
efx_sram.c sfxge(4): add Medford2 support to SRAM module 2018-11-27 12:21:53 +00:00
efx_tunnel.c sfxge(4): add API to control UDP tunnel ports 2018-11-26 06:20:13 +00:00
efx_tx.c sfxge(4): add method to make checksum option descriptors 2018-11-27 12:23:01 +00:00
efx_types.h sfxge(4): fix coding style 2018-11-24 15:24:47 +00:00
efx_vpd.c sfxge(4): add Medford2 support to VPD module 2018-11-27 12:22:14 +00:00
efx.h sfxge(4): retrieve number of MAC stats from NIC 2018-11-27 14:14:57 +00:00
hunt_impl.h
hunt_nic.c sfxge(4): support runtime VI window size 2018-11-27 12:22:37 +00:00
mcdi_mon.c sfxge(4): add Medford2 support to MON module 2018-11-27 12:22:25 +00:00
mcdi_mon.h
medford2_impl.h sfxge(4): add Medford2 support to NIC module 2018-11-27 12:14:16 +00:00
medford2_nic.c sfxge(4): update notes on interrupt testing on VFs 2018-11-27 12:59:32 +00:00
medford_impl.h sfxge(4): remove unused defined for WPTR alignment 2018-11-24 15:24:35 +00:00
medford_nic.c sfxge(4): update notes on interrupt testing on VFs 2018-11-27 12:59:32 +00:00
siena_flash.h sfxge(4): regenerate files with genfwdef after ID update 2018-11-26 07:15:19 +00:00
siena_impl.h sfxge(4): fix diagnostics support build without Siena 2018-11-24 16:29:11 +00:00
siena_mac.c sfxge(4): use MAC stats DMA buffer size when decoding 2018-11-27 14:15:30 +00:00
siena_mcdi.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
siena_nic.c sfxge(4): retrieve number of MAC stats from NIC 2018-11-27 14:14:57 +00:00
siena_nvram.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00
siena_phy.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
siena_sram.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
siena_vpd.c sfxge(4): refactoring eliminating code analysis warnings 2018-11-27 12:59:09 +00:00