Searched refs:num_sbs (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 263 for (i = 0; i < p_vf->num_sbs; i++) in qed_iov_validate_sb() 270 p_vf->abs_vf_id, sb_idx, p_vf->num_sbs); in qed_iov_validate_sb() 725 for (i = 0; i < vf->num_sbs; i++) in qed_iov_vf_igu_reset() 754 struct qed_ptt *p_ptt, u8 abs_vf_id, u8 num_sbs) in qed_iov_enable_vf_access_msix() argument 770 current_max = max_t(u8, current_max, p_vf->num_sbs); in qed_iov_enable_vf_access_msix() 774 if (num_sbs > current_max) in qed_iov_enable_vf_access_msix() 776 abs_vf_id, num_sbs); in qed_iov_enable_vf_access_msix() 806 vf->abs_vf_id, vf->num_sbs); in qed_iov_enable_vf_access() 907 vf->num_sbs = (u8) num_rx_queues; in qed_iov_alloc_vf_igu_sbs() 909 return vf->num_sbs; in qed_iov_alloc_vf_igu_sbs() [all …]
|
D | qed_vf.c | 226 p_req->num_sbs, in qed_vf_pf_acquire_reduce_resc() 227 p_resp->num_sbs, in qed_vf_pf_acquire_reduce_resc() 238 p_req->num_sbs = p_resp->num_sbs; in qed_vf_pf_acquire_reduce_resc() 265 p_resc->num_sbs = QED_MAX_VF_CHAINS_PER_PF; in qed_vf_pf_acquire() 958 for (i = 0; i < p_hwfn->vf_iov_info->acquire_resp.resc.num_sbs; i++) { in qed_vf_pf_vport_start()
|
D | qed_sriov.h | 198 u8 num_sbs; member
|
D | qed_vf.h | 18 u8 num_sbs; member 209 u8 num_sbs; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.h | 33 u8 num_sbs; member 202 u8 num_sbs; member
|
D | bnx2x_vfpf.c | 247 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()
|
D | bnx2x_sriov.h | 168 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs)
|
D | bnx2x_sriov.c | 842 resc->num_sbs = vf->sb_count; in bnx2x_iov_static_resc() 2008 (req_resc->num_sbs <= vf_sb_count(vf)) && in bnx2x_vf_chk_avail_resc() 2061 vf_sb_count(vf) = resc->num_sbs; in bnx2x_vf_acquire()
|