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

Function ngbe_add_rar

dpdk/drivers/net/ngbe/ngbe_ethdev.c:2589–2598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2587}
2588
2589static int
2590ngbe_add_rar(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr,
2591 uint32_t index, uint32_t pool)
2592{
2593 struct ngbe_hw *hw = ngbe_dev_hw(dev);
2594 uint32_t enable_addr = 1;
2595
2596 return ngbe_set_rar(hw, index, mac_addr->addr_bytes,
2597 pool, enable_addr);
2598}
2599
2600static void
2601ngbe_remove_rar(struct rte_eth_dev *dev, uint32_t index)

Callers 1

Calls 2

ngbe_dev_hwFunction · 0.85
ngbe_set_rarFunction · 0.85

Tested by

no test coverage detected