Home
last modified time | relevance | path

Searched refs:pfvfspoof (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/net/ngbe/base/
H A Dngbe_hw.c1595 u32 pfvfspoof; in ngbe_set_mac_anti_spoofing() local
1597 pfvfspoof = rd32(hw, NGBE_POOLTXASMAC); in ngbe_set_mac_anti_spoofing()
1599 pfvfspoof |= (1 << vf); in ngbe_set_mac_anti_spoofing()
1601 pfvfspoof &= ~(1 << vf); in ngbe_set_mac_anti_spoofing()
1602 wr32(hw, NGBE_POOLTXASMAC, pfvfspoof); in ngbe_set_mac_anti_spoofing()
1638 u32 pfvfspoof; in ngbe_set_vlan_anti_spoofing() local
1640 pfvfspoof = rd32(hw, NGBE_POOLTXASVLAN); in ngbe_set_vlan_anti_spoofing()
1642 pfvfspoof |= (1 << vf); in ngbe_set_vlan_anti_spoofing()
1644 pfvfspoof &= ~(1 << vf); in ngbe_set_vlan_anti_spoofing()
1645 wr32(hw, NGBE_POOLTXASVLAN, pfvfspoof); in ngbe_set_vlan_anti_spoofing()
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c1953 u32 pfvfspoof; in txgbe_set_mac_anti_spoofing() local
1955 pfvfspoof = rd32(hw, TXGBE_POOLTXASMAC(vf_target_reg)); in txgbe_set_mac_anti_spoofing()
1957 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
1959 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
1960 wr32(hw, TXGBE_POOLTXASMAC(vf_target_reg), pfvfspoof); in txgbe_set_mac_anti_spoofing()
1975 u32 pfvfspoof; in txgbe_set_ethertype_anti_spoofing() local
1977 pfvfspoof = rd32(hw, TXGBE_POOLTXASET(vf_target_reg)); in txgbe_set_ethertype_anti_spoofing()
1979 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
1981 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
1982 wr32(hw, TXGBE_POOLTXASET(vf_target_reg), pfvfspoof); in txgbe_set_ethertype_anti_spoofing()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_common.c4350 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
4355 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
4357 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()
4359 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()
4360 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
4374 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
4379 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
4381 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
4383 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
4384 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
H A Dixgbe_x550.c1048 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local
1052 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()
1054 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
1056 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
1058 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()