Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2071 u32 pfvfspoof; in txgbe_set_mac_anti_spoofing() local
2073 pfvfspoof = rd32(hw, TXGBE_POOLTXASMAC(vf_target_reg)); in txgbe_set_mac_anti_spoofing()
2075 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
2077 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
2078 wr32(hw, TXGBE_POOLTXASMAC(vf_target_reg), pfvfspoof); in txgbe_set_mac_anti_spoofing()
2093 u32 pfvfspoof; in txgbe_set_ethertype_anti_spoofing() local
2095 pfvfspoof = rd32(hw, TXGBE_POOLTXASET(vf_target_reg)); in txgbe_set_ethertype_anti_spoofing()
2097 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
2099 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
2100 wr32(hw, TXGBE_POOLTXASET(vf_target_reg), pfvfspoof); in txgbe_set_ethertype_anti_spoofing()
/f-stack/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()