Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 55) sorted by relevance

123

/dpdk/app/test/
H A Dresource.h25 TAILQ_HEAD(resource_list, resource);
32 struct resource { struct
36 TAILQ_ENTRY(resource) next;
42 size_t resource_size(const struct resource *r);
47 const struct resource *resource_find(const char *name);
53 int resource_fwrite(const struct resource *r, FILE *f);
60 int resource_fwrite_file(const struct resource *r, const char *fname);
66 int resource_untar(const struct resource *res);
73 int resource_rm_by_tar(const struct resource *res);
80 void resource_register(struct resource *r);
[all …]
H A Dresource.c16 size_t resource_size(const struct resource *r) in resource_size()
21 const struct resource *resource_find(const char *name) in resource_find()
23 struct resource *r; in resource_find()
35 int resource_fwrite(const struct resource *r, FILE *f) in resource_fwrite()
53 int resource_fwrite_file(const struct resource *r, const char *fname) in resource_fwrite_file()
103 int resource_untar(const struct resource *res) in resource_untar()
181 int resource_rm_by_tar(const struct resource *res) in resource_rm_by_tar()
273 void resource_register(struct resource *r) in resource_register()
H A Dtest_resource.c20 const struct resource *r; in test_resource_dpdk()
38 const struct resource *r; in test_resource_c()
64 const struct resource *r; in test_resource_tar()
H A Dtest_cfgfile.c23 const struct resource *r; in test_cfgfile_setup()
38 const struct resource *r; in test_cfgfile_cleanup()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_dv.c3756 resource = container_of(entry, typeof(*resource), entry); in flow_dv_encap_decap_resource_register()
3856 memcpy(resource, entry, sizeof(*resource)); in flow_dv_port_id_clone_cb()
3904 resource = container_of(entry, typeof(*resource), entry); in flow_dv_port_id_action_resource_register()
3978 memcpy(resource, entry, sizeof(*resource)); in flow_dv_push_vlan_clone_cb()
4026 resource = container_of(entry, typeof(*resource), entry); in flow_dv_push_vlan_action_resource_register()
5823 resource->actions_num * sizeof(resource->actions[0]); in flow_dv_modify_hdr_resource_register()
5854 resource = container_of(entry, typeof(*resource), entry); in flow_dv_modify_hdr_resource_register()
10487 memcpy(resource, entry, sizeof(*resource)); in flow_dv_matcher_clone_cb()
10884 resource = container_of(entry, typeof(*resource), entry); in flow_dv_matcher_register()
11502 memcpy(resource, entry, sizeof(*resource)); in flow_dv_sample_clone_cb()
[all …]
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_flow_os.h189 void *resource, void **action) in mlx5_flow_os_create_flow_action_packet_reformat() argument
192 (struct mlx5_flow_dv_encap_decap_resource *)resource; in mlx5_flow_os_create_flow_action_packet_reformat()
221 void *resource, in mlx5_flow_os_create_flow_action_modify_header() argument
226 (struct mlx5_flow_dv_modify_hdr_resource *)resource; in mlx5_flow_os_create_flow_action_modify_header()
/dpdk/drivers/net/mlx5/windows/
H A Dmlx5_flow_os.h138 void *resource, void **action) in mlx5_flow_os_create_flow_action_packet_reformat() argument
142 RTE_SET_USED(resource); in mlx5_flow_os_create_flow_action_packet_reformat()
169 void *resource, in mlx5_flow_os_create_flow_action_modify_header() argument
175 RTE_SET_USED(resource); in mlx5_flow_os_create_flow_action_modify_header()
/dpdk/drivers/net/avp/
H A Davp_ethdev.c364 struct rte_mem_resource *resource; in avp_dev_translate_address() local
373 info = (struct rte_avp_memmap_info *)resource->addr; in avp_dev_translate_address()
419 struct rte_mem_resource *resource; in avp_dev_check_regions() local
424 resource = &pci_dev->mem_resource[i]; in avp_dev_check_regions()
425 if ((resource->phys_addr == 0) || (resource->len == 0)) in avp_dev_check_regions()
429 i, resource->phys_addr, in avp_dev_check_regions()
430 resource->len, resource->addr); in avp_dev_check_regions()
444 info = (struct rte_avp_device_info *)resource->addr; in avp_dev_check_regions()
456 if (resource->addr == NULL) { in avp_dev_check_regions()
824 struct rte_mem_resource *resource; in avp_dev_create() local
[all …]
/dpdk/drivers/net/qede/base/
H A Decore_mcp.h428 u8 resource; member
470 u8 resource; member
502 enum ecore_resc_lock resource,
H A Decore_mcp.c4195 SET_MFW_FIELD(param, RESOURCE_CMD_REQ_RESC, p_params->resource); in __ecore_mcp_resc_lock()
4201 param, p_params->timeout, opcode, p_params->resource); in __ecore_mcp_resc_lock()
4268 enum ecore_resc_lock resource, in ecore_mcp_resc_lock_default_init() argument
4287 p_lock->resource = resource; in ecore_mcp_resc_lock_default_init()
4292 p_unlock->resource = resource; in ecore_mcp_resc_lock_default_init()
4306 SET_MFW_FIELD(param, RESOURCE_CMD_REQ_RESC, p_params->resource); in ecore_mcp_resc_unlock()
4311 param, opcode, p_params->resource); in ecore_mcp_resc_unlock()
4330 p_params->resource); in ecore_mcp_resc_unlock()
/dpdk/doc/guides/prog_guide/
H A Drcu_lib.rst166 resource is freed at a later time, the token and the reference to the deleted
167 resource need to be stored for later queries.
175 does not have to store the token or the reference to the deleted resource. The
176 resource can be freed immediately after ``rte_rcu_qsbr_synchronize()`` API
196 Lock-free algorithms place additional burden of resource reclamation on
208 However, if this resource reclamation process were to be integrated in lock-free data structure lib…
211 In any DPDK application, the resource reclamation process using QSBR can be split into 4 parts:
232 …ld call ``rte_rcu_qsbr_dq_reclaim`` to reclaim the resources and try the resource allocation again.
241 Integrating the resource reclamation with client libraries removes the burden from
H A Dlpm_lib.rst63 This is not feasible due to resource restrictions.
177 while using this feature. Please refer to resource reclamation framework of :ref:`RCU library <RCU_…
H A Dfib_lib.rst117 single table with 2\ :sup:`32` entries. This is not feasible due to resource restrictions.
/dpdk/doc/guides/linux_gsg/
H A Denable_func.rst24 When running as non-root user, there may be some additional resource limits
25 that are imposed by the system. Specifically, the following resource limits may
62 * The userspace-io sysfs config and resource files, for example for ``uio0``::
65 /sys/class/uio/uio0/device/resource*
/dpdk/drivers/net/ionic/
H A Dionic_ethdev.c1123 struct rte_mem_resource *resource; in eth_ionic_pci_probe() local
1163 resource = &pci_dev->mem_resource[i]; in eth_ionic_pci_probe()
1164 if (resource->phys_addr == 0 || resource->len == 0) in eth_ionic_pci_probe()
1166 adapter->bars[adapter->num_bars].vaddr = resource->addr; in eth_ionic_pci_probe()
1167 adapter->bars[adapter->num_bars].bus_addr = resource->phys_addr; in eth_ionic_pci_probe()
1168 adapter->bars[adapter->num_bars].len = resource->len; in eth_ionic_pci_probe()
/dpdk/drivers/bus/vmbus/
H A Dvmbus_common_uio.c73 dev->resource[i].addr = mapaddr; in vmbus_uio_map_secondary()
144 if (dev->resource[i].len == 0) in vmbus_uio_map_primary()
H A Drte_bus_vmbus.h77 struct rte_mem_resource resource[VMBUS_MAX_RESOURCE]; member
/dpdk/doc/guides/cryptodevs/
H A Ddpaa2_sec.rst24 DPAA2_SEC is one of the hardware resource in DPAA2 Architecture. More information
34 DPSECI objects are detected by PMD using a resource container called DPRC (like
148 Where x is the device object id as configured in resource container.
H A Ddpaa_sec.rst24 DPAA_SEC is one of the hardware resource in DPAA Architecture. More information
/dpdk/drivers/bus/vmbus/linux/
H A Dvmbus_uio.c152 size_t size = dev->resource[idx].len; in vmbus_uio_map_resource_by_index()
179 dev->resource[idx].addr = mapaddr; in vmbus_uio_map_resource_by_index()
H A Dvmbus_bus.c182 struct rte_mem_resource *res = &dev->resource[i]; in rte_vmbus_map_device()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_flow_db.c585 struct ulp_fdb_resource_info *resource, *fid_resource; in ulp_flow_db_resource_add() local
629 resource = &flow_tbl->flow_resources[idx]; in ulp_flow_db_resource_add()
633 ULP_FLOW_DB_RES_NXT_SET(resource->nxt_resource_idx, in ulp_flow_db_resource_add()
636 ulp_flow_db_res_params_to_info(resource, params); in ulp_flow_db_resource_add()
/dpdk/kernel/freebsd/nic_uio/
H A Dnic_uio.c38 struct resource *bar_res[MAX_BARS];
/dpdk/doc/guides/vdpadevs/
H A Difc.rst34 but will consume some percentage of CPU resource depending on the network
/dpdk/doc/guides/platform/
H A Dcnxk.rst26 RVU architecture and a resource provisioning example.
83 requests from PF/VF, AF does resource provisioning and other HW configuration.
93 resource provisioning example where,

123