Lines Matching refs:resc
816 struct vf_pf_resc_request *resc = &vf->alloc_resc; in bnx2x_iov_static_resc() local
819 resc->num_rxqs = 0; in bnx2x_iov_static_resc()
820 resc->num_txqs = 0; in bnx2x_iov_static_resc()
822 resc->num_mac_filters = VF_MAC_CREDIT_CNT; in bnx2x_iov_static_resc()
823 resc->num_vlan_filters = VF_VLAN_CREDIT_CNT; in bnx2x_iov_static_resc()
826 resc->num_mc_filters = 0; in bnx2x_iov_static_resc()
829 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc()
2000 struct vf_pf_resc_request *resc) in bnx2x_vf_acquire() argument
2019 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire()
2038 if (!bnx2x_vf_chk_avail_resc(bp, vf, resc)) { in bnx2x_vf_acquire()
2046 vf_sb_count(vf) = resc->num_sbs; in bnx2x_vf_acquire()
2047 vf_rxq_count(vf) = resc->num_rxqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()
2048 vf_txq_count(vf) = resc->num_txqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()