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

Function ionic_dev_add_mac

dpdk/drivers/net/ionic/ionic_lif.c:289–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289int
290ionic_dev_add_mac(struct rte_eth_dev *eth_dev,
291 struct rte_ether_addr *mac_addr,
292 uint32_t index __rte_unused, uint32_t pool __rte_unused)
293{
294 struct ionic_lif *lif = IONIC_ETH_DEV_TO_LIF(eth_dev);
295
296 IONIC_PRINT_CALL();
297
298 return ionic_lif_addr_add(lif, (const uint8_t *)mac_addr);
299}
300
301void
302ionic_dev_remove_mac(struct rte_eth_dev *eth_dev, uint32_t index)

Callers

nothing calls this directly

Calls 1

ionic_lif_addr_addFunction · 0.85

Tested by

no test coverage detected