Lines Matching refs:resc
877 struct vf_pf_resc_request *resc = &vf->alloc_resc; in bnx2x_iov_static_resc() local
881 resc->num_rxqs = 0; in bnx2x_iov_static_resc()
882 resc->num_txqs = 0; in bnx2x_iov_static_resc()
885 resc->num_mac_filters = 1; in bnx2x_iov_static_resc()
895 resc->num_mc_filters = 0; in bnx2x_iov_static_resc()
898 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc()
2045 struct vf_pf_resc_request *resc) in bnx2x_vf_acquire() argument
2064 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire()
2083 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire()
2091 vf_sb_count(vf) = resc->num_sbs; in bnx2x_vf_acquire()
2092 vf_rxq_count(vf) = resc->num_rxqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()
2093 vf_txq_count(vf) = resc->num_txqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()
2094 if (resc->num_mac_filters) in bnx2x_vf_acquire()
2095 vf_mac_rules_cnt(vf) = resc->num_mac_filters; in bnx2x_vf_acquire()
2097 bnx2x_iov_re_set_vlan_filters(bp, vf, resc->num_vlan_filters + 1); in bnx2x_vf_acquire()