| /dpdk/app/test/ |
| H A D | resource.h | 25 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 D | resource.c | 16 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 D | test_resource.c | 20 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 D | test_cfgfile.c | 23 const struct resource *r; in test_cfgfile_setup() 38 const struct resource *r; in test_cfgfile_cleanup()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_dv.c | 3756 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 D | mlx5_flow_os.h | 189 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 D | mlx5_flow_os.h | 138 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 D | avp_ethdev.c | 364 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 D | ecore_mcp.h | 428 u8 resource; member 470 u8 resource; member 502 enum ecore_resc_lock resource,
|
| H A D | ecore_mcp.c | 4195 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 D | rcu_lib.rst | 166 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 D | lpm_lib.rst | 63 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 D | fib_lib.rst | 117 single table with 2\ :sup:`32` entries. This is not feasible due to resource restrictions.
|
| /dpdk/doc/guides/linux_gsg/ |
| H A D | enable_func.rst | 24 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 D | ionic_ethdev.c | 1123 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 D | vmbus_common_uio.c | 73 dev->resource[i].addr = mapaddr; in vmbus_uio_map_secondary() 144 if (dev->resource[i].len == 0) in vmbus_uio_map_primary()
|
| H A D | rte_bus_vmbus.h | 77 struct rte_mem_resource resource[VMBUS_MAX_RESOURCE]; member
|
| /dpdk/doc/guides/cryptodevs/ |
| H A D | dpaa2_sec.rst | 24 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 D | dpaa_sec.rst | 24 DPAA_SEC is one of the hardware resource in DPAA Architecture. More information
|
| /dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_uio.c | 152 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 D | vmbus_bus.c | 182 struct rte_mem_resource *res = &dev->resource[i]; in rte_vmbus_map_device()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_flow_db.c | 585 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 D | nic_uio.c | 38 struct resource *bar_res[MAX_BARS];
|
| /dpdk/doc/guides/vdpadevs/ |
| H A D | ifc.rst | 34 but will consume some percentage of CPU resource depending on the network
|
| /dpdk/doc/guides/platform/ |
| H A D | cnxk.rst | 26 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,
|