Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c1374 int vf_target_shift = vf % 8; in ixgbe_ndo_set_vf_spoofchk() local
1384 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()
Dixgbe_x550.c1354 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT; in ixgbe_set_ethertype_anti_spoofing_X550() local
1359 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()
Dixgbe_common.c3355 int vf_target_shift = vf % 8 + IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_set_vlan_anti_spoofing() local
3363 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3365 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()