| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 53 char **tokens, in cmd_mempool() argument 112 char **tokens, in cmd_link() argument 156 char **tokens, in cmd_swq() argument 197 char **tokens, in cmd_tmgr_shaper_profile() argument 423 tokens += 10; in cmd_tmgr_node() 3840 tokens++; in parse_table_action_fwd() 3895 tokens++; in parse_table_action_balance() 3964 tokens++; in parse_table_action_meter() 4030 tokens++; in parse_table_action_encap() 4264 tokens++; in parse_table_action_encap() [all …]
|
| /dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 76 name = tokens[1]; in cmd_mempool() 3136 tokens++; in parse_table_action_fwd() 3190 tokens++; in parse_table_action_balance() 3259 tokens++; in parse_table_action_meter() 3323 tokens++; in parse_table_action_encap() 3555 tokens++; in parse_table_action_encap() 4159 tokens++; in parse_table_action() 5238 tokens++; in cmd_pipeline_table_rule_stats_read() 5562 tokens++; in cmd_pipeline_table_rule_meter_read() 5808 tokens++; in cmd_pipeline_table_rule_ttl_read() [all …]
|
| /dpdk/examples/pipeline/ |
| H A D | cli.c | 128 (tokens == NULL) || in parse_tokenize_string() 179 name = tokens[1]; in cmd_mempool() 254 name = tokens[1]; in cmd_link() 466 name = tokens[1]; in cmd_ring() 512 name = tokens[1]; in cmd_tap() 540 name = tokens[1]; in cmd_pipeline_create() 1566 tokens += 4; in pipeline_selector_group_member_read() 1580 tokens += 2; in pipeline_selector_group_member_read() 2051 name = tokens[3]; in cmd_pipeline_regrd() 2099 name = tokens[3]; in cmd_pipeline_regwr() [all …]
|
| /dpdk/lib/pipeline/ |
| H A D | rte_swx_pipeline_spec.c | 173 char **tokens, in struct_block_parse() argument 862 tokens, in table_block_parse() 876 tokens, in table_block_parse() 1234 tokens, in selector_block_parse() 1788 p = tokens[3]; in regarray_statement_parse() 1798 p = tokens[5]; in regarray_statement_parse() 1860 p = tokens[3]; in metarray_statement_parse() 2286 tokens, in rte_swx_pipeline_build_from_spec() 2315 tokens, in rte_swx_pipeline_build_from_spec() 2329 tokens, in rte_swx_pipeline_build_from_spec() [all …]
|
| H A D | rte_swx_pipeline.c | 2552 char *dst = tokens[1], *src = tokens[2]; in instr_mov_translate() 2770 char *dst = tokens[1], *src = tokens[2]; in instr_alu_add_translate() 2826 char *dst = tokens[1], *src = tokens[2]; in instr_alu_sub_translate() 3855 char *dst = tokens[1], *regarray = tokens[2], *idx = tokens[3]; in instr_regrd_translate() 3916 char *regarray = tokens[1], *idx = tokens[2], *src = tokens[3]; in instr_regwr_translate() 4012 char *regarray = tokens[1], *idx = tokens[2], *src = tokens[3]; in instr_regadd_translate() 4508 char *metarray = tokens[1], *idx = tokens[2], *length = tokens[3]; in instr_meter_translate() 5013 char *a = tokens[2], *b = tokens[3]; in instr_jmp_eq_translate() 5073 char *a = tokens[2], *b = tokens[3]; in instr_jmp_neq_translate() 5133 char *a = tokens[2], *b = tokens[3]; in instr_jmp_lt_translate() [all …]
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | sp4.c | 155 if (strcmp(tokens[1], "in") == 0) { in parse_sp4_tokens() 174 " \"in\" or \"out\"\n", tokens[ti]); in parse_sp4_tokens() 181 if (strcmp(tokens[ti], "esp") == 0) { in parse_sp4_tokens() 211 tv = atoi(tokens[ti]); in parse_sp4_tokens() 213 "invalid SPI: %s", tokens[ti]); in parse_sp4_tokens() 264 if (strcmp(tokens[ti], "pri") == 0) { in parse_sp4_tokens() 295 tokens[ti]); in parse_sp4_tokens() 321 tokens[ti]); in parse_sp4_tokens() 378 "port_to\"", tokens[ti]); in parse_sp4_tokens() 402 "port_to\"", tokens[ti]); in parse_sp4_tokens() [all …]
|
| H A D | parser.c | 28 (tokens == NULL) || in parse_tokenize_string() 198 char *tokens[32]; in cfg_sp_add_cfg_item_parsed() local 218 tokens[0]); in cfg_sp_add_cfg_item_parsed() 235 .tokens = { 253 char *tokens[32]; in cfg_sa_add_cfg_item_parsed() local 275 .tokens = { 293 char *tokens[32]; in cfg_rt_add_cfg_item_parsed() local 318 .tokens = { 336 char *tokens[32]; in cfg_flow_add_cfg_item_parsed() local 361 .tokens = { [all …]
|
| H A D | sp6.c | 203 if (strcmp(tokens[1], "in") == 0) { in parse_sp6_tokens() 223 " \"in\" or \"out\"\n", tokens[ti]); in parse_sp6_tokens() 231 if (strcmp(tokens[ti], "esp") == 0) { in parse_sp6_tokens() 261 tv = atoi(tokens[ti]); in parse_sp6_tokens() 263 "invalid SPI: %s", tokens[ti]); in parse_sp6_tokens() 314 if (strcmp(tokens[ti], "pri") == 0) { in parse_sp6_tokens() 345 "addr", tokens[ti]); in parse_sp6_tokens() 399 "addr", tokens[ti]); in parse_sp6_tokens() 483 "port_to\"", tokens[ti]); in parse_sp6_tokens() 507 "port_to\"", tokens[ti]); in parse_sp6_tokens() [all …]
|
| H A D | parser.h | 32 #define APP_CHECK_TOKEN_EQUAL(tokens, index, ref, status) \ argument 33 APP_CHECK(strcmp(tokens[index], ref) == 0, status, \ 35 tokens[index], ref) 49 #define APP_CHECK_TOKEN_IS_NUM(tokens, index, status) \ argument 50 APP_CHECK(is_str_num(tokens[index]) == 0, status, \ 51 "input \"%s\" is not valid number string", tokens[index]) 74 parse_sp4_tokens(char **tokens, uint32_t n_tokens, 81 parse_sp6_tokens(char **tokens, uint32_t n_tokens, 88 parse_sa_tokens(char **tokens, uint32_t n_tokens, 92 parse_rt_tokens(char **tokens, uint32_t n_tokens,
|
| H A D | sa.c | 403 rule->spi = atoi(tokens[1]); in parse_sa_tokens() 649 tokens[ti]); in parse_sa_tokens() 661 tokens[ti]); in parse_sa_tokens() 668 "\"%s\"", tokens[ti]); in parse_sa_tokens() 692 tokens[ti]); in parse_sa_tokens() 704 tokens[ti]); in parse_sa_tokens() 730 else if (strcmp(tokens[ti], in parse_sa_tokens() 734 else if (strcmp(tokens[ti], in parse_sa_tokens() 744 tokens[ti]); in parse_sa_tokens() 823 "type %s.", tokens[ti]); in parse_sa_tokens() [all …]
|
| H A D | flow.c | 137 if (strcmp(tokens[0], "ipv4") == 0) { in parse_flow_tokens() 147 if (strcmp(tokens[ti], "src") == 0) { in parse_flow_tokens() 155 tokens[ti], status)) in parse_flow_tokens() 160 tokens[ti], status)) in parse_flow_tokens() 164 if (strcmp(tokens[ti], "dst") == 0) { in parse_flow_tokens() 172 tokens[ti], status)) in parse_flow_tokens() 177 tokens[ti], status)) in parse_flow_tokens() 182 if (strcmp(tokens[ti], "port") == 0) { in parse_flow_tokens() 190 rule->port = atoi(tokens[ti]); in parse_flow_tokens() 193 if (strcmp(tokens[ti], "queue") == 0) { in parse_flow_tokens() [all …]
|
| H A D | rt.c | 47 if (strcmp(tokens[0], "ipv4") == 0) { in parse_rt_tokens() 56 } else if (strcmp(tokens[0], "ipv6") == 0) { in parse_rt_tokens() 66 tokens[0]); in parse_rt_tokens() 71 if (strcmp(tokens[ti], "dst") == 0) { in parse_rt_tokens() 80 APP_CHECK(parse_ipv4_addr(tokens[ti], in parse_rt_tokens() 84 tokens[ti]); in parse_rt_tokens() 94 APP_CHECK(parse_ipv6_addr(tokens[ti], in parse_rt_tokens() 98 tokens[ti]); in parse_rt_tokens() 106 if (strcmp(tokens[ti], "port") == 0) { in parse_rt_tokens() 114 route_ipv4->if_out = atoi(tokens[ti]); in parse_rt_tokens() [all …]
|
| /dpdk/devtools/ |
| H A D | checkpatches.sh | 61 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 69 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 77 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 85 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 93 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 101 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 109 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 118 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 126 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ 134 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ [all …]
|
| /dpdk/app/test-cmdline/ |
| H A D | commands.c | 43 .tokens = { /* token list, NULL terminated */ 74 .tokens = { /* token list, NULL terminated */ 105 .tokens = { /* token list, NULL terminated */ 138 .tokens = { /* token list, NULL terminated */ 171 .tokens = { /* token list, NULL terminated */ 202 .tokens = { /* token list, NULL terminated */ 237 .tokens = { /* token list, NULL terminated */ 273 .tokens = { /* token list, NULL terminated */ 311 .tokens = { /* token list, NULL terminated */ 344 .tokens = { /* token list, NULL terminated */
|
| /dpdk/examples/ethtool/ethtool-app/ |
| H A D | ethapp.c | 694 .tokens = { 705 .tokens = { 717 .tokens = { 728 .tokens = { 739 .tokens = { 750 .tokens = { 760 .tokens = { 770 .tokens = { 781 .tokens = { 793 .tokens = { [all …]
|
| /dpdk/app/test/ |
| H A D | commands.c | 89 .tokens = { /* token list, NULL terminated */ 153 .tokens = { /* token list, NULL terminated */ 202 .tokens = { /* token list, NULL terminated */ 231 .tokens = { /* token list, NULL terminated */ 264 .tokens = { /* token list, NULL terminated */ 300 .tokens = { /* token list, NULL terminated */ 337 .tokens = { /* token list, NULL terminated */
|
| /dpdk/examples/qos_sched/ |
| H A D | cmdline.c | 56 .tokens = { 81 .tokens = { 122 .tokens = { 154 .tokens = { 200 .tokens = { 257 .tokens = { 332 .tokens = { 403 .tokens = { 464 .tokens = { 523 .tokens = { [all …]
|
| /dpdk/examples/multi_process/hotplug_mp/ |
| H A D | commands.c | 37 .tokens = { /* token list, NULL terminated */ 63 .tokens = { /* token list, NULL terminated */ 100 .tokens = { /* token list, NULL terminated */ 145 .tokens = { /* token list, NULL terminated */ 194 .tokens = { /* token list, NULL terminated */
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline.c | 109 .tokens = { 1196 .tokens = { 1242 .tokens = { 1289 .tokens = { 1340 .tokens = { 1384 .tokens = { 1427 .tokens = { 1469 .tokens = { 1592 .tokens = { 1668 .tokens = { [all …]
|
| H A D | cmdline_mtr.c | 286 .tokens = { 388 .tokens = { 502 .tokens = { 622 .tokens = { 698 .tokens = { 823 .tokens = { 890 .tokens = { 951 .tokens = { 1015 .tokens = { 1077 .tokens = { [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_string_fns.c | 14 char **tokens, int maxtokens, char delim) in rte_strsplit() argument 19 if (string == NULL || tokens == NULL) in rte_strsplit() 27 tokens[tok++] = &string[i]; in rte_strsplit()
|
| /dpdk/examples/vm_power_manager/ |
| H A D | vm_power_cli.c | 46 .tokens = { /* token list, NULL terminated */ 118 .tokens = { 168 .tokens = { 208 .tokens = { 287 .tokens = { 334 .tokens = { 420 .tokens = { 463 .tokens = { 516 .tokens = {
|
| /dpdk/examples/multi_process/simple_mp/ |
| H A D | mp_commands.c | 66 .tokens = { /* token list, NULL terminated */ 94 .tokens = { /* token list, NULL terminated */ 123 .tokens = { /* token list, NULL terminated */
|
| /dpdk/app/test-bbdev/ |
| H A D | main.c | 188 char *tokens[MAX_CMDLINE_TESTCASES]; in parse_args() local 227 tokens, MAX_CMDLINE_TESTCASES, tc_sep); in parse_args() 236 if (!strcmp(tokens[tc], t->command)) in parse_args() 241 tokens[tc]); in parse_args()
|
| /dpdk/app/test-eventdev/ |
| H A D | parser.c | 253 parse_tokenize_string(char *string, char *tokens[], uint32_t *n_tokens) in parse_tokenize_string() argument 258 (tokens == NULL) || in parse_tokenize_string() 263 tokens[i] = strtok_r(string, PARSE_DELIMITER, &string); in parse_tokenize_string() 264 if (tokens[i] == NULL) in parse_tokenize_string()
|