| /dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_vf.c | 14 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 D | fm10k_pf.c | 273 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 D | fm10k_type.h | 606 u8 perm_addr[ETH_ALEN]; member
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev_vf.c | 173 struct rte_ether_addr *perm_addr = in eth_txgbevf_dev_init() local 174 (struct rte_ether_addr *)hw->mac.perm_addr; in eth_txgbevf_dev_init() 275 if (rte_is_zero_ether_addr(perm_addr)) { in eth_txgbevf_dev_init() 276 generate_random_mac_addr(perm_addr); in eth_txgbevf_dev_init() 277 err = txgbe_set_rar_vf(hw, 1, perm_addr->addr_bytes, 0, 1); in eth_txgbevf_dev_init() 286 RTE_ETHER_ADDR_BYTES(perm_addr)); in eth_txgbevf_dev_init() 290 rte_ether_addr_copy(perm_addr, ð_dev->data->mac_addrs[0]); in eth_txgbevf_dev_init() 1031 if (memcmp(hw->mac.perm_addr, mac_addr, in txgbevf_add_mac_addr() 1046 struct rte_ether_addr *perm_addr = in txgbevf_remove_mac_addr() local 1047 (struct rte_ether_addr *)hw->mac.perm_addr; in txgbevf_remove_mac_addr() [all …]
|
| /dpdk/drivers/net/e1000/base/ |
| H A D | e1000_82540.c | 675 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 D | e1000_82542.c | 552 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 D | e1000_vf.c | 265 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 D | e1000_vf.h | 188 u8 perm_addr[6]; member
|
| H A D | e1000_nvm.c | 1157 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 D | e1000_hw.h | 763 u8 perm_addr[ETH_ADDR_LEN]; member
|
| /dpdk/drivers/net/vmxnet3/ |
| H A D | vmxnet3_ethdev.c | 357 memcpy(hw->perm_addr, &mac_lo, 4); in eth_vmxnet3_dev_init() 358 memcpy(hw->perm_addr + 4, &mac_hi, 2); in eth_vmxnet3_dev_init() 370 rte_ether_addr_copy((struct rte_ether_addr *)hw->perm_addr, in eth_vmxnet3_dev_init() 374 hw->perm_addr[0], hw->perm_addr[1], hw->perm_addr[2], in eth_vmxnet3_dev_init() 375 hw->perm_addr[3], hw->perm_addr[4], hw->perm_addr[5]); in eth_vmxnet3_dev_init() 1430 rte_ether_addr_copy(mac_addr, (struct rte_ether_addr *)(hw->perm_addr)); in vmxnet3_mac_addr_set()
|
| H A D | vmxnet3_ethdev.h | 90 uint8_t perm_addr[RTE_ETHER_ADDR_LEN]; member
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_vf.c | 165 memcpy(hw->mac.perm_addr, addr, ETH_ADDR_LEN); in txgbe_reset_hw_vf() 417 mac_addr[i] = hw->mac.perm_addr[i]; in txgbe_get_mac_addr_vf()
|
| H A D | txgbe_type.h | 609 u8 perm_addr[ETH_ADDR_LEN]; member
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_vf.c | 202 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 D | ixgbe_x540.c | 236 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_X540()
|
| H A D | ixgbe_82598.c | 895 hw->mac.ops.get_mac_addr(hw, hw->mac.perm_addr); in ixgbe_reset_hw_82598()
|
| /dpdk/drivers/net/enetc/base/ |
| H A D | enetc_hw.h | 225 uint8_t perm_addr[RTE_ETHER_ADDR_LEN]; member
|
| /dpdk/drivers/net/igc/base/ |
| H A D | igc_nvm.c | 1148 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 D | igc_hw.h | 786 u8 perm_addr[ETH_ADDR_LEN]; member
|
| /dpdk/drivers/net/ngbe/base/ |
| H A D | ngbe_type.h | 323 u8 perm_addr[ETH_ADDR_LEN]; member
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 1559 struct rte_ether_addr *perm_addr = in eth_ixgbevf_dev_init() local 1560 (struct rte_ether_addr *)hw->mac.perm_addr; in eth_ixgbevf_dev_init() 1662 if (rte_is_zero_ether_addr(perm_addr)) { in eth_ixgbevf_dev_init() 1663 generate_random_mac_addr(perm_addr); in eth_ixgbevf_dev_init() 1664 diag = ixgbe_set_rar_vf(hw, 1, perm_addr->addr_bytes, 0, 1); in eth_ixgbevf_dev_init() 1673 RTE_ETHER_ADDR_BYTES(perm_addr)); in eth_ixgbevf_dev_init() 1677 rte_ether_addr_copy(perm_addr, ð_dev->data->mac_addrs[0]); in eth_ixgbevf_dev_init() 6113 if (memcmp(hw->mac.perm_addr, mac_addr, in ixgbevf_add_mac_addr() 6128 struct rte_ether_addr *perm_addr = in ixgbevf_remove_mac_addr() local 6129 (struct rte_ether_addr *)hw->mac.perm_addr; in ixgbevf_remove_mac_addr() [all …]
|
| /dpdk/drivers/common/iavf/ |
| H A D | iavf_type.h | 238 u8 perm_addr[ETH_ALEN]; member
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_ethdev.c | 915 struct rte_ether_addr *perm_addr = in eth_igbvf_dev_init() local 916 (struct rte_ether_addr *)hw->mac.perm_addr; in eth_igbvf_dev_init() 972 if (rte_is_zero_ether_addr(perm_addr)) { in eth_igbvf_dev_init() 973 rte_eth_random_addr(perm_addr->addr_bytes); in eth_igbvf_dev_init() 977 RTE_ETHER_ADDR_BYTES(perm_addr)); in eth_igbvf_dev_init() 980 diag = e1000_rar_set(hw, perm_addr->addr_bytes, 0); in eth_igbvf_dev_init() 987 rte_ether_addr_copy((struct rte_ether_addr *)hw->mac.perm_addr, in eth_igbvf_dev_init()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_type.h | 705 u8 perm_addr[ETH_ALEN]; member
|