Searched refs:pfvfspoof (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_sriov.c | 268 u32 pfvfspoof; in wx_set_vlan_anti_spoofing() local 270 pfvfspoof = rd32(wx, WX_TDM_VLAN_AS(index)); in wx_set_vlan_anti_spoofing() 272 pfvfspoof |= BIT(vf_bit); in wx_set_vlan_anti_spoofing() 274 pfvfspoof &= ~BIT(vf_bit); in wx_set_vlan_anti_spoofing() 275 wr32(wx, WX_TDM_VLAN_AS(index), pfvfspoof); in wx_set_vlan_anti_spoofing()
|
| H A D | wx_hw.c | 1451 u32 pfvfspoof, reg_offset, vf_shift; in wx_set_ethertype_anti_spoofing() local 1456 pfvfspoof = rd32(wx, WX_TDM_ETYPE_AS(reg_offset)); in wx_set_ethertype_anti_spoofing() 1458 pfvfspoof |= BIT(vf_shift); in wx_set_ethertype_anti_spoofing() 1460 pfvfspoof &= ~BIT(vf_shift); in wx_set_ethertype_anti_spoofing() 1461 wr32(wx, WX_TDM_ETYPE_AS(reg_offset), pfvfspoof); in wx_set_ethertype_anti_spoofing()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_common.c | 3470 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local 3475 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing() 3477 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing() 3479 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_mac_anti_spoofing() 3480 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing() 3494 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local 3499 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing() 3501 pfvfspoof |= BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing() 3503 pfvfspoof &= ~BIT(vf_target_shift); in ixgbe_set_vlan_anti_spoofing() 3504 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
|
| H A D | ixgbe_x550.c | 3520 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()
|