Home
last modified time | relevance | path

Searched refs:new_mac (Results 1 – 7 of 7) sorted by relevance

/dpdk/drivers/net/e1000/
H A Digb_pf.c281 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in igb_vf_reset() local
293 rte_memcpy(new_mac, vf_mac, RTE_ETHER_ADDR_LEN); in igb_vf_reset()
306 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in igb_vf_set_mac_addr() local
309 if (rte_is_unicast_ether_addr((struct rte_ether_addr *)new_mac)) { in igb_vf_set_mac_addr()
310 if (!rte_is_zero_ether_addr((struct rte_ether_addr *)new_mac)) in igb_vf_set_mac_addr()
311 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, in igb_vf_set_mac_addr()
313 hw->mac.ops.rar_set(hw, new_mac, rar_entry); in igb_vf_set_mac_addr()
/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c339 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ngbe_vf_reset() local
350 rte_memcpy(new_mac, vf_mac, RTE_ETHER_ADDR_LEN); in ngbe_vf_reset()
368 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ngbe_vf_set_mac_addr() local
369 struct rte_ether_addr *ea = (struct rte_ether_addr *)new_mac; in ngbe_vf_set_mac_addr()
372 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, 6); in ngbe_vf_set_mac_addr()
373 return hw->mac.set_rar(hw, rar_entry, new_mac, vf, true); in ngbe_vf_set_mac_addr()
597 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ngbe_set_vf_macvlan_msg() local
598 struct rte_ether_addr *ea = (struct rte_ether_addr *)new_mac; in ngbe_set_vf_macvlan_msg()
611 new_mac, vf, true); in ngbe_set_vf_macvlan_msg()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c427 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in txgbe_vf_reset() local
438 rte_memcpy(new_mac, vf_mac, RTE_ETHER_ADDR_LEN); in txgbe_vf_reset()
456 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in txgbe_vf_set_mac_addr() local
457 struct rte_ether_addr *ea = (struct rte_ether_addr *)new_mac; in txgbe_vf_set_mac_addr()
460 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, 6); in txgbe_vf_set_mac_addr()
461 return hw->mac.set_rar(hw, rar_entry, new_mac, vf, true); in txgbe_vf_set_mac_addr()
737 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in txgbe_set_vf_macvlan_msg() local
738 struct rte_ether_addr *ea = (struct rte_ether_addr *)new_mac; in txgbe_set_vf_macvlan_msg()
751 new_mac, vf, true); in txgbe_set_vf_macvlan_msg()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c442 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ixgbe_vf_reset() local
453 rte_memcpy(new_mac, vf_mac, RTE_ETHER_ADDR_LEN); in ixgbe_vf_reset()
471 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ixgbe_vf_set_mac_addr() local
474 (struct rte_ether_addr *)new_mac)) { in ixgbe_vf_set_mac_addr()
475 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, 6); in ixgbe_vf_set_mac_addr()
476 return hw->mac.ops.set_rar(hw, rar_entry, new_mac, vf, IXGBE_RAH_AV); in ixgbe_vf_set_mac_addr()
800 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ixgbe_set_vf_macvlan_msg() local
806 (struct rte_ether_addr *)new_mac)) { in ixgbe_set_vf_macvlan_msg()
814 new_mac, vf, IXGBE_RAH_AV); in ixgbe_set_vf_macvlan_msg()
H A Drte_pmd_ixgbe.c19 uint8_t *new_mac = (uint8_t *)(mac_addr); in rte_pmd_ixgbe_set_vf_mac_addr() local
39 (struct rte_ether_addr *)new_mac)) { in rte_pmd_ixgbe_set_vf_mac_addr()
40 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, in rte_pmd_ixgbe_set_vf_mac_addr()
42 return hw->mac.ops.set_rar(hw, rar_entry, new_mac, vf, in rte_pmd_ixgbe_set_vf_mac_addr()
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h347 u8 new_mac[ETH_ALEN]; member
828 int hinic_update_mac(void *hwdev, u8 *old_mac, u8 *new_mac, u16 vlan_id,
H A Dhinic_pmd_niccfg.c270 int hinic_update_mac(void *hwdev, u8 *old_mac, u8 *new_mac, u16 vlan_id, in hinic_update_mac() argument
277 if (!hwdev || !old_mac || !new_mac) { in hinic_update_mac()
287 memcpy(mac_info.new_mac, new_mac, ETH_ALEN); in hinic_update_mac()