Home
last modified time | relevance | path

Searched refs:num_sbs (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h33 u8 num_sbs; member
202 u8 num_sbs; member
Dbnx2x_vfpf.c247 req->resc_request.num_sbs = bp->igu_sb_cnt; in bnx2x_vfpf_acquire()
309 req->resc_request.num_sbs = in bnx2x_vfpf_acquire()
310 min(req->resc_request.num_sbs, in bnx2x_vfpf_acquire()
311 bp->acquire_resp.resc.num_sbs); in bnx2x_vfpf_acquire()
379 bp->igu_sb_cnt = bp->acquire_resp.resc.num_sbs; in bnx2x_vfpf_acquire()
1285 resc->num_sbs = vf_sb_count(vf); in bnx2x_vf_mbx_acquire_resp()
1321 resc->num_sbs, in bnx2x_vf_mbx_acquire_resp()
1408 acquire->resc_request.num_sbs, acquire->resc_request.num_mac_filters, in bnx2x_vf_mbx_acquire()
Dbnx2x_sriov.h167 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs)
Dbnx2x_sriov.c850 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc()
2014 (req_resc->num_sbs <= vf_sb_count(vf)) && in bnx2x_vf_chk_avail_resc()
2067 vf_sb_count(vf) = resc->num_sbs; in bnx2x_vf_acquire()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c287 for (i = 0; i < p_vf->num_sbs; i++) in qed_iov_validate_sb()
294 p_vf->abs_vf_id, sb_idx, p_vf->num_sbs); in qed_iov_validate_sb()
746 for (i = 0; i < vf->num_sbs; i++) in qed_iov_vf_igu_reset()
775 struct qed_ptt *p_ptt, u8 abs_vf_id, u8 num_sbs) in qed_iov_enable_vf_access_msix() argument
791 current_max = max_t(u8, current_max, p_vf->num_sbs); in qed_iov_enable_vf_access_msix()
795 if (num_sbs > current_max) in qed_iov_enable_vf_access_msix()
797 abs_vf_id, num_sbs); in qed_iov_enable_vf_access_msix()
827 vf->abs_vf_id, vf->num_sbs); in qed_iov_enable_vf_access()
927 vf->num_sbs = (u8) num_rx_queues; in qed_iov_alloc_vf_igu_sbs()
929 return vf->num_sbs; in qed_iov_alloc_vf_igu_sbs()
[all …]
Dqed_vf.c239 p_req->num_sbs, in qed_vf_pf_acquire_reduce_resc()
240 p_resp->num_sbs, in qed_vf_pf_acquire_reduce_resc()
251 p_req->num_sbs = p_resp->num_sbs; in qed_vf_pf_acquire_reduce_resc()
278 p_resc->num_sbs = QED_MAX_VF_CHAINS_PER_PF; in qed_vf_pf_acquire()
964 for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) { in qed_vf_pf_vport_start()
Dqed_sriov.h223 u8 num_sbs; member
Dqed_vf.h45 u8 num_sbs; member
236 u8 num_sbs; member