Home
last modified time | relevance | path

Searched refs:pfvfspoof (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1355 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local
1357 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()
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()
1363 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()
Dixgbe_common.c3315 u32 pfvfspoof = 0; in ixgbe_set_mac_anti_spoofing() local
3321 pfvfspoof = IXGBE_SPOOF_MACAS_MASK; in ixgbe_set_mac_anti_spoofing()
3328 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3334 pfvfspoof &= (1 << pf_target_shift) - 1; in ixgbe_set_mac_anti_spoofing()
3335 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3356 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
3361 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
3363 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3365 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3366 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()