freebsd-dev/sys/dev/sfxge
Andrew Rybchenko 670be9dddf sfxge(4): improve robustness of MAC stats get via MCDI
Previously the code relied on the callers of efx_mcdi_mac_stats
to provide a DMA buffer or NULL depending on the action. Fix
this so that the DMA buffer is only passed in the request when
needed, and that an error is reported for a missing DMA buffer.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18174
2018-11-27 14:15:08 +00:00
..
common sfxge(4): improve robustness of MAC stats get via MCDI 2018-11-27 14:15:08 +00:00
sfxge_dma.c sfxge(4): add efsys macro to get memory region size 2018-11-27 13:00:39 +00:00
sfxge_ev.c
sfxge_intr.c
sfxge_ioc.h
sfxge_mcdi.c
sfxge_nvram.c sfxge(4): extend NVRAM RW finish to return verify result 2018-11-23 10:20:32 +00:00
sfxge_port.c sfxge(4): removing unneeded assert 2018-11-27 13:00:06 +00:00
sfxge_rx.c sfxge(4): control RxQ scatter using flag instead of type 2018-11-24 18:13:07 +00:00
sfxge_rx.h
sfxge_tx.c
sfxge_tx.h
sfxge_version.h
sfxge.c sfxge(4): report memory BAR number 2018-11-27 12:59:43 +00:00
sfxge.h sfxge(4): report memory BAR number 2018-11-27 12:59:43 +00:00