Home
last modified time | relevance | path

Searched refs:avail_msix (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c118 int avail_msix, idx; in bnxt_req_msix_vecs() local
133 avail_msix = bnxt_get_avail_msix(bp, num_msix); in bnxt_req_msix_vecs()
134 if (!avail_msix) in bnxt_req_msix_vecs()
136 if (avail_msix > num_msix) in bnxt_req_msix_vecs()
137 avail_msix = num_msix; in bnxt_req_msix_vecs()
143 idx = max_idx - avail_msix; in bnxt_req_msix_vecs()
146 edev->ulp_tbl[ulp_id].msix_requested = avail_msix; in bnxt_req_msix_vecs()
148 total_vecs = idx + avail_msix; in bnxt_req_msix_vecs()
167 avail_msix = min_t(int, resv_msix, avail_msix); in bnxt_req_msix_vecs()
168 edev->ulp_tbl[ulp_id].msix_requested = avail_msix; in bnxt_req_msix_vecs()
[all …]
Dbnxt.c7996 int max_idx, avail_msix; in bnxt_get_avail_msix() local
8001 avail_msix = max_idx - bp->cp_nr_rings; in bnxt_get_avail_msix()
8002 if (!BNXT_NEW_RM(bp) || avail_msix >= num) in bnxt_get_avail_msix()
8003 return avail_msix; in bnxt_get_avail_msix()