Home
last modified time | relevance | path

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

/f-stack/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()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c428 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in txgbe_vf_reset() local
439 rte_memcpy(new_mac, vf_mac, RTE_ETHER_ADDR_LEN); in txgbe_vf_reset()
457 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in txgbe_vf_set_mac_addr() local
458 struct rte_ether_addr *ea = (struct rte_ether_addr *)new_mac; in txgbe_vf_set_mac_addr()
461 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, 6); in txgbe_vf_set_mac_addr()
462 return hw->mac.set_rar(hw, rar_entry, new_mac, vf, true); in txgbe_vf_set_mac_addr()
738 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in txgbe_set_vf_macvlan_msg() local
739 struct rte_ether_addr *ea = (struct rte_ether_addr *)new_mac; in txgbe_set_vf_macvlan_msg()
752 new_mac, vf, true); in txgbe_set_vf_macvlan_msg()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c445 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ixgbe_vf_reset() local
456 rte_memcpy(new_mac, vf_mac, RTE_ETHER_ADDR_LEN); in ixgbe_vf_reset()
474 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ixgbe_vf_set_mac_addr() local
477 (struct rte_ether_addr *)new_mac)) { in ixgbe_vf_set_mac_addr()
478 rte_memcpy(vfinfo[vf].vf_mac_addresses, new_mac, 6); in ixgbe_vf_set_mac_addr()
479 return hw->mac.ops.set_rar(hw, rar_entry, new_mac, vf, IXGBE_RAH_AV); in ixgbe_vf_set_mac_addr()
783 uint8_t *new_mac = (uint8_t *)(&msgbuf[1]); in ixgbe_set_vf_macvlan_msg() local
789 (struct rte_ether_addr *)new_mac)) { in ixgbe_set_vf_macvlan_msg()
797 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()
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h356 u8 new_mac[ETH_ALEN]; member
837 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()