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

Function sfc_dev_set_link_down

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

Source from the content-addressed store, hash-verified

322}
323
324static int
325sfc_dev_set_link_down(struct rte_eth_dev *dev)
326{
327 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev);
328
329 sfc_log_init(sa, "entry");
330
331 sfc_adapter_lock(sa);
332 sfc_stop(sa);
333 sfc_adapter_unlock(sa);
334
335 return 0;
336}
337
338static void
339sfc_eth_dev_secondary_clear_ops(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