| /dpdk/drivers/mempool/dpaa2/ |
| H A D | dpaa2_hw_mempool.c | 46 uint32_t bpid; in rte_hw_mbuf_create_pool() local 113 bp_list->buf_pool.bpid = dpbp_attr.bpid; in rte_hw_mbuf_create_pool() 121 bpid = dpbp_attr.bpid; in rte_hw_mbuf_create_pool() 125 rte_dpaa2_bpid_info[bpid].bp_list = bp_list; in rte_hw_mbuf_create_pool() 126 rte_dpaa2_bpid_info[bpid].bpid = bpid; in rte_hw_mbuf_create_pool() 187 uint32_t bpid, in rte_dpaa2_mbuf_release() argument 269 uint32_t bpid = bp_info->bpid; in rte_dpaa2_bpid_info_init() local 284 rte_dpaa2_bpid_info[bpid].bpid = bpid; in rte_dpaa2_bpid_info_init() 300 return bp_info->bpid; in rte_dpaa2_mbuf_pool_bpid() 326 uint16_t bpid; in rte_dpaa2_mbuf_alloc_bulk() local [all …]
|
| H A D | dpaa2_hw_mempool.h | 24 uint16_t bpid; member 31 uint16_t bpid; /**< Pool ID, from pool configuration */ member 53 uint32_t bpid; member 58 #define mempool_to_bpid(mp) ((mempool_to_bpinfo(mp))->bpid)
|
| /dpdk/drivers/mempool/dpaa/ |
| H A D | dpaa_mempool.c | 48 uint8_t bpid; in dpaa_mbuf_create_pool() local 70 bpid = bman_get_params(bp)->bpid; in dpaa_mbuf_create_pool() 86 num_bufs, bpid); in dpaa_mbuf_create_pool() 98 rte_dpaa_bpid_info[bpid].mp = mp; in dpaa_mbuf_create_pool() 99 rte_dpaa_bpid_info[bpid].bpid = bpid; in dpaa_mbuf_create_pool() 135 bp_info->bpid); in dpaa_mbuf_free_pool() 149 addr, bp_info->bpid); in dpaa_buf_free() 171 n, bp_info->bpid); in dpaa_mbuf_free_bulk() 200 n, bp_info->bpid); in dpaa_mbuf_free_bulk() 220 count, bp_info->bpid); in dpaa_mbuf_alloc_bulk() [all …]
|
| H A D | dpaa_mempool.h | 37 uint32_t bpid; member 55 (((struct dpaa_bp_info *)__mp->pool_data)->bpid)
|
| /dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | bman.c | 59 u8 bpid = 0; in bman_create_portal() local 82 while (bpid < bman_pool_max) { in bman_create_portal() 87 bm_isr_bscn_mask(p, bpid, 0); in bman_create_portal() 88 bpid++; in bman_create_portal() 186 u32 bpid; in bman_new_pool() local 196 bpid = params->bpid; in bman_new_pool() 213 pool->params.bpid = bpid; in bman_new_pool() 221 bman_release_bpid(bpid); in bman_new_pool() 308 mcc->acquire.bpid = pool->params.bpid; in bman_acquire() 350 u32 bpid; in bman_update_pool_thresholds() local [all …]
|
| H A D | bman_driver.c | 237 u32 bm_pool_free_buffers(u32 bpid) in bm_pool_free_buffers() argument 266 if (bpid >= bman_pool_max) in bm_pool_set() 268 out_be32(bman_ccsr_map + POOL_SWDET(bpid), in bm_pool_set() 270 out_be32(bman_ccsr_map + POOL_SWDXT(bpid), in bm_pool_set() 272 out_be32(bman_ccsr_map + POOL_HWDET(bpid), in bm_pool_set() 274 out_be32(bman_ccsr_map + POOL_HWDXT(bpid), in bm_pool_set() 286 if (bpid >= bman_pool_max) in bm_pool_set_hw_threshold() 289 out_be32(bman_ccsr_map + POOL_HWDET(bpid), in bm_pool_set_hw_threshold() 291 out_be32(bman_ccsr_map + POOL_HWDXT(bpid), in bm_pool_set_hw_threshold() 294 out_be32(bman_ccsr_map + POOL_HWDET(bpid), in bm_pool_set_hw_threshold() [all …]
|
| H A D | bman.h | 480 #define SCN_REG(bpid) BM_REG_SCN((bpid) / 32) argument 481 #define SCN_BIT(bpid) (0x80000000 >> (bpid & 31)) argument 482 static inline void bm_isr_bscn_mask(struct bm_portal *portal, u8 bpid, in bm_isr_bscn_mask() argument 487 DPAA_ASSERT(bpid < bman_pool_max); in bm_isr_bscn_mask() 489 val = __bm_in(&portal->addr, SCN_REG(bpid)); in bm_isr_bscn_mask() 491 val |= SCN_BIT(bpid); in bm_isr_bscn_mask() 493 val &= ~SCN_BIT(bpid); in bm_isr_bscn_mask() 494 __bm_out(&portal->addr, SCN_REG(bpid), val); in bm_isr_bscn_mask() 517 static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid) in bm_shutdown_pool() argument 528 bm_cmd->acquire.bpid = bpid; in bm_shutdown_pool()
|
| H A D | dpaa_alloc.c | 18 void bman_release_bpid_range(u32 bpid, u32 count) in bman_release_bpid_range() argument 20 process_release(dpaa_id_bpid, bpid, count); in bman_release_bpid_range() 23 int bman_reserve_bpid_range(u32 bpid, u32 count) in bman_reserve_bpid_range() argument 25 return process_reserve(dpaa_id_bpid, bpid, count); in bman_reserve_bpid_range()
|
| H A D | bman_priv.h | 87 int bm_pool_set(u32 bpid, const u32 *thresholds); 90 u32 bm_pool_free_buffers(u32 bpid);
|
| /dpdk/drivers/bus/dpaa/include/ |
| H A D | fsl_bman.h | 47 u8 bpid; member 53 u8 bpid; 91 u8 bpid; /* used with BM_RCR_VERB_CMD_BPID_SINGLE */ member 106 u8 bpid; member 146 u8 bpid; member 174 u32 bpid; member 242 static inline void bman_release_bpid(u32 bpid) in bman_release_bpid() argument 244 bman_release_bpid_range(bpid, 1); in bman_release_bpid() 248 static inline int bman_reserve_bpid(u32 bpid) in bman_reserve_bpid() argument 250 return bman_reserve_bpid_range(bpid, 1); in bman_reserve_bpid() [all …]
|
| H A D | fsl_fman.h | 91 void fman_if_set_bp(struct fman_if *fm_if, unsigned int num, int bpid, 101 u32 high_water, u32 low_water, u32 bpid);
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_fc.c | 60 nix->bpid[i] = rsp->chan_bpid[i] & 0x1FF; in nix_fc_rxchan_bpid_set() 167 aq->cq.bpid = nix->bpid[fc_cfg->cq_cfg.tc]; in nix_fc_cq_config_set() 168 aq->cq_mask.bpid = ~(aq->cq_mask.bpid); in nix_fc_cq_config_set() 187 aq->cq.bpid = nix->bpid[fc_cfg->cq_cfg.tc]; in nix_fc_cq_config_set() 188 aq->cq_mask.bpid = ~(aq->cq_mask.bpid); in nix_fc_cq_config_set() 355 uint16_t bpid; in rox_nix_fc_npa_bp_cfg() local 360 bpid = rsp->aura.nix1_bpid; in rox_nix_fc_npa_bp_cfg() 362 bpid = rsp->aura.nix0_bpid; in rox_nix_fc_npa_bp_cfg() 365 if (((nix1 != nix->is_nix1) || (bpid != nix->bpid[0])) && in rox_nix_fc_npa_bp_cfg() 397 req->aura.nix1_bpid = nix->bpid[0]; in rox_nix_fc_npa_bp_cfg() [all …]
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_rxtx.c | 1073 uint32_t bpid; in dpaa2_dev_tx_conf() local 1225 uint16_t bpid; in dpaa2_dev_tx() local 1357 bpid = priv->bp_list->buf_pool.bpid; in dpaa2_dev_tx() 1375 mp, bpid)) in dpaa2_dev_tx() 1533 uint16_t bpid; in dpaa2_dev_tx_multi_txq_ordered() local 1612 bpid = priv->bp_list->buf_pool.bpid; in dpaa2_dev_tx_multi_txq_ordered() 1620 &fd_arr[loop], bpid)) { in dpaa2_dev_tx_multi_txq_ordered() 1631 bpid)) in dpaa2_dev_tx_multi_txq_ordered() 1680 uint16_t bpid; in dpaa2_dev_tx_ordered() local 1775 bpid = priv->bp_list->buf_pool.bpid; in dpaa2_dev_tx_ordered() [all …]
|
| /dpdk/drivers/net/dpaa/ |
| H A D | dpaa_rxtx.c | 58 (_fd)->bpid = _bpid; \ 445 bp_info = DPAA_BPID_TO_POOL_INFO(fd->bpid); in dpaa_free_mbuf() 842 fd->bpid = bp_info ? bp_info->bpid : 0xff; in dpaa_eth_mbuf_to_sg_fd() 857 sg_temp->bpid = 0xff; in dpaa_eth_mbuf_to_sg_fd() 860 sg_temp->bpid = in dpaa_eth_mbuf_to_sg_fd() 865 sg_temp->bpid = 0xff; in dpaa_eth_mbuf_to_sg_fd() 874 sg_temp->bpid = 0xff; in dpaa_eth_mbuf_to_sg_fd() 876 sg_temp->bpid = DPAA_MEMPOOL_TO_BPID(mi->pool); in dpaa_eth_mbuf_to_sg_fd() 918 bp_info ? bp_info->bpid : 0xff); in tx_on_dpaa_pool_unsegmented() 938 bp_info ? bp_info->bpid : 0xff); in tx_on_dpaa_pool_unsegmented() [all …]
|
| H A D | dpaa_flow.h | 14 bool fmc_mode, uint8_t vsp_id, uint32_t bpid, struct fman_if *fif);
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 123 if (likely(bpid < MAX_BPID)) { in build_proto_compound_sg_fd() 124 DPAA2_SET_FD_BPID(fd, bpid); in build_proto_compound_sg_fd() 236 if (likely(bpid < MAX_BPID)) { in build_proto_compound_fd() 237 DPAA2_SET_FD_BPID(fd, bpid); in build_proto_compound_fd() 293 if (likely(bpid < MAX_BPID)) in build_proto_fd() 294 DPAA2_SET_FD_BPID(fd, bpid); in build_proto_fd() 498 DPAA2_SET_FD_BPID(fd, bpid); in build_authenc_gcm_fd() 790 DPAA2_SET_FD_BPID(fd, bpid); in build_authenc_fd() 895 __rte_unused uint16_t bpid) in build_auth_sg_fd() argument 1472 uint16_t bpid; in dpaa2_sec_enqueue_burst() local [all …]
|
| /dpdk/drivers/bus/fslmc/portal/ |
| H A D | dpaa2_hw_pvt.h | 231 uint32_t bpid:14; /* Frame buffer pool ID */ member 272 #define DPAA2_SET_FD_BPID(fd, bpid) ((fd)->simple.bpid_offset |= bpid) argument 273 #define DPAA2_SET_ONLY_FD_BPID(fd, bpid) \ argument 274 ((fd)->simple.bpid_offset = bpid) 313 #define DPAA2_SET_FLE_BPID(fle, bpid) ((fle)->fin_bpid_offset |= (size_t)bpid) argument
|
| /dpdk/drivers/bus/fslmc/qbman/ |
| H A D | qbman_debug.c | 23 uint16_t bpid; member 36 int qbman_bp_query(struct qbman_swp *s, uint32_t bpid, in qbman_bp_query() argument 47 p->bpid = bpid; in qbman_bp_query() 54 bpid); in qbman_bp_query() 63 pr_err("Query of BPID 0x%x failed, code=0x%02x\n", bpid, in qbman_bp_query()
|
| H A D | qbman_portal.c | 2490 d->br.bpid = bpid; in qbman_release_desc_set_bpid() 2620 uint16_t bpid; member 2634 static int qbman_swp_acquire_direct(struct qbman_swp *s, uint16_t bpid, in qbman_swp_acquire_direct() argument 2650 p->bpid = bpid; in qbman_swp_acquire_direct() 2657 bpid); in qbman_swp_acquire_direct() 2667 bpid, r->rslt); in qbman_swp_acquire_direct() 2695 p->bpid = bpid; in qbman_swp_acquire_cinh_direct() 2702 bpid); in qbman_swp_acquire_cinh_direct() 2712 bpid, r->rslt); in qbman_swp_acquire_cinh_direct() 2728 return qbman_swp_acquire_direct(s, bpid, buffers, num_buffers); in qbman_swp_acquire() [all …]
|
| /dpdk/drivers/bus/fslmc/mc/ |
| H A D | dpbp.c | 281 attr->bpid = le16_to_cpu(rsp_params->bpid); in dpbp_get_attributes()
|
| H A D | fsl_dpbp.h | 76 uint16_t bpid; member
|
| H A D | fsl_dpbp_cmd.h | 64 uint16_t bpid; member
|
| /dpdk/drivers/bus/dpaa/base/fman/ |
| H A D | fman_hw.c | 367 int bpid, size_t bufsize) in fman_if_set_bp() argument 379 fmbm_ebmpi = ebmpi_val_ace | (fmbm_ebmpi & ebmpi_mask) | (bpid << 16) | in fman_if_set_bp() 400 u32 low_water, u32 bpid) in fman_if_set_fc_threshold() argument 409 return bm_pool_set_hw_threshold(bpid, low_water, high_water); in fman_if_set_fc_threshold()
|
| H A D | netcfg_layer.c | 64 bpool->bpid, bpool->count, bpool->size, in dump_netcfg()
|
| /dpdk/drivers/bus/fslmc/qbman/include/ |
| H A D | fsl_qbman_portal.h | 1152 uint16_t bpid; member 1172 void qbman_release_desc_set_bpid(struct qbman_release_desc *d, uint16_t bpid); 1217 int qbman_swp_acquire(struct qbman_swp *s, uint16_t bpid, uint64_t *buffers,
|