Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c125 int avail_msix, idx; in bnxt_req_msix_vecs() local
140 avail_msix = bnxt_get_avail_msix(bp, num_msix); in bnxt_req_msix_vecs()
141 if (!avail_msix) in bnxt_req_msix_vecs()
143 if (avail_msix > num_msix) in bnxt_req_msix_vecs()
144 avail_msix = num_msix; in bnxt_req_msix_vecs()
150 idx = max_idx - avail_msix; in bnxt_req_msix_vecs()
153 edev->ulp_tbl[ulp_id].msix_requested = avail_msix; in bnxt_req_msix_vecs()
155 total_vecs = idx + avail_msix; in bnxt_req_msix_vecs()
174 avail_msix = min_t(int, resv_msix, avail_msix); in bnxt_req_msix_vecs()
175 edev->ulp_tbl[ulp_id].msix_requested = avail_msix; in bnxt_req_msix_vecs()
[all …]
Dbnxt.c9088 int max_idx, avail_msix; in bnxt_get_avail_msix() local
9093 avail_msix = max_idx - bp->cp_nr_rings; in bnxt_get_avail_msix()
9094 if (!BNXT_NEW_RM(bp) || avail_msix >= num) in bnxt_get_avail_msix()
9095 return avail_msix; in bnxt_get_avail_msix()