MCPcopy Create free account
hub / github.com/F-Stack/f-stack / efx_rx_fini

Function efx_rx_fini

dpdk/drivers/common/sfc_efx/base/efx_rx.c:291–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291 void
292efx_rx_fini(
293 __in efx_nic_t *enp)
294{
295 const efx_rx_ops_t *erxop = enp->en_erxop;
296
297 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
298 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC);
299 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_RX);
300 EFSYS_ASSERT3U(enp->en_rx_qcount, ==, 0);
301
302 erxop->erxo_fini(enp);
303
304 enp->en_erxop = NULL;
305 enp->en_mod_flags &= ~EFX_MOD_RX;
306}
307
308#if EFSYS_OPT_RX_SCATTER
309 __checkReturn efx_rc_t

Callers 3

sfc_rx_startFunction · 0.85
sfc_rx_stopFunction · 0.85
sfc_rss_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected