Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.c4391 u32 pfvfspoof; in ixgbe_set_mac_anti_spoofing() local
4396 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_mac_anti_spoofing()
4398 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()
4400 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()
4401 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_mac_anti_spoofing()
4415 u32 pfvfspoof; in ixgbe_set_vlan_anti_spoofing() local
4420 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_vlan_anti_spoofing()
4422 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
4424 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
4425 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_vlan_anti_spoofing()
H A Dixgbe_x550.c1079 u32 pfvfspoof; in ixgbe_set_ethertype_anti_spoofing_X550() local
1083 pfvfspoof = IXGBE_READ_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg)); in ixgbe_set_ethertype_anti_spoofing_X550()
1085 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
1087 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
1089 IXGBE_WRITE_REG(hw, IXGBE_PFVFSPOOF(vf_target_reg), pfvfspoof); in ixgbe_set_ethertype_anti_spoofing_X550()