Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2070 int vf_target_shift = vf % 8; in txgbe_set_mac_anti_spoofing() local
2075 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
2077 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_mac_anti_spoofing()
2092 int vf_target_shift = vf % 8; in txgbe_set_ethertype_anti_spoofing() local
2097 pfvfspoof |= (1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
2099 pfvfspoof &= ~(1 << vf_target_shift); in txgbe_set_ethertype_anti_spoofing()
/f-stack/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()