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

Function sfc_dev_start

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

Source from the content-addressed store, hash-verified

232}
233
234static int
235sfc_dev_start(struct rte_eth_dev *dev)
236{
237 struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev);
238 int rc;
239
240 sfc_log_init(sa, "entry");
241
242 sfc_adapter_lock(sa);
243 rc = sfc_start(sa);
244 sfc_adapter_unlock(sa);
245
246 sfc_log_init(sa, "done %d", rc);
247 SFC_ASSERT(rc >= 0);
248 return -rc;
249}
250
251static void
252sfc_dev_get_rte_link(struct rte_eth_dev *dev, int wait_to_complete,

Callers

nothing calls this directly

Calls 2

sfc_adapter_by_eth_devFunction · 0.85
sfc_startFunction · 0.85

Tested by

no test coverage detected