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

Function dpaa_link_up

dpdk/drivers/net/dpaa/dpaa_ethdev.c:1344–1358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1342}
1343
1344static int dpaa_link_up(struct rte_eth_dev *dev)
1345{
1346 struct fman_if *fif = dev->process_private;
1347 struct __fman_if *__fif;
1348
1349 PMD_INIT_FUNC_TRACE();
1350
1351 __fif = container_of(fif, struct __fman_if, __if);
1352
1353 if (dev->data->dev_flags & RTE_ETH_DEV_INTR_LSC)
1354 dpaa_update_link_status(__fif->node_name, RTE_ETH_LINK_UP);
1355 else
1356 dpaa_eth_dev_start(dev);
1357 return 0;
1358}
1359
1360static int
1361dpaa_flow_ctrl_set(struct rte_eth_dev *dev,

Callers

nothing calls this directly

Calls 2

dpaa_update_link_statusFunction · 0.85
dpaa_eth_dev_startFunction · 0.85

Tested by

no test coverage detected