Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3437 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
3442 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
3444 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3446 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3447 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3461 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
3466 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
3468 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3470 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3471 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
Dixgbe_x550.c3521 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local
3523 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()
3525 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3527 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3529 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()