Lines Matching defs:vf

166 #define vf_rxq_count(vf)		((vf)->alloc_resc.num_rxqs)  argument
167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs) argument
168 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs) argument
169 #define vf_mac_rules_cnt(vf) ((vf)->alloc_resc.num_mac_filters) argument
170 #define vf_vlan_rules_cnt(vf) ((vf)->alloc_resc.num_vlan_filters) argument
171 #define vf_mc_rules_cnt(vf) ((vf)->alloc_resc.num_mc_filters) argument
179 #define bnx2x_vfq(vf, nr, var) ((vf)->vfqs[(nr)].var) argument
180 #define bnx2x_leading_vfq(vf, var) ((vf)->vfqs[LEADING_IDX].var) argument
224 #define for_each_vfq(vf, var) \ argument
227 #define for_each_vf_sb(vf, var) \ argument
230 #define is_vf_multi(vf) (vf_rxq_count(vf) > 1) argument
341 #define BP_VF_BULLETIN(bp, vf) \ argument
346 #define bnx2x_vf_sp(bp, vf, field) ((bp)->vfdb->sp_dma.addr + \ argument
349 #define bnx2x_vf_sp_map(bp, vf, field) ((bp)->vfdb->sp_dma.mapping + \ argument
369 static inline struct bnx2x_vf_queue *vfq_get(struct bnx2x_virtf *vf, u8 index) in vfq_get()
375 static inline u8 vf_igu_sb(struct bnx2x_virtf *vf, u16 sb_idx) in vf_igu_sb()
380 static inline u8 vf_hc_qzone(struct bnx2x_virtf *vf, u16 sb_idx) in vf_hc_qzone()
385 static u8 vfq_cl_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) in vfq_cl_id()
390 static inline u8 vfq_stat_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) in vfq_stat_id()
398 static inline u8 vfq_qzone_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) in vfq_qzone_id()
624 static inline int bnx2x_set_vf_link_state(struct net_device *dev, int vf, in bnx2x_set_vf_link_state()