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

Function txgbe_add_rar

dpdk/drivers/net/txgbe/txgbe_ethdev.c:3661–3670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3659}
3660
3661static int
3662txgbe_add_rar(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr,
3663 uint32_t index, uint32_t pool)
3664{
3665 struct txgbe_hw *hw = TXGBE_DEV_HW(dev);
3666 uint32_t enable_addr = 1;
3667
3668 return txgbe_set_rar(hw, index, mac_addr->addr_bytes,
3669 pool, enable_addr);
3670}
3671
3672static void
3673txgbe_remove_rar(struct rte_eth_dev *dev, uint32_t index)

Callers 1

Calls 1

txgbe_set_rarFunction · 0.85

Tested by

no test coverage detected