Home
last modified time | relevance | path

Searched refs:schq_contig (Results 1 – 5 of 5) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_nix_tm.c1221 for (i = 0; i < rsp->schq_contig[lvl]; i++) in nix_tm_copy_rsp_to_nix()
1230 uint16_t schq_contig[NIX_TXSCH_LVL_CNT]; in nix_tm_alloc_txschq() local
1240 memset(schq_contig, 0, sizeof(schq_contig)); in nix_tm_alloc_txschq()
1243 rc = nix_tm_resource_estimate(nix, schq_contig, schq, tree); in nix_tm_alloc_txschq()
1251 if (schq_contig[hw_lvl]) in nix_tm_alloc_txschq()
1264 mbox_memcpy(req->schq_contig, schq_contig, in nix_tm_alloc_txschq()
1265 sizeof(req->schq_contig)); in nix_tm_alloc_txschq()
1275 if (req->schq_contig[i] > MAX_TXSCHQ_PER_FUNC) in nix_tm_alloc_txschq()
1276 req->schq_contig[i] = MAX_TXSCHQ_PER_FUNC; in nix_tm_alloc_txschq()
1277 schq_contig[i] -= req->schq_contig[i]; in nix_tm_alloc_txschq()
[all …]
H A Droc_nix_tm_utils.c920 nix_tm_resource_estimate(struct nix *nix, uint16_t *schq_contig, uint16_t *schq, in nix_tm_resource_estimate() argument
945 schq_contig[hw_lvl - 1] += contig_cnt; in nix_tm_resource_estimate()
971 if (schq_contig[hw_lvl] <= avail) in nix_tm_resource_estimate()
972 schq_contig[hw_lvl] = 0; in nix_tm_resource_estimate()
975 cnt += schq_contig[hw_lvl]; in nix_tm_resource_estimate()
979 schq_contig[hw_lvl]); in nix_tm_resource_estimate()
H A Droc_nix_priv.h433 uint16_t nix_tm_resource_estimate(struct nix *nix, uint16_t *schq_contig,
H A Droc_mbox.h913 uint16_t __io schq_contig[NIX_TXSCH_LVL_CNT]; /* Contig. queues */ member
920 uint16_t __io schq_contig[NIX_TXSCH_LVL_CNT]; /* Contig. queues */ member
H A Droc_nix_tm_ops.c720 req->schq_contig[hw_lvl] = contig - nix->contig_rsvd[hw_lvl]; in roc_nix_tm_prealloc_res()