Searched refs:vf_target_shift (Results 1 – 3 of 3) sorted by relevance
1374 int vf_target_shift = vf % 8; in ixgbe_ndo_set_vf_spoofchk() local1384 regval &= ~(1 << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()1385 regval |= (setting << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()1389 vf_target_shift += IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_ndo_set_vf_spoofchk()1391 regval &= ~(1 << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()1392 regval |= (setting << vf_target_shift); in ixgbe_ndo_set_vf_spoofchk()
1354 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT; in ixgbe_set_ethertype_anti_spoofing_X550() local1359 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()1361 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3355 int vf_target_shift = vf % 8 + IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_set_vlan_anti_spoofing() local3363 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()3365 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()