| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_glue.c | 28 mlx4_glue_get_async_event(struct ibv_context *context, in mlx4_glue_get_async_event() argument 31 return ibv_get_async_event(context, event); in mlx4_glue_get_async_event() 41 mlx4_glue_alloc_pd(struct ibv_context *context) in mlx4_glue_alloc_pd() argument 43 return ibv_alloc_pd(context); in mlx4_glue_alloc_pd() 71 mlx4_glue_close_device(struct ibv_context *context) in mlx4_glue_close_device() argument 73 return ibv_close_device(context); in mlx4_glue_close_device() 83 mlx4_glue_query_device(struct ibv_context *context, in mlx4_glue_query_device() argument 86 return ibv_query_device(context, device_attr); in mlx4_glue_query_device() 90 mlx4_glue_query_device_ex(struct ibv_context *context, in mlx4_glue_query_device_ex() argument 94 return ibv_query_device_ex(context, input, attr); in mlx4_glue_query_device_ex() [all …]
|
| H A D | mlx4_glue.h | 29 int (*get_async_event)(struct ibv_context *context, 32 struct ibv_pd *(*alloc_pd)(struct ibv_context *context); 37 int (*close_device)(struct ibv_context *context); 39 int (*query_device)(struct ibv_context *context, 41 int (*query_device_ex)(struct ibv_context *context, 44 int (*query_port)(struct ibv_context *context, uint8_t port_num, 48 (struct ibv_context *context); 50 struct ibv_cq *(*create_cq)(struct ibv_context *context, int cqe, 64 (struct ibv_context *context, 73 (struct ibv_context *context, [all …]
|
| /dpdk/lib/acl/ |
| H A D | acl_bld.c | 96 static int acl_merge_trie(struct acl_build_context *context, 101 acl_deref_ptr(struct acl_build_context *context, 105 acl_build_alloc(struct acl_build_context *context, size_t n, size_t s) in acl_build_alloc() argument 114 for (m = 0; m < RTE_DIM(context->blocks); m++) { in acl_build_alloc() 115 if (context->blocks[m].block_size == in acl_build_alloc() 116 alloc_size && context->blocks[m].mem_ptr != NULL) { in acl_build_alloc() 117 p = context->blocks[m].mem_ptr; in acl_build_alloc() 118 context->blocks[m].mem_ptr = *((void **)p); in acl_build_alloc() 127 p = tb_alloc(&context->pool, alloc_size); in acl_build_alloc() 135 acl_build_free(struct acl_build_context *context, size_t s, void *p) in acl_build_free() argument [all …]
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_glue.h | 166 struct ibv_pd *(*alloc_pd)(struct ibv_context *context); 168 struct ibv_pd *(*import_pd)(struct ibv_context *context, 175 int (*close_device)(struct ibv_context *context); 176 int (*query_device)(struct ibv_context *context, 178 int (*query_device_ex)(struct ibv_context *context, 182 int (*query_rt_values_ex)(struct ibv_context *context, 184 int (*query_port)(struct ibv_context *context, uint8_t port_num, 187 (struct ibv_context *context); 189 struct ibv_cq *(*create_cq)(struct ibv_context *context, int cqe, 198 (struct ibv_context *context, [all …]
|
| H A D | mlx5_glue.c | 30 mlx5_glue_alloc_pd(struct ibv_context *context) in mlx5_glue_alloc_pd() argument 32 return ibv_alloc_pd(context); in mlx5_glue_alloc_pd() 42 mlx5_glue_import_pd(struct ibv_context *context, uint32_t pd_handle) in mlx5_glue_import_pd() argument 45 return ibv_import_pd(context, pd_handle); in mlx5_glue_import_pd() 47 (void)context; in mlx5_glue_import_pd() 98 mlx5_glue_close_device(struct ibv_context *context) in mlx5_glue_close_device() argument 100 return ibv_close_device(context); in mlx5_glue_close_device() 104 mlx5_glue_query_device(struct ibv_context *context, in mlx5_glue_query_device() argument 107 return ibv_query_device(context, device_attr); in mlx5_glue_query_device() 111 mlx5_glue_query_device_ex(struct ibv_context *context, in mlx5_glue_query_device_ex() argument [all …]
|
| /dpdk/lib/jobstats/ |
| H A D | rte_jobstats.c | 128 if (unlikely(ctx == NULL || job == NULL || job->context != NULL)) in rte_jobstats_start() 132 job->context = ctx; in rte_jobstats_start() 148 if (unlikely(job == NULL || job->context == NULL)) in rte_jobstats_abort() 151 ctx = job->context; in rte_jobstats_abort() 156 job->context = NULL; in rte_jobstats_abort() 169 if (unlikely(job == NULL || job->context == NULL)) in rte_jobstats_finish() 177 ctx = job->context; in rte_jobstats_finish() 192 job->context = NULL; in rte_jobstats_finish() 242 job->context = NULL; in rte_jobstats_init()
|
| H A D | rte_jobstats.h | 66 struct rte_jobstats_context *context; member
|
| /dpdk/lib/rawdev/ |
| H A D | rte_rawdev.h | 397 * @param context 398 * Opaque context information. 409 rte_rawdev_obj_t context); 428 * @param context 429 * Opaque context information. 440 rte_rawdev_obj_t context);
|
| H A D | rte_rawdev_pmd.h | 315 * @param context 316 * an opaque object representing context of the call; for example, an 328 rte_rawdev_obj_t context); 339 * @param context 340 * an opaque object representing context of the call. Based on this object, 353 rte_rawdev_obj_t context);
|
| H A D | rte_rawdev.c | 221 rte_rawdev_obj_t context) in rte_rawdev_enqueue_buffers() argument 230 return (*dev->dev_ops->enqueue_bufs)(dev, buffers, count, context); in rte_rawdev_enqueue_buffers() 237 rte_rawdev_obj_t context) in rte_rawdev_dequeue_buffers() argument 246 return (*dev->dev_ops->dequeue_bufs)(dev, buffers, count, context); in rte_rawdev_dequeue_buffers()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | toeplitz_hash_lib.rst | 98 * Create the thash context. 100 * Create the thash helper, associated with a context. 106 Thash context 109 The function ``rte_thash_init_ctx()`` initializes the context struct 146 associated with a given context and a part of a target tuple of interest which 148 calculated bit sequence into the RSS hash key which is stored in the context 153 * A pointer to the Thash context to be associated with. 162 Adding a helper changes the key stored in the corresponding context. So the 172 context initialization) to be xored with N least significant bits of the 197 * A Thash context and helper. [all …]
|
| /dpdk/drivers/raw/cnxk_bphy/ |
| H A D | cnxk_bphy_cgx.c | 206 rte_rawdev_obj_t context) in cnxk_bphy_cgx_enqueue_bufs() argument 209 unsigned int queue = (size_t)context; in cnxk_bphy_cgx_enqueue_bufs() 228 rte_rawdev_obj_t context) in cnxk_bphy_cgx_dequeue_bufs() argument 231 unsigned int queue = (size_t)context; in cnxk_bphy_cgx_dequeue_bufs()
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_acl.c | 673 /* Setup ACL context. 8< */ in check_acl_config() 682 struct rte_acl_ctx *context; in check_acl_config() 695 context = rte_acl_create(&acl_param); in app_acl_init() 696 if (context == NULL) in app_acl_init() 697 rte_exit(EXIT_FAILURE, "Failed to create ACL context\n"); in app_acl_init() 700 rte_acl_set_ctx_classify(context, parm_config.alg) != 0) in app_acl_init() 702 "Failed to setup classify method for ACL context\n"); in app_acl_init() 704 if (rte_acl_add_rules(context, route_base, route_num) < 0) in app_acl_init() 707 if (rte_acl_add_rules(context, acl_base, acl_num) < 0) in app_acl_init() 718 if (rte_acl_build(context, in app_acl_init() 694 struct rte_acl_ctx *context; app_acl_init() local [all...] |
| /dpdk/examples/bond/ |
| H A D | meson.build | 19 command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@']
|
| /dpdk/examples/multi_process/hotplug_mp/ |
| H A D | meson.build | 15 command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@']
|
| /dpdk/examples/multi_process/simple_mp/ |
| H A D | meson.build | 15 command: [cmdline_gen_cmd, '--context-name=simple_mp_ctx', '@INPUT@']
|
| /dpdk/drivers/compress/nitrox/ |
| H A D | nitrox_comp_reqmgr.h | 40 uint8_t *context; member
|
| /dpdk/drivers/vdpa/sfc/ |
| H A D | sfc_vdpa_ops.h | 64 sfc_vdpa_device_init(void *adapter, enum sfc_vdpa_context context);
|
| /dpdk/examples/vdpa/ |
| H A D | meson.build | 23 command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@']
|
| /dpdk/examples/ntb/ |
| H A D | meson.build | 24 command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@']
|
| /dpdk/lib/node/ |
| H A D | meson.build | 35 # Strict-aliasing rules are violated by uint8_t[] to context size casts.
|
| /dpdk/doc/guides/nics/ |
| H A D | mana.rst | 8 for Microsoft Azure Network Adapter VF in SR-IOV context. 25 (context initialization, hardware resources allocations)
|
| /dpdk/drivers/raw/skeleton/ |
| H A D | skeleton_rawdev.c | 420 rte_rawdev_obj_t context) in skeleton_rawdev_enqueue_bufs() argument 431 q_id = *((uint16_t *)context); in skeleton_rawdev_enqueue_bufs() 442 rte_rawdev_obj_t context) in skeleton_rawdev_dequeue_bufs() argument 453 q_id = *((uint16_t *)context); in skeleton_rawdev_dequeue_bufs()
|
| /dpdk/drivers/crypto/bcmfs/hw/ |
| H A D | bcmfs5_rm.c | 461 unsigned long context = 0; in bcmfs5_dequeue_qp() local 508 context = qp->ctx_pool[reqid]; in bcmfs5_dequeue_qp() 509 if (context == 0) in bcmfs5_dequeue_qp() 516 *ops = (void *)context; in bcmfs5_dequeue_qp()
|
| /dpdk/drivers/gpu/cuda/ |
| H A D | cuda.c | 618 input_ctx = (CUcontext)((uintptr_t)dev->mpshared->info.context); in cuda_dev_info_get() 728 input_ctx = (CUcontext)((uintptr_t)dev->mpshared->info.context); in cuda_mem_alloc() 780 mem_alloc_list_tail->ctx = (CUcontext)((uintptr_t)dev->mpshared->info.context); in cuda_mem_alloc() 822 input_ctx = (CUcontext)((uintptr_t)dev->mpshared->info.context); in cuda_mem_register() 903 mem_alloc_list_tail->ctx = (CUcontext)((uintptr_t)dev->mpshared->info.context); in cuda_mem_register() 1139 input_ctx = (CUcontext)((uintptr_t)dev->mpshared->info.context); in cuda_wmb() 1288 dev->mpshared->info.context = (uint64_t)pctx; in cuda_gpu_probe()
|