Home
last modified time | relevance | path

Searched refs:td (Results 1 – 19 of 19) sorted by relevance

/dpdk/app/test/
H A Dtest_cryptodev_security_ipsec.c382 td = &td_array[i]; in test_ipsec_td_prepare()
389 memcpy(td, &pkt_aes_256_gcm_v6, sizeof(*td)); in test_ipsec_td_prepare()
391 memcpy(td, &pkt_aes_256_gcm, sizeof(*td)); in test_ipsec_td_prepare()
393 td->aead = true; in test_ipsec_td_prepare()
400 sizeof(*td)); in test_ipsec_td_prepare()
403 sizeof(*td)); in test_ipsec_td_prepare()
405 td->aead = false; in test_ipsec_td_prepare()
597 if (td->aead) in test_ipsec_iv_verify_push()
598 iv_len = td->xform.aead.aead.iv.length - td->salt.len; in test_ipsec_iv_verify_push()
752 td->ar_packet)) in test_ipsec_td_verify()
[all …]
H A Dtest_cryptodev_security_ipsec.h254 const struct ipsec_test_data *td,
258 int test_ipsec_status_check(const struct ipsec_test_data *td,
H A Dtest_fbarray.c437 void *td = rte_fbarray_get(&param.arr, i); in test_basic() local
438 TEST_ASSERT_NOT_NULL(td, "Invalid pointer returned\n"); in test_basic()
439 TEST_ASSERT_EQUAL(rte_fbarray_find_idx(&param.arr, td), i, in test_basic()
H A Dtest_cryptodev.c9180 if (td->ipsec_xform.tunnel.type == in test_ipsec_proto_process()
9231 if (td[0].aead) { in test_ipsec_proto_process()
9246 } else if (td[0].auth_only) { in test_ipsec_proto_process()
9297 if (td[0].aead || td[0].aes_gmac) { in test_ipsec_proto_process()
9302 if (td[0].aead) { in test_ipsec_proto_process()
9305 } else if (td[0].auth_only) { in test_ipsec_proto_process()
9346 td[i].input_text.len); in test_ipsec_proto_process()
9349 td[i].input_text.len); in test_ipsec_proto_process()
9381 if (td[i].aead) in test_ipsec_proto_process()
9383 else if (td[i].aes_gmac) in test_ipsec_proto_process()
[all …]
/dpdk/examples/pipeline/
H A Dthread.c252 struct thread_data *td = &thread_data[thread_id]; in thread_pipeline_enable() local
253 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in thread_pipeline_enable()
255 if (td->n_pipelines >= THREAD_PIPELINES_MAX) in thread_pipeline_enable()
259 td->p[td->n_pipelines] = p->p; in thread_pipeline_enable()
266 td->n_pipelines++; in thread_pipeline_enable()
334 for (i = 0; i < td->n_pipelines; i++) { in thread_pipeline_disable()
341 if (i < td->n_pipelines - 1) { in thread_pipeline_disable()
343 td->p[td->n_pipelines - 1]; in thread_pipeline_disable()
345 &td->pipeline_data[td->n_pipelines - 1]; in thread_pipeline_disable()
347 td->p[i] = pipeline_last; in thread_pipeline_disable()
[all …]
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa.c565 priv->td = mlx5_devx_cmd_create_td(ctx); in mlx5_vdpa_create_dev_resources()
566 if (!priv->td) { in mlx5_vdpa_create_dev_resources()
571 tis_attr.transport_domain = priv->td->id; in mlx5_vdpa_create_dev_resources()
705 if (priv->td) in mlx5_vdpa_release_dev_resources()
706 claim_zero(mlx5_devx_cmd_destroy(priv->td)); in mlx5_vdpa_release_dev_resources()
H A Dmlx5_vdpa.h149 struct mlx5_devx_obj *td; member
H A Dmlx5_vdpa_steer.c115 .transport_domain = priv->td->id, in mlx5_vdpa_rss_flows_create()
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_thread.c315 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in softnic_thread_pipeline_enable()
318 td->p[td->n_pipelines] = p->p; in softnic_thread_pipeline_enable()
331 td->n_pipelines++; in softnic_thread_pipeline_enable()
399 for (i = 0; i < td->n_pipelines; i++) { in softnic_thread_pipeline_disable()
400 struct pipeline_data *tdp = &td->pipeline_data[i]; in softnic_thread_pipeline_disable()
406 if (i < td->n_pipelines - 1) { in softnic_thread_pipeline_disable()
408 td->p[td->n_pipelines - 1]; in softnic_thread_pipeline_disable()
410 &td->pipeline_data[td->n_pipelines - 1]; in softnic_thread_pipeline_disable()
412 td->p[i] = pipeline_last; in softnic_thread_pipeline_disable()
416 td->n_pipelines--; in softnic_thread_pipeline_disable()
[all …]
/dpdk/examples/ip_pipeline/
H A Dthread.c279 struct thread_data *td = &thread_data[thread_id]; in thread_pipeline_enable() local
280 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in thread_pipeline_enable()
282 if (td->n_pipelines >= THREAD_PIPELINES_MAX) in thread_pipeline_enable()
286 td->p[td->n_pipelines] = p->p; in thread_pipeline_enable()
299 td->n_pipelines++; in thread_pipeline_enable()
372 for (i = 0; i < td->n_pipelines; i++) { in thread_pipeline_disable()
379 if (i < td->n_pipelines - 1) { in thread_pipeline_disable()
381 td->p[td->n_pipelines - 1]; in thread_pipeline_disable()
383 &td->pipeline_data[td->n_pipelines - 1]; in thread_pipeline_disable()
385 td->p[i] = pipeline_last; in thread_pipeline_disable()
[all …]
/dpdk/drivers/bus/dpaa/include/
H A Dfsl_qman.h493 struct qm_fqd_taildrop td; member
560 static inline int qm_fqd_taildrop_set(struct qm_fqd_taildrop *td, u32 val, in qm_fqd_taildrop_set() argument
575 td->exp = e; in qm_fqd_taildrop_set()
576 td->mant = val; in qm_fqd_taildrop_set()
581 static inline u32 qm_fqd_taildrop_get(const struct qm_fqd_taildrop *td) in qm_fqd_taildrop_get() argument
583 return (u32)td->mant << td->exp; in qm_fqd_taildrop_get()
/dpdk/kernel/freebsd/contigmem/
H A Dcontigmem.c217 struct thread *td) in contigmem_open() argument
227 struct thread *td) in contigmem_close() argument
/dpdk/kernel/freebsd/nic_uio/
H A Dnic_uio.c136 nic_uio_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in nic_uio_open() argument
142 nic_uio_close(struct cdev *dev, int fflag, int devtype, struct thread *td) in nic_uio_close() argument
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_desc.h155 /* 14 */ unsigned int td:1; member
/dpdk/drivers/net/mlx5/
H A Dmlx5.c1107 tis_attr.transport_domain = sh->td->id; in mlx5_setup_tis()
1468 sh->td = mlx5_devx_cmd_create_td(sh->cdev->ctx); in mlx5_alloc_shared_dev_ctx()
1469 if (!sh->td) { in mlx5_alloc_shared_dev_ctx()
1516 if (sh->td) in mlx5_alloc_shared_dev_ctx()
1517 claim_zero(mlx5_devx_cmd_destroy(sh->td)); in mlx5_alloc_shared_dev_ctx()
1596 if (sh->td) in mlx5_free_shared_dev_ctx()
1597 claim_zero(mlx5_devx_cmd_destroy(sh->td)); in mlx5_free_shared_dev_ctx()
H A Dmlx5_devx.c773 tir_attr->transport_domain = priv->sh->td->id; in mlx5_devx_tir_attr_set()
1372 priv->sh->tdn = priv->sh->td->id; in mlx5_txq_devx_obj_new()
H A Dmlx5.h1247 struct mlx5_devx_obj *td; /* Transport domain. */ member
/dpdk/drivers/common/mlx5/
H A Dmlx5_devx_cmds.c1821 struct mlx5_devx_obj *td = NULL; in mlx5_devx_cmd_create_td() local
1823 td = mlx5_malloc(MLX5_MEM_ZERO, sizeof(*td), 0, SOCKET_ID_ANY); in mlx5_devx_cmd_create_td()
1824 if (!td) { in mlx5_devx_cmd_create_td()
1831 td->obj = mlx5_glue->devx_obj_create(ctx, in, sizeof(in), in mlx5_devx_cmd_create_td()
1833 if (!td->obj) { in mlx5_devx_cmd_create_td()
1836 mlx5_free(td); in mlx5_devx_cmd_create_td()
1839 td->id = MLX5_GET(alloc_transport_domain_out, out, in mlx5_devx_cmd_create_td()
1841 return td; in mlx5_devx_cmd_create_td()
/dpdk/doc/guides/nics/
H A Denic.rst118 <http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/vm_fex/vmware/gui/config_guide/b_GUI…