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

Function ethdev_start

dpdk/app/graph/ethdev.c:174–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void
175ethdev_start(void)
176{
177 uint16_t portid;
178 int rc;
179
180 RTE_ETH_FOREACH_DEV(portid)
181 {
182 if ((enabled_port_mask & (1 << portid)) == 0)
183 continue;
184
185 rc = rte_eth_dev_start(portid);
186 if (rc < 0)
187 rte_exit(EXIT_FAILURE, "rte_eth_dev_start: err=%d, port=%d\n", rc, portid);
188 }
189}
190
191
192static int

Callers 1

Calls 2

rte_eth_dev_startFunction · 0.85
rte_exitFunction · 0.85

Tested by

no test coverage detected