Searched refs:pfvfspoof (Results 1 – 2 of 2) sorted by relevance
4473 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local4478 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()4480 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()4482 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()4483 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()4497 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local4502 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()4504 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()4506 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()4507 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
1076 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local1080 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()1082 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()1084 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()1086 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()