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

Function sfc_dev_stop

dpdk/drivers/net/sfc/sfc_ethdev.c:292–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292static int
293sfc_dev_stop(struct rte_eth_dev *dev)
294{
295 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev);
296
297 sfc_log_init(sa, "entry");
298
299 sfc_adapter_lock(sa);
300 sfc_stop(sa);
301 sfc_adapter_unlock(sa);
302
303 sfc_log_init(sa, "done");
304
305 return 0;
306}
307
308static int
309sfc_dev_set_link_up(struct rte_eth_dev *dev)

Callers

nothing calls this directly

Calls 2

sfc_adapter_by_eth_devFunction · 0.85
sfc_stopFunction · 0.85

Tested by

no test coverage detected