Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3449 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
3454 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
3456 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3458 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing()
3459 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
3473 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
3478 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
3480 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3482 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
3483 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
H A Dixgbe_x550.c3516 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local
3518 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()
3520 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3522 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
3524 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()