Lines Matching refs:stat
6372 int cp, int stat, int vnic) in bnxt_hwrm_reserve_rings() argument
6375 return bnxt_hwrm_reserve_pf_rings(bp, tx, rx, grp, cp, stat, in bnxt_hwrm_reserve_rings()
6378 return bnxt_hwrm_reserve_vf_rings(bp, tx, rx, grp, cp, stat, in bnxt_hwrm_reserve_rings()
6442 int rx = bp->rx_nr_rings, stat; in bnxt_need_reserve_rings() local
6462 stat = bnxt_get_func_stat_ctxs(bp); in bnxt_need_reserve_rings()
6464 hw_resc->resv_vnics != vnic || hw_resc->resv_stat_ctxs != stat || in bnxt_need_reserve_rings()
6481 int vnic = 1, stat; in __bnxt_reserve_rings() local
6494 stat = bnxt_get_func_stat_ctxs(bp); in __bnxt_reserve_rings()
6496 rc = bnxt_hwrm_reserve_rings(bp, tx, rx, grp, cp, stat, vnic); in __bnxt_reserve_rings()
6506 stat = hw_resc->resv_stat_ctxs; in __bnxt_reserve_rings()
6526 if (stat > bnxt_get_ulp_stat_ctxs(bp)) in __bnxt_reserve_rings()
6527 stat -= bnxt_get_ulp_stat_ctxs(bp); in __bnxt_reserve_rings()
6528 cp = min_t(int, cp, stat); in __bnxt_reserve_rings()
6552 if (!tx || !rx || !cp || !grp || !vnic || !stat) in __bnxt_reserve_rings()