Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3450 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
3455 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
3457 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3459 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3460 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3474 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
3479 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
3481 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3483 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3484 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()