Searched refs:pfvfspoof (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_common.c | 4240 u32 pfvfspoof = 0; in ixgbe_set_mac_anti_spoofing() local 4246 pfvfspoof = IXGBE_SPOOF_MACAS_MASK; in ixgbe_set_mac_anti_spoofing() 4253 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); in ixgbe_set_mac_anti_spoofing() 4259 pfvfspoof &= (1 << pf_target_shift) - 1; in ixgbe_set_mac_anti_spoofing() 4260 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(j), pfvfspoof); in ixgbe_set_mac_anti_spoofing() 4281 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local 4286 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing() 4288 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing() 4290 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing() 4291 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
|
H A D | ixgbe_x550.c | 757 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local 761 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550() 763 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550() 765 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550() 767 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()
|