Home
last modified time | relevance | path

Searched refs:vf_target_shift (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c1952 int vf_target_shift = vf % 8; in txgbe_set_mac_anti_spoofing() local
1957 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
1959 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
1974 int vf_target_shift = vf % 8; in txgbe_set_ethertype_anti_spoofing() local
1979 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
1981 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_common.c4349 int vf_target_shift = vf % 8; in ixgbe_set_mac_anti_spoofing() local
4357 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()
4359 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_mac_anti_spoofing()
4373 int vf_target_shift = vf % 8 + IXGBE_SPOOF_VLANAS_SHIFT; in ixgbe_set_vlan_anti_spoofing() local
4381 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
4383 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_vlan_anti_spoofing()
H A Dixgbe_x550.c1047 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT; in ixgbe_set_ethertype_anti_spoofing_X550() local
1054 pfvfspoof |= (1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()
1056 pfvfspoof &= ~(1 << vf_target_shift); in ixgbe_set_ethertype_anti_spoofing_X550()