Searched refs:vf_target_shift (Results 1 – 3 of 3) sorted by relevance
2070 int vf_target_shift = vf % 8; in txgbe_set_mac_anti_spoofing() local2075 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()2077 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()2092 int vf_target_shift = vf % 8; in txgbe_set_ethertype_anti_spoofing() local2097 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()2099 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
4349 int vf_target_shift = vf % 8; in ixgbe_set_mac_anti_spoofing() local4357 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()4359 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()4373 int vf_target_shift = vf % 8 + IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_set_vlan_anti_spoofing() local4381 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()4383 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
1047 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT; in ixgbe_set_ethertype_anti_spoofing_X550() local1054 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()