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

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_x550.c2237 u32 pfvfspoof; ixgbe_set_ethertype_anti_spoofing_X550() local
2239 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); ixgbe_set_ethertype_anti_spoofing_X550()
2241 pfvfspoof |= (1 << vf_target_shift); ixgbe_set_ethertype_anti_spoofing_X550()
2243 pfvfspoof &= ~(1 << vf_target_shift); ixgbe_set_ethertype_anti_spoofing_X550()
2245 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); ixgbe_set_ethertype_anti_spoofing_X550()
H A Dixgbe_common.c3326 u32 pfvfspoof = 0; ixgbe_set_mac_anti_spoofing() local
3332 pfvfspoof = IXGBE_SPOOF_MACAS_MASK; ixgbe_set_mac_anti_spoofing()
3339 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); ixgbe_set_mac_anti_spoofing()
3345 pfvfspoof &= (1 << pf_target_shift) - 1; ixgbe_set_mac_anti_spoofing()
3346 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); ixgbe_set_mac_anti_spoofing()
3367 u32 pfvfspoof; ixgbe_set_vlan_anti_spoofing() local
3372 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); ixgbe_set_vlan_anti_spoofing()
3374 pfvfspoof |= (1 << vf_target_shift); ixgbe_set_vlan_anti_spoofing()
3376 pfvfspoof &= ~(1 << vf_target_shift); ixgbe_set_vlan_anti_spoofing()
3377 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); ixgbe_set_vlan_anti_spoofing()

Completed in 289 milliseconds