Searched refs:vf_target_shift (Results 1 – 3 of 3) sorted by relevance
1952 int vf_target_shift = vf % 8; in txgbe_set_mac_anti_spoofing() local1957 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()1959 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()1974 int vf_target_shift = vf % 8; in txgbe_set_ethertype_anti_spoofing() local1979 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()1981 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()