Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3469 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
3474 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
3476 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3478 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3479 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3493 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
3498 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
3500 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3502 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3503 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
H A Dixgbe_x550.c3520 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_x550() local
3522 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_x550()
3524 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_x550()
3526 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_x550()
3528 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_x550()