Searched refs:vf_target_shift (Results 1 – 3 of 3) sorted by relevance
1447 int vf_target_shift = vf % 8; in ixgbe_ndo_set_vf_spoofchk() local1457 regval &= ~(1 << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()1458 regval |= (setting << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()1462 vf_target_shift += IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_ndo_set_vf_spoofchk()1464 regval &= ~(1 << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()1465 regval |= (setting << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()
2236 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT; in ixgbe_set_ethertype_anti_spoofing_X550() local2241 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()2243 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3366 int vf_target_shift = vf % 8 + IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_set_vlan_anti_spoofing() local3374 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()3376 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()