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

Function sfc_port_stop

dpdk/drivers/net/sfc/sfc_port.c:367–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void
368sfc_port_stop(struct sfc_adapter *sa)
369{
370 sfc_log_init(sa, "entry");
371
372 efx_mac_drain(sa->nic, B_TRUE);
373
374 (void)efx_mac_stats_periodic(sa->nic, &sa->port.mac_stats_dma_mem,
375 0, B_FALSE);
376
377 sfc_port_update_mac_stats(sa, B_TRUE);
378
379 efx_port_fini(sa->nic);
380 efx_filter_fini(sa->nic);
381
382 sfc_log_init(sa, "done");
383}
384
385int
386sfc_port_configure(struct sfc_adapter *sa)

Callers 2

sfc_try_startFunction · 0.85
sfc_stopFunction · 0.85

Calls 5

efx_mac_drainFunction · 0.85
efx_mac_stats_periodicFunction · 0.85
efx_port_finiFunction · 0.85
efx_filter_finiFunction · 0.85

Tested by

no test coverage detected