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

Function ixgbe_get_mac_addr_vf

dpdk/drivers/net/ixgbe/base/ixgbe_vf.c:484–492  ·  view source on GitHub ↗

* ixgbe_get_mac_addr_vf - Read device MAC address * @hw: pointer to the HW structure * @mac_addr: the MAC address **/

Source from the content-addressed store, hash-verified

482 * @mac_addr: the MAC address
483 **/
484s32 ixgbe_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr)
485{
486 int i;
487
488 for (i = 0; i < IXGBE_ETH_LENGTH_OF_ADDRESS; i++)
489 mac_addr[i] = hw->mac.perm_addr[i];
490
491 return IXGBE_SUCCESS;
492}
493
494s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr)
495{

Callers 1

ixgbe_set_rar_vfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected