Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3465 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
3470 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
3472 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3474 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3475 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3489 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
3494 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
3496 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3498 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3499 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
Dixgbe_x550.c3566 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local
3568 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()
3570 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3572 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3574 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()