Home
last modified time | relevance | path

Searched refs:vf_target_shift (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c1447 int vf_target_shift = vf % 8; in ixgbe_ndo_set_vf_spoofchk() local
1457 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()
Dixgbe_x550.c2236 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT; in ixgbe_set_ethertype_anti_spoofing_X550() local
2241 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()
Dixgbe_common.c3366 int vf_target_shift = vf % 8 + IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_set_vlan_anti_spoofing() local
3374 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3376 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()