* ixgbe_get_mac_addr_vf - Read device MAC address * @hw: pointer to the HW structure * @mac_addr: the MAC address **/
| 482 | * @mac_addr: the MAC address |
| 483 | **/ |
| 484 | s32 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 | |
| 494 | s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) |
| 495 | { |