Home
last modified time | relevance | path

Searched refs:perm_addr (Results 1 – 25 of 36) sorted by relevance

12

/f-stack/dpdk/drivers/net/fm10k/base/
H A Dfm10k_vf.c14 u8 *perm_addr = hw->mac.perm_addr; in fm10k_stop_hw_vf() local
28 bal = (((u32)perm_addr[3]) << 24) | in fm10k_stop_hw_vf()
29 (((u32)perm_addr[4]) << 16) | in fm10k_stop_hw_vf()
30 (((u32)perm_addr[5]) << 8); in fm10k_stop_hw_vf()
33 (((u32)perm_addr[1]) << 8) | in fm10k_stop_hw_vf()
34 ((u32)perm_addr[2]); in fm10k_stop_hw_vf()
228 u8 perm_addr[ETH_ALEN]; in fm10k_msg_mac_vlan_vf() local
238 perm_addr, &vid); in fm10k_msg_mac_vlan_vf()
242 memcpy(hw->mac.perm_addr, perm_addr, ETH_ALEN); in fm10k_msg_mac_vlan_vf()
257 u8 perm_addr[ETH_ALEN]; in fm10k_read_mac_addr_vf() local
[all …]
H A Dfm10k_pf.c273 u8 perm_addr[ETH_ALEN]; in fm10k_read_mac_addr_pf() local
284 perm_addr[0] = (u8)(serial_num >> 24); in fm10k_read_mac_addr_pf()
285 perm_addr[1] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf()
286 perm_addr[2] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf()
294 perm_addr[3] = (u8)(serial_num >> 16); in fm10k_read_mac_addr_pf()
295 perm_addr[4] = (u8)(serial_num >> 8); in fm10k_read_mac_addr_pf()
296 perm_addr[5] = (u8)(serial_num); in fm10k_read_mac_addr_pf()
298 memcpy(hw->mac.perm_addr, perm_addr, ETH_ALEN); in fm10k_read_mac_addr_pf()
299 memcpy(hw->mac.addr, perm_addr, ETH_ALEN); in fm10k_read_mac_addr_pf()
H A Dfm10k_type.h606 u8 perm_addr[ETH_ALEN]; member
/f-stack/dpdk/drivers/net/e1000/base/
H A De1000_82540.c675 hw->mac.perm_addr[i] = (u8)(nvm_data & 0xFF); in e1000_read_mac_addr_82540()
676 hw->mac.perm_addr[i+1] = (u8)(nvm_data >> 8); in e1000_read_mac_addr_82540()
681 hw->mac.perm_addr[5] ^= 1; in e1000_read_mac_addr_82540()
684 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_82540()
H A De1000_82542.c552 hw->mac.perm_addr[i] = (u8)(nvm_data & 0xFF); in e1000_read_mac_addr_82542()
553 hw->mac.perm_addr[i+1] = (u8)(nvm_data >> 8); in e1000_read_mac_addr_82542()
557 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_82542()
H A De1000_vf.c265 memcpy(hw->mac.perm_addr, addr, 6); in e1000_reset_hw_vf()
495 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_vf()
H A De1000_vf.h188 u8 perm_addr[6]; member
H A De1000_nvm.c1157 hw->mac.perm_addr[i] = (u8)(rar_low >> (i*8)); in e1000_read_mac_addr_generic()
1160 hw->mac.perm_addr[i+4] = (u8)(rar_high >> (i*8)); in e1000_read_mac_addr_generic()
1163 hw->mac.addr[i] = hw->mac.perm_addr[i]; in e1000_read_mac_addr_generic()
H A De1000_hw.h763 u8 perm_addr[ETH_ADDR_LEN]; member
/f-stack/dpdk/drivers/net/vmxnet3/
H A Dvmxnet3_ethdev.c320 memcpy(hw->perm_addr, &mac_lo, 4); in eth_vmxnet3_dev_init()
321 memcpy(hw->perm_addr + 4, &mac_hi, 2); in eth_vmxnet3_dev_init()
333 rte_ether_addr_copy((struct rte_ether_addr *)hw->perm_addr, in eth_vmxnet3_dev_init()
337 hw->perm_addr[0], hw->perm_addr[1], hw->perm_addr[2], in eth_vmxnet3_dev_init()
338 hw->perm_addr[3], hw->perm_addr[4], hw->perm_addr[5]); in eth_vmxnet3_dev_init()
1248 rte_ether_addr_copy(mac_addr, (struct rte_ether_addr *)(hw->perm_addr)); in vmxnet3_mac_addr_set()
H A Dvmxnet3_ethdev.h78 uint8_t perm_addr[RTE_ETHER_ADDR_LEN]; member
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_vf.c202 memcpy(hw->mac.perm_addr, addr, IXGBE_ETH_LENGTH_OF_ADDRESS); in ixgbe_reset_hw_vf()
489 mac_addr[i] = hw->mac.perm_addr[i]; in ixgbe_get_mac_addr_vf()
H A Dixgbe_x540.c236 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X540()
H A Dixgbe_82598.c895 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82598()
/f-stack/dpdk/drivers/net/enetc/base/
H A Denetc_hw.h225 uint8_t perm_addr[RTE_ETHER_ADDR_LEN]; member
/f-stack/dpdk/drivers/net/igc/base/
H A Digc_nvm.c1148 hw->mac.perm_addr[i] = (u8)(rar_low >> (i * 8)); in igc_read_mac_addr_generic()
1151 hw->mac.perm_addr[i + 4] = (u8)(rar_high >> (i * 8)); in igc_read_mac_addr_generic()
1154 hw->mac.addr[i] = hw->mac.perm_addr[i]; in igc_read_mac_addr_generic()
H A Digc_hw.h786 u8 perm_addr[ETH_ADDR_LEN]; member
/f-stack/dpdk/drivers/net/e1000/
H A Digb_ethdev.c919 struct rte_ether_addr *perm_addr = in eth_igbvf_dev_init() local
920 (struct rte_ether_addr *)hw->mac.perm_addr; in eth_igbvf_dev_init()
978 if (rte_is_zero_ether_addr(perm_addr)) { in eth_igbvf_dev_init()
979 rte_eth_random_addr(perm_addr->addr_bytes); in eth_igbvf_dev_init()
983 perm_addr->addr_bytes[0], in eth_igbvf_dev_init()
984 perm_addr->addr_bytes[1], in eth_igbvf_dev_init()
985 perm_addr->addr_bytes[2], in eth_igbvf_dev_init()
986 perm_addr->addr_bytes[3], in eth_igbvf_dev_init()
987 perm_addr->addr_bytes[4], in eth_igbvf_dev_init()
988 perm_addr->addr_bytes[5]); in eth_igbvf_dev_init()
[all …]
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c1539 struct rte_ether_addr *perm_addr = in eth_ixgbevf_dev_init() local
1643 if (rte_is_zero_ether_addr(perm_addr)) { in eth_ixgbevf_dev_init()
1644 generate_random_mac_addr(perm_addr); in eth_ixgbevf_dev_init()
1654 perm_addr->addr_bytes[0], in eth_ixgbevf_dev_init()
1655 perm_addr->addr_bytes[1], in eth_ixgbevf_dev_init()
1656 perm_addr->addr_bytes[2], in eth_ixgbevf_dev_init()
1657 perm_addr->addr_bytes[3], in eth_ixgbevf_dev_init()
1658 perm_addr->addr_bytes[4], in eth_ixgbevf_dev_init()
1659 perm_addr->addr_bytes[5]); in eth_ixgbevf_dev_init()
6295 struct rte_ether_addr *perm_addr = in ixgbevf_remove_mac_addr() local
[all …]
/f-stack/dpdk/drivers/net/iavf/
H A Diavf_ethdev.c1189 struct rte_ether_addr *perm_addr, *old_addr; in iavf_dev_set_default_mac_addr() local
1193 perm_addr = (struct rte_ether_addr *)hw->mac.perm_addr; in iavf_dev_set_default_mac_addr()
1196 if (rte_is_valid_assigned_ether_addr(perm_addr)) in iavf_dev_set_default_mac_addr()
/f-stack/dpdk/drivers/common/iavf/
H A Diavf_type.h236 u8 perm_addr[ETH_ALEN]; member
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_type.h535 u8 perm_addr[ETH_ADDR_LEN]; member
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_type.h445 u8 perm_addr[ETH_ALEN]; member
/f-stack/dpdk/doc/guides/howto/
H A Dlm_bond_virtio_sriov.rst183 Port close should remove VF MAC address, it does not remove perm_addr.
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_type.h437 u8 perm_addr[ETH_ALEN]; member

12