| /dpdk/drivers/compress/qat/ |
| H A D | qat_comp.c | 43 qat_comp_free_split_op_memzones(struct qat_comp_op_cookie *cookie, in qat_comp_free_split_op_memzones() argument 50 rte_memzone_free(cookie->dst_memzones[i]); in qat_comp_free_split_op_memzones() 53 rte_free(cookie->dst_memzones); in qat_comp_free_split_op_memzones() 54 cookie->dst_memzones = NULL; in qat_comp_free_split_op_memzones() 58 qat_comp_allocate_split_op_memzones(struct qat_comp_op_cookie *cookie, in qat_comp_allocate_split_op_memzones() argument 61 struct qat_queue *txq = &(cookie->qp->tx_q); in qat_comp_allocate_split_op_memzones() 66 cookie->dst_memzones = rte_zmalloc_socket("qat PMD im buf mz pointers", in qat_comp_allocate_split_op_memzones() 69 RTE_CACHE_LINE_SIZE, cookie->socket_id); in qat_comp_allocate_split_op_memzones() 71 if (cookie->dst_memzones == NULL) { in qat_comp_allocate_split_op_memzones() 81 cookie->qp->qat_dev->qat_dev_id, in qat_comp_allocate_split_op_memzones() [all …]
|
| H A D | qat_comp_pmd.c | 94 struct qat_comp_op_cookie *cookie = qp->op_cookies[i]; in qat_comp_qp_release() local 96 rte_free(cookie->qat_sgl_src_d); in qat_comp_qp_release() 97 rte_free(cookie->qat_sgl_dst_d); in qat_comp_qp_release() 153 struct qat_comp_op_cookie *cookie = in qat_comp_qp_setup() local 156 cookie->qp = qp; in qat_comp_qp_setup() 157 cookie->cookie_index = i; in qat_comp_qp_setup() 159 cookie->qat_sgl_src_d = rte_zmalloc_socket(NULL, in qat_comp_qp_setup() 165 cookie->qat_sgl_dst_d = rte_zmalloc_socket(NULL, in qat_comp_qp_setup() 171 if (cookie->qat_sgl_src_d == NULL || in qat_comp_qp_setup() 172 cookie->qat_sgl_dst_d == NULL) { in qat_comp_qp_setup() [all …]
|
| /dpdk/drivers/vdpa/sfc/ |
| H A D | sfc_vdpa_mcdi.c | 13 sfc_vdpa_mcdi_dma_alloc(void *cookie, const char *name, size_t len, in sfc_vdpa_mcdi_dma_alloc() argument 16 struct sfc_vdpa_adapter *sva = cookie; in sfc_vdpa_mcdi_dma_alloc() 23 sfc_vdpa_mcdi_dma_free(void *cookie, efsys_mem_t *esmp) in sfc_vdpa_mcdi_dma_free() argument 25 struct sfc_vdpa_adapter *sva = cookie; in sfc_vdpa_mcdi_dma_free() 32 sfc_vdpa_mcdi_sched_restart(void *cookie) in sfc_vdpa_mcdi_sched_restart() argument 34 RTE_SET_USED(cookie); in sfc_vdpa_mcdi_sched_restart() 39 sfc_vdpa_mcdi_mgmt_evq_poll(void *cookie) in sfc_vdpa_mcdi_mgmt_evq_poll() argument 41 RTE_SET_USED(cookie); in sfc_vdpa_mcdi_mgmt_evq_poll()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_mcdi.c | 19 sfc_mcdi_dma_alloc(void *cookie, const char *name, size_t len, in sfc_mcdi_dma_alloc() argument 22 struct sfc_adapter *sa = cookie; in sfc_mcdi_dma_alloc() 30 sfc_mcdi_dma_free(void *cookie, efsys_mem_t *esmp) in sfc_mcdi_dma_free() argument 32 const struct sfc_adapter *sa = cookie; in sfc_mcdi_dma_free() 39 sfc_mcdi_sched_restart(void *cookie) in sfc_mcdi_sched_restart() argument 41 struct sfc_adapter *sa = cookie; in sfc_mcdi_sched_restart() 48 sfc_mcdi_mgmt_evq_poll(void *cookie) in sfc_mcdi_mgmt_evq_poll() argument 50 struct sfc_adapter *sa = cookie; in sfc_mcdi_mgmt_evq_poll()
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtqueue.h | 162 void *cookie; member 575 virtqueue_xmit_offload(struct virtio_net_hdr *hdr, struct rte_mbuf *cookie) in virtqueue_xmit_offload() argument 577 uint64_t csum_l4 = cookie->ol_flags & RTE_MBUF_F_TX_L4_MASK; in virtqueue_xmit_offload() 578 uint16_t o_l23_len = (cookie->ol_flags & RTE_MBUF_F_TX_TUNNEL_MASK) ? in virtqueue_xmit_offload() 579 cookie->outer_l2_len + cookie->outer_l3_len : 0; in virtqueue_xmit_offload() 581 if (cookie->ol_flags & RTE_MBUF_F_TX_TCP_SEG) in virtqueue_xmit_offload() 586 hdr->csum_start = o_l23_len + cookie->l2_len + cookie->l3_len; in virtqueue_xmit_offload() 592 hdr->csum_start = o_l23_len + cookie->l2_len + cookie->l3_len; in virtqueue_xmit_offload() 605 if (cookie->ol_flags & RTE_MBUF_F_TX_TCP_SEG) { in virtqueue_xmit_offload() 606 hdr->gso_type = (cookie->ol_flags & RTE_MBUF_F_TX_IPV6) ? in virtqueue_xmit_offload() [all …]
|
| H A D | virtio_rxtx_packed.h | 219 struct rte_mbuf *cookie; in virtqueue_dequeue_single_packed_vec() local 228 cookie = (struct rte_mbuf *)vq->vq_descx[id].cookie; in virtqueue_dequeue_single_packed_vec() 229 if (unlikely(cookie == NULL)) { in virtqueue_dequeue_single_packed_vec() 234 rte_prefetch0(cookie); in virtqueue_dequeue_single_packed_vec() 235 rte_packet_prefetch(rte_pktmbuf_mtod(cookie, void *)); in virtqueue_dequeue_single_packed_vec() 237 cookie->data_off = RTE_PKTMBUF_HEADROOM; in virtqueue_dequeue_single_packed_vec() 238 cookie->ol_flags = 0; in virtqueue_dequeue_single_packed_vec() 239 cookie->pkt_len = (uint32_t)(len - hdr_size); in virtqueue_dequeue_single_packed_vec() 240 cookie->data_len = (uint32_t)(len - hdr_size); in virtqueue_dequeue_single_packed_vec() 242 hdr = (struct virtio_net_hdr *)((char *)cookie->buf_addr + in virtqueue_dequeue_single_packed_vec() [all …]
|
| H A D | virtqueue.c | 25 struct rte_mbuf *cookie; in virtqueue_detach_unused() local 45 cookie = vq->rxq.sw_ring[idx]; in virtqueue_detach_unused() 46 if (cookie != NULL) { in virtqueue_detach_unused() 48 return cookie; in virtqueue_detach_unused() 51 cookie = vq->vq_descx[idx].cookie; in virtqueue_detach_unused() 52 if (cookie != NULL) { in virtqueue_detach_unused() 53 vq->vq_descx[idx].cookie = NULL; in virtqueue_detach_unused() 54 return cookie; in virtqueue_detach_unused() 75 if (dxp->cookie != NULL) { in virtqueue_rxvq_flush_packed() 76 rte_pktmbuf_free(dxp->cookie); in virtqueue_rxvq_flush_packed() [all …]
|
| /dpdk/drivers/crypto/qat/dev/ |
| H A D | qat_crypto_pmd_gen_lce.c | 109 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_aead_gen_lce() local 183 cookie->qat_sgl_src.num_bufs = 0; in qat_sym_build_op_aead_gen_lce() 185 qat_sgl_add_buffer_gen_lce(&cookie->qat_sgl_src, aad_phys_addr, aad_len); in qat_sym_build_op_aead_gen_lce() 188 qat_sgl_fill_array_with_mbuf(op->sym->m_src, cipher_ofs, &cookie->qat_sgl_src, in qat_sym_build_op_aead_gen_lce() 191 qat_sgl_fill_array_with_mbuf(op->sym->m_src, cipher_ofs, &cookie->qat_sgl_src, in qat_sym_build_op_aead_gen_lce() 196 qat_sgl_add_buffer_gen_lce(&cookie->qat_sgl_src, in qat_sym_build_op_aead_gen_lce() 204 cookie->qat_sgl_dst.num_bufs = 0; in qat_sym_build_op_aead_gen_lce() 207 qat_sgl_fill_array_with_mbuf(op->sym->m_src, cipher_ofs, &cookie->qat_sgl_dst, in qat_sym_build_op_aead_gen_lce() 210 qat_sgl_fill_array_with_mbuf(op->sym->m_src, cipher_ofs, &cookie->qat_sgl_dst, in qat_sym_build_op_aead_gen_lce() 215 qat_sgl_add_buffer_gen_lce(&cookie->qat_sgl_dst, in qat_sym_build_op_aead_gen_lce() [all …]
|
| H A D | qat_sym_pmd_gen1.c | 223 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_cipher_gen1() local 244 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_cipher_gen1() 268 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_auth_gen1() local 299 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_auth_gen1() 324 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_aead_gen1() local 347 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_aead_gen1() 369 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_chain_gen1() local 386 &cipher_iv, &auth_iv, &digest, cookie); in qat_sym_build_op_chain_gen1() 392 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_chain_gen1() 406 ofs, total_len, cookie); in qat_sym_build_op_chain_gen1() [all …]
|
| H A D | qat_crypto_pmd_gen3.c | 343 struct qat_sym_op_cookie *cookie, in enqueue_one_auth_job_gen3() argument 378 rte_memcpy(cookie->opt.spc_gmac.cd_cipher.key, in enqueue_one_auth_job_gen3() 383 cookie->opt.spc_gmac.cd_cipher.cipher_config.val = in enqueue_one_auth_job_gen3() 391 QAT_FIELD_SET(cookie->opt.spc_gmac.cd_cipher.cipher_config.val, in enqueue_one_auth_job_gen3() 395 cookie->opt.spc_gmac.cd_cipher.cipher_config.reserved = in enqueue_one_auth_job_gen3() 400 cookie->opt.spc_gmac.cd_phys_addr; in enqueue_one_auth_job_gen3() 431 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_aead_gen3() local 454 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_aead_gen3() 476 struct qat_sym_op_cookie *cookie = op_cookie; in qat_sym_build_op_auth_gen3() local 498 total_len = qat_sym_build_req_set_data(req, in_op, cookie, in qat_sym_build_op_auth_gen3() [all …]
|
| /dpdk/drivers/common/sfc_efx/ |
| H A D | sfc_efx_mcdi.h | 36 typedef int (sfc_efx_mcdi_dma_alloc_cb)(void *cookie, const char *name, 39 typedef void (sfc_efx_mcdi_dma_free_cb)(void *cookie, efsys_mem_t *esmp); 41 typedef void (sfc_efx_mcdi_sched_restart_cb)(void *cookie); 43 typedef void (sfc_efx_mcdi_mgmt_evq_poll_cb)(void *cookie);
|
| /dpdk/lib/graph/ |
| H A D | graph_stats.c | 38 void *cookie; member 144 graph_cluster_stats_cb(bool dispatch, bool is_first, bool is_last, void *cookie, 147 FILE *f = cookie; in graph_cluster_stats_cb_rtc() 167 graph_cluster_stats_cb_rtc(bool is_first, bool is_last, void *cookie, in stats_mem_init() 170 return graph_cluster_stats_cb(false, is_first, is_last, cookie, stat); in stats_mem_init() 174 graph_cluster_stats_cb_dispatch(bool is_first, bool is_last, void *cookie, in stats_mem_init() 177 return graph_cluster_stats_cb(true, is_first, is_last, cookie, stat); in stats_mem_init() 212 stats->cookie = prm->cookie; in stats_mem_populate() 528 stat->cookie, 125 graph_cluster_stats_cb(bool dispatch,bool is_first,bool is_last,void * cookie,const struct rte_graph_cluster_node_stats * stat) graph_cluster_stats_cb() argument 145 graph_cluster_stats_cb_rtc(bool is_first,bool is_last,void * cookie,const struct rte_graph_cluster_node_stats * stat) graph_cluster_stats_cb_rtc() argument 152 graph_cluster_stats_cb_dispatch(bool is_first,bool is_last,void * cookie,const struct rte_graph_cluster_node_stats * stat) graph_cluster_stats_cb_dispatch() argument [all...] |
| H A D | rte_graph.h | 140 * @param cookie 150 void *cookie, const struct rte_graph_cluster_node_stats *stats); 191 void *cookie; 190 void *cookie; global() member
|
| /dpdk/drivers/common/idpf/base/ |
| H A D | idpf_controlq_api.h | 58 #define FILL_OPCODE_V1(msg, opcode) ((msg).cookie.cfg.mbx.chnl_opcode = opcode) 59 #define FILL_RETVAL_V1(msg, retval) ((msg).cookie.cfg.mbx.chnl_retval = retval) 65 } cookie; member
|
| /dpdk/lib/mempool/ |
| H A D | rte_mempool.c | 176 hdr->cookie = RTE_MEMPOOL_HEADER_COOKIE2; in mempool_add_elem() 177 rte_mempool_get_trailer(obj)->cookie = RTE_MEMPOOL_TRAILER_COOKIE; in mempool_add_elem() 1064 uint64_t cookie; in rte_mempool_check_cookies() local 1082 cookie = hdr->cookie; in rte_mempool_check_cookies() 1085 if (cookie != RTE_MEMPOOL_HEADER_COOKIE1) { in rte_mempool_check_cookies() 1088 obj, (const void *) mp, cookie); in rte_mempool_check_cookies() 1091 hdr->cookie = RTE_MEMPOOL_HEADER_COOKIE2; in rte_mempool_check_cookies() 1093 if (cookie != RTE_MEMPOOL_HEADER_COOKIE2) { in rte_mempool_check_cookies() 1096 obj, (const void *) mp, cookie); in rte_mempool_check_cookies() 1099 hdr->cookie = RTE_MEMPOOL_HEADER_COOKIE1; in rte_mempool_check_cookies() [all …]
|
| /dpdk/drivers/common/mlx5/windows/ |
| H A D | mlx5_common_os.h | 243 uint64_t cookie) in mlx5_os_devx_subscribe_devx_event() argument 249 (void)cookie; in mlx5_os_devx_subscribe_devx_event()
|
| /dpdk/drivers/net/mvneta/ |
| H A D | mvneta_rxtx.c | 105 entries[i].cookie = (neta_cookie_t)(uint64_t)mbufs[i]; in mvneta_buffs_refill() 153 sq->ent[sq->head].cookie = (uint64_t)buf; in mvneta_fill_shadowq() 205 tail, (u64)entry->cookie, in mvneta_sent_buffers_free() 214 (cookie_addr_high | entry->cookie); in mvneta_sent_buffers_free() 433 addr = cookie_addr_high | sq->ent[sq->head].cookie; in mvneta_tx_pkt_burst() 562 addr = sq->ent[sq->head].cookie; in mvneta_tx_sg_pkt_burst() 909 if (bufs[i].cookie) { in mvneta_rx_queue_flush() 910 addr = cookie_addr_high | bufs[i].cookie; in mvneta_rx_queue_flush() 937 sq->ent[sq->tail].cookie; in mvneta_tx_queue_flush()
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_common_os.h | 239 uint64_t cookie) in mlx5_os_devx_subscribe_devx_event() argument 242 events_num, cookie); in mlx5_os_devx_subscribe_devx_event()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_int.h | 114 void *cookie); 137 void *cookie,
|
| H A D | ecore_sp_api.h | 27 void *cookie; member
|
| H A D | ecore_spq.c | 37 static void ecore_spq_blocking_cb(struct ecore_hwfn *p_hwfn, void *cookie, in ecore_spq_blocking_cb() argument 43 comp_done = (struct ecore_spq_comp_done *)cookie; in ecore_spq_blocking_cb() 60 comp_done = (struct ecore_spq_comp_done *)p_ent->comp_cb.cookie; in __ecore_spq_block() 125 comp_done = (struct ecore_spq_comp_done *)p_ent->comp_cb.cookie; in ecore_spq_block() 361 void *cookie) in ecore_eq_completion() argument 363 struct ecore_eq *p_eq = cookie; in ecore_eq_completion() 1019 p_ent->comp_cb.function, p_ent->comp_cb.cookie); in ecore_spq_completion() 1021 found->comp_cb.function(p_hwfn, found->comp_cb.cookie, p_data, in ecore_spq_completion()
|
| /dpdk/drivers/net/nfp/flower/ |
| H A D | nfp_conntrack.h | 35 uint64_t cookie);
|
| /dpdk/drivers/net/ark/ |
| H A D | ark_ext.h | 23 char cookie[4]; member
|
| /dpdk/drivers/common/iavf/ |
| H A D | iavf_adminq.h | 45 u64 cookie; member
|
| /dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa_event.c | 288 (uintptr_t)out.event_resp.cookie; in mlx5_vdpa_event_wait() 368 (ssize_t)sizeof(out.event_resp.cookie)) { in mlx5_vdpa_err_interrupt_handler() 369 vq_index = out.event_resp.cookie & UINT32_MAX; in mlx5_vdpa_err_interrupt_handler() 370 version = out.event_resp.cookie >> 32; in mlx5_vdpa_err_interrupt_handler() 501 (ssize_t)sizeof(out.event_resp.cookie)) in mlx5_vdpa_err_event_unset()
|