Lines Matching defs:vf

161 #define vf_rxq_count(vf)		((vf)->alloc_resc.num_rxqs)  argument
162 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs) argument
163 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs) argument
164 #define vf_mac_rules_cnt(vf) ((vf)->alloc_resc.num_mac_filters) argument
165 #define vf_vlan_rules_cnt(vf) ((vf)->alloc_resc.num_vlan_filters) argument
166 #define vf_mc_rules_cnt(vf) ((vf)->alloc_resc.num_mc_filters) argument
174 #define bnx2x_vfq(vf, nr, var) ((vf)->vfqs[(nr)].var) argument
175 #define bnx2x_leading_vfq(vf, var) ((vf)->vfqs[LEADING_IDX].var) argument
219 #define for_each_vfq(vf, var) \ argument
222 #define for_each_vf_sb(vf, var) \ argument
225 #define is_vf_multi(vf) (vf_rxq_count(vf) > 1) argument
336 #define BP_VF_BULLETIN(bp, vf) \ argument
341 #define bnx2x_vf_sp(bp, vf, field) ((bp)->vfdb->sp_dma.addr + \ argument
344 #define bnx2x_vf_sp_map(bp, vf, field) ((bp)->vfdb->sp_dma.mapping + \ argument
364 static inline struct bnx2x_vf_queue *vfq_get(struct bnx2x_virtf *vf, u8 index) in vfq_get()
370 static inline u8 vf_igu_sb(struct bnx2x_virtf *vf, u16 sb_idx) in vf_igu_sb()
375 static inline u8 vf_hc_qzone(struct bnx2x_virtf *vf, u16 sb_idx) in vf_hc_qzone()
380 static u8 vfq_cl_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) in vfq_cl_id()
385 static inline u8 vfq_stat_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) in vfq_stat_id()
393 static inline u8 vfq_qzone_id(struct bnx2x_virtf *vf, struct bnx2x_vf_queue *q) in vfq_qzone_id()
619 static inline int bnx2x_set_vf_link_state(struct net_device *dev, int vf, in bnx2x_set_vf_link_state()