Lines Matching defs:vf
1246 * @vf: Virtual Function pool - VF Pool to set for Ethertype anti-spoofing
1250 bool enable, int vf)
1252 int vf_target_reg = vf >> 3;
1253 int vf_target_shift = vf % 8 + IXGBE_SPOOF_ETHERTYPEAS_SHIFT;
1576 * @vf: vf index
1578 * Restore VF that was disabled during malicious driver detection event
1580 void ixgbe_restore_mdd_vf_X550(struct ixgbe_hw *hw, u32 vf)
1586 /* Map VF to queues */
1603 start_q = vf * num_qs;
1605 /* Release vf's queues by clearing WQBR_TX and WQBR_RX (RW1C) */
1616 * @vf_bitmap: vf bitmap of malicious vfs
1623 u32 i, j, reg, q, shift, vf, idx;
1627 /* figure out pool size for mapping to vf's */
1659 /* Map queue to vf */
1660 vf = (q >> shift);
1662 /* Set vf bit in vf_bitmap */
1663 idx = vf / 32;
1664 vf_bitmap[idx] |= (1 << (vf % 32));