Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/dpdk/lib/telemetry/
H A Dtelemetry_json.h77 ret = __json_snprintf(buf + end, len - end, ",\"%s\"]", str); in rte_tel_json_add_array_string()
89 ret = __json_snprintf(buf + end, len - end, ",%d]", val); in rte_tel_json_add_array_int()
102 ret = __json_snprintf(buf + end, len - end, ",%"PRIu64"]", val); in rte_tel_json_add_array_u64()
118 ret = __json_snprintf(buf + end, len - end, ",%s]", str); in rte_tel_json_add_array_json()
130 int ret, end = used - 1; in rte_tel_json_add_obj_u64() local
135 ret = __json_snprintf(buf + end, len - end, ",\"%s\":%"PRIu64"}", in rte_tel_json_add_obj_u64()
148 int ret, end = used - 1; in rte_tel_json_add_obj_int() local
153 ret = __json_snprintf(buf + end, len - end, ",\"%s\":%d}", in rte_tel_json_add_obj_int()
166 int ret, end = used - 1; in rte_tel_json_add_obj_str() local
170 ret = __json_snprintf(buf + end, len - end, ",\"%s\":\"%s\"}", in rte_tel_json_add_obj_str()
[all …]
/dpdk/examples/vm_power_manager/
H A Dparse.c23 char *end = NULL; in parse_set() local
56 while (isblank(*end)) in parse_set()
57 end++; in parse_set()
58 if (*end == '-') { in parse_set()
63 } else if ((*end == ',') || (*end == ':') || (*end == '\0')) { in parse_set()
77 str = end + 1; in parse_set()
78 } while ((*end != '\0') && (*end != ':')); in parse_set()
87 char *end = NULL; in parse_branch_ratio() local
110 if (errno || end == NULL) in parse_branch_ratio()
113 if (*end != '\0') in parse_branch_ratio()
[all …]
/dpdk/lib/cmdline/
H A Dcmdline_cirbuf.c22 cbuf->end = start; in cirbuf_init()
80 cbuf->end - 1 + e); in cirbuf_add_buf_tail()
85 cbuf->end += n - e; in cirbuf_add_buf_tail()
86 cbuf->end %= cbuf->maxlen; in cirbuf_add_buf_tail()
125 cbuf->end ++; in __cirbuf_add_tail()
128 cbuf->buf[cbuf->end] = c; in __cirbuf_add_tail()
163 cbuf->end %= cbuf->maxlen; in __cirbuf_shift_left()
179 cbuf->end += 1; in __cirbuf_shift_right()
180 cbuf->end %= cbuf->maxlen; in __cirbuf_shift_right()
388 cbuf->maxlen - n + cbuf->end + 1, 0, n - cbuf->end - 1); in cirbuf_get_buf_tail()
[all …]
H A Dcmdline_parse_portlist.c36 char *end; in parse_ports() local
45 ps = strtoul(first, &end, 10); in parse_ports()
46 if (errno != 0 || end == first || in parse_ports()
47 (end[0] != '-' && end[0] != 0 && end != last)) in parse_ports()
51 if (end[0] == '-') { in parse_ports()
53 first = end + 1; in parse_ports()
54 pe = strtoul(first, &end, 10); in parse_ports()
55 if (errno != 0 || end == first || in parse_ports()
56 (end[0] != 0 && end != last)) in parse_ports()
/dpdk/examples/server_node_efd/server/
H A Dargs.c51 char *end = NULL; in parse_portmask() local
59 pm = strtoul(portmask, &end, 16); in parse_portmask()
60 if (end == NULL || *end != '\0' || pm == 0) in parse_portmask()
86 char *end = NULL; in parse_num_nodes() local
92 temp = strtoul(nodes, &end, 10); in parse_num_nodes()
93 if (end == NULL || *end != '\0' || temp == 0) in parse_num_nodes()
103 char *end = NULL; in parse_num_flows() local
106 num_flows = strtoul(flows, &end, 16); in parse_num_flows()
107 if ((flows[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_num_flows()
/dpdk/examples/vm_power_manager/guest_cli/
H A Dparse.c24 char *end = NULL; in parse_set() local
52 idx = strtoul(str, &end, 10); in parse_set()
53 if (errno || end == NULL || idx >= num) in parse_set()
57 while (isblank(*end)) in parse_set()
58 end++; in parse_set()
59 if (*end == '-') { in parse_set()
64 } else if ((*end == ',') || (*end == '\0')) { in parse_set()
78 str = end + 1; in parse_set()
79 } while (*end != '\0'); in parse_set()
/dpdk/drivers/bus/pci/windows/
H A Dpci_netuio.c52 goto end; in get_netuio_device_information_set()
60 goto end; in get_netuio_device_information_set()
62 end: in get_netuio_device_information_set()
81 goto end; in get_netuio_device_interface_detail()
99 goto end; in get_netuio_device_interface_detail()
109 goto end; in get_netuio_device_interface_detail()
112 end: in get_netuio_device_interface_detail()
133 goto end; in get_netuio_device_info()
138 goto end; in get_netuio_device_info()
152 goto end; in get_netuio_device_info()
[all …]
/dpdk/lib/eal/common/
H A Deal_common_options.c852 end++; in eal_parse_service_corelist()
855 } else if ((*end == ',') || (*end == '\0')) { in eal_parse_service_corelist()
926 end++; in eal_parse_corelist()
929 } else if ((*end == ',') || (*end == '\0')) { in eal_parse_corelist()
1046 idx = strtoul(end, &end, 10); in eal_parse_set()
1052 if (*end != ',' && *end != '\0') in eal_parse_set()
1056 if (*end != ',' && *end != '\0' && in eal_parse_set()
1092 end++; in eal_parse_set()
1098 } else if ((*end == ',') || (*end == ')')) { in eal_parse_set()
1111 } while (*end != '\0' && *end != ')'); in eal_parse_set()
[all …]
/dpdk/examples/l2fwd-cat/
H A Dcat.c82 end++; in parse_set()
88 end++; in parse_set()
90 end++; in parse_set()
95 idx = strtoul(end, &end, 10); in parse_set()
100 end++; in parse_set()
101 if (*end != ',' && *end != '\0') in parse_set()
105 if (*end != ',' && *end != '\0' && *end != '@') in parse_set()
139 end++; in parse_set()
145 } else if ((*end == ',') || (*end == ')')) { in parse_set()
158 } while (*end != '\0' && *end != ')'); in parse_set()
[all …]
/dpdk/examples/l3fwd-power/
H A Dperf_core.c121 char *end; in parse_perf_config() local
152 int_fld[i] = strtoul(str_fld[i], &end, 0); in parse_perf_config()
180 char *end = NULL; in parse_perf_core_list() local
204 idx = strtoul(corelist, &end, 10); in parse_perf_core_list()
205 if (errno || end == NULL) in parse_perf_core_list()
207 while (isblank(*end)) in parse_perf_core_list()
208 end++; in parse_perf_core_list()
209 if (*end == '-') { in parse_perf_core_list()
211 } else if ((*end == ',') || (*end == '\0')) { in parse_perf_core_list()
224 corelist = end + 1; in parse_perf_core_list()
[all …]
/dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dargs.c47 char *end = NULL; in parse_portmask() local
56 pm = strtoull(portmask, &end, 16); in parse_portmask()
57 if (errno != 0 || end == NULL || *end != '\0') in parse_portmask()
85 char *end = NULL; in parse_num_clients() local
91 temp = strtoul(clients, &end, 10); in parse_num_clients()
92 if (end == NULL || *end != '\0' || temp == 0) in parse_num_clients()
/dpdk/drivers/net/i40e/
H A Di40e_rxtx_vec_common.h28 if (end != NULL) { in reassemble_packets()
30 end->next = rx_bufs[buf_idx]; in reassemble_packets()
35 end = end->next; in reassemble_packets()
39 start->hash = end->hash; in reassemble_packets()
40 start->vlan_tci = end->vlan_tci; in reassemble_packets()
45 end->data_len -= rxq->crc_len; in reassemble_packets()
54 end->data_len); in reassemble_packets()
56 rte_pktmbuf_free_seg(end); in reassemble_packets()
59 start = end = NULL; in reassemble_packets()
68 end = start = rx_bufs[buf_idx]; in reassemble_packets()
[all …]
/dpdk/app/test-pmd/
H A Dparameters.c254 char *end; in parse_fwd_coremask() local
258 end = NULL; in parse_fwd_coremask()
260 if ((coremask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_fwd_coremask()
273 char *end; in parse_fwd_portmask() local
277 end = NULL; in parse_fwd_portmask()
302 char *end; in parse_portnuma_config() local
358 char *end; in parse_ringnuma_config() local
810 char *end; in launch_args_parse() local
813 if (end == optarg || !end) in launch_args_parse()
817 *end++ = 0; in launch_args_parse()
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx_vec_common.h23 if (end != NULL) { in reassemble_packets()
25 end->next = rx_bufs[buf_idx]; in reassemble_packets()
30 end = end->next; in reassemble_packets()
34 start->hash = end->hash; in reassemble_packets()
35 start->ol_flags = end->ol_flags; in reassemble_packets()
39 end->data_len -= rxq->crc_len; in reassemble_packets()
48 end->data_len); in reassemble_packets()
50 rte_pktmbuf_free_seg(end); in reassemble_packets()
53 start = end = NULL; in reassemble_packets()
62 end = start = rx_bufs[buf_idx]; in reassemble_packets()
[all …]
/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_verify.c123 goto end; in main_loop()
163 goto end; in main_loop()
194 goto end; in main_loop()
205 goto end; in main_loop()
286 goto end; in main_loop()
370 end: in main_loop()
400 goto end; in cperf_verify_test_runner()
405 goto end; in cperf_verify_test_runner()
415 goto end; in cperf_verify_test_runner()
423 goto end; in cperf_verify_test_runner()
[all …]
/dpdk/drivers/net/ice/
H A Dice_rxtx_vec_common.h24 if (end) { in ice_rx_reassemble_packets()
26 end->next = rx_bufs[buf_idx]; in ice_rx_reassemble_packets()
31 end = end->next; in ice_rx_reassemble_packets()
35 start->hash = end->hash; in ice_rx_reassemble_packets()
36 start->vlan_tci = end->vlan_tci; in ice_rx_reassemble_packets()
41 end->data_len -= rxq->crc_len; in ice_rx_reassemble_packets()
50 end->data_len); in ice_rx_reassemble_packets()
52 rte_pktmbuf_free_seg(end); in ice_rx_reassemble_packets()
56 end = NULL; in ice_rx_reassemble_packets()
66 end = start; in ice_rx_reassemble_packets()
[all …]
/dpdk/lib/pci/
H A Drte_pci.c19 char *end; in get_u8_pciaddr_field() local
32 val = strtoul(in, &end, 16); in get_u8_pciaddr_field()
33 if (errno != 0 || end[0] != dlm || val > UINT8_MAX) { in get_u8_pciaddr_field()
38 return end + 1; in get_u8_pciaddr_field()
64 char *end; in pci_dbdf_parse() local
73 val = strtoul(in, &end, 16); in pci_dbdf_parse()
78 if (errno != 0 || end[0] != ':' || val > UINT32_MAX) in pci_dbdf_parse()
81 in = end + 1; in pci_dbdf_parse()
/dpdk/drivers/bus/ifpga/
H A Difpga_bus.c115 goto end; in ifpga_scan_one()
123 goto end; in ifpga_scan_one()
128 goto end; in ifpga_scan_one()
136 goto end; in ifpga_scan_one()
147 goto end; in ifpga_scan_one()
151 goto end; in ifpga_scan_one()
167 goto end; in ifpga_scan_one()
176 goto end; in ifpga_scan_one()
184 goto end; in ifpga_scan_one()
193 end: in ifpga_scan_one()
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dflow_filtering.rst59 :end-before: >8 End of Initialization of EAL.
90 :end-before: >8 End of creating flow for send packet with.
100 :end-before: >8 End of launching main_loop().
139 :end-before: >8 End of create flow and the flow rule.
155 :end-before: >8 End of starting the port.
177 :end-before: >8 End of main_loop for flow filtering.
200 :end-before: >8 End of declaring structs being used.
208 :end-before: >8 End of setting the rule attribute.
217 :end-before: >8 End of setting the rule attribute.
243 :start-after: The final level must be always type end. 8<
[all …]
/dpdk/drivers/net/virtio/
H A Dvirtio_user_ethdev.c507 goto end; in virtio_user_pmd_probe()
515 goto end; in virtio_user_pmd_probe()
520 goto end; in virtio_user_pmd_probe()
528 goto end; in virtio_user_pmd_probe()
538 goto end; in virtio_user_pmd_probe()
616 goto end; in virtio_user_pmd_probe()
623 goto end; in virtio_user_pmd_probe()
647 goto end; in virtio_user_pmd_probe()
657 goto end; in virtio_user_pmd_probe()
671 goto end; in virtio_user_pmd_probe()
[all …]
/dpdk/app/test-eventdev/
H A Dparser.c317 char *end = NULL; in parse_lcores_list() local
334 idx = strtoul(corelist, &end, 10); in parse_lcores_list()
338 if (end == NULL) in parse_lcores_list()
340 while (isblank(*end)) in parse_lcores_list()
341 end++; in parse_lcores_list()
342 if (*end == '-') { in parse_lcores_list()
344 } else if ((*end == ',') || (*end == '\0')) { in parse_lcores_list()
357 corelist = end + 1; in parse_lcores_list()
358 } while (*end != '\0'); in parse_lcores_list()
/dpdk/lib/hash/
H A Drte_thash.c380 uint32_t start, uint32_t end) in generate_subkey() argument
383 uint32_t req_bits = (start < end) ? (end - start) : (start - end); in generate_subkey()
395 if (start < end) { in generate_subkey()
397 for (i = start; i <= end; i++) in generate_subkey()
456 if (end < cur_ent->offset) { in insert_before()
489 if (end > range_end) { in insert_before()
527 if (end > range_end) { in insert_after()
552 uint32_t start, end; in rte_thash_add_helper() local
579 ent->len = end - start; in rte_thash_add_helper()
601 start, end, range_end); in rte_thash_add_helper()
[all …]
/dpdk/lib/eal/windows/
H A Deal_timer.c39 goto end; in rte_delay_us_sleep()
47 end: in rte_delay_us_sleep()
57 uint64_t end, start; in get_tsc_freq() local
70 end = rte_get_tsc_cycles(); in get_tsc_freq()
82 tsc_hz = (uint64_t)((end - start)/secs); in get_tsc_freq()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_mr.c25 uintptr_t end; member
32 uintptr_t end; member
151 if (addr < lkp_tbl[base].end) in mr_btree_lookup()
339 uintptr_t end = 0; in mr_find_next_chunk() local
377 entry->end = end; in mr_find_next_chunk()
410 if (!entry.end) in mlx5_mr_insert_cache()
764 if (data.start != data_re.start || data.end != data_re.end) { in mlx5_mr_create_primary()
1261 if (!ret.end) in mlx5_mr_dump_cache()
1432 chunks[contig_n - 1].end = chunks[i - 1].end; in mlx5_get_mempool_ranges()
1437 chunks[contig_n - 1].end = chunks[i - 1].end; in mlx5_get_mempool_ranges()
[all …]
/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_hwinfo.c37 const char *key, *val, *end = hwinfo->data + size; in nfp_hwinfo_db_walk() local
39 for (key = hwinfo->data; *key && key < end; in nfp_hwinfo_db_walk()
42 if (val >= end) { in nfp_hwinfo_db_walk()
47 if (val + strlen(val) + 1 > end) { in nfp_hwinfo_db_walk()
183 const char *key, *val, *end; in nfp_hwinfo_lookup() local
188 end = hwinfo->data + hwinfo->size - sizeof(uint32_t); in nfp_hwinfo_lookup()
190 for (key = hwinfo->data; *key && key < end; in nfp_hwinfo_lookup()

12345678910>>...13