Searched refs:pfvfspoof (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3326 u32 pfvfspoof = 0; in ixgbe_set_mac_anti_spoofing() local 3332 pfvfspoof = IXGBE_SPOOF_MACAS_MASK; in ixgbe_set_mac_anti_spoofing() 3339 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); in ixgbe_set_mac_anti_spoofing() 3345 pfvfspoof &= (1 << pf_target_shift) - 1; in ixgbe_set_mac_anti_spoofing() 3346 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); in ixgbe_set_mac_anti_spoofing() 3367 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local 3372 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing() 3374 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing() 3376 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing() 3377 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
|
D | ixgbe_x550.c | 2237 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local 2239 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550() 2241 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550() 2243 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550() 2245 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()
|