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

Function igbvf_default_mac_addr_set

dpdk/drivers/net/e1000/igb_ethdev.c:3691–3700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3689}
3690
3691static int
3692igbvf_default_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *addr)
3693{
3694 struct e1000_hw *hw =
3695 E1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);
3696
3697 /* index is not used by rar_set() */
3698 hw->mac.ops.rar_set(hw, (void *)addr, 0);
3699 return 0;
3700}
3701
3702
3703static int

Callers 1

igbvf_dev_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected