pdump: replace constant for device name size
[dpdk.git] / app / test-pmd / bpf_cmd.c
index 0a1a178..066619e 100644 (file)
@@ -124,9 +124,9 @@ cmdline_parse_token_string_t cmd_load_bpf_dir =
        TOKEN_STRING_INITIALIZER(struct cmd_bpf_ld_result,
                        dir, "rx#tx");
 cmdline_parse_token_num_t cmd_load_bpf_port =
-       TOKEN_NUM_INITIALIZER(struct cmd_bpf_ld_result, port, UINT8);
+       TOKEN_NUM_INITIALIZER(struct cmd_bpf_ld_result, port, RTE_UINT8);
 cmdline_parse_token_num_t cmd_load_bpf_queue =
-       TOKEN_NUM_INITIALIZER(struct cmd_bpf_ld_result, queue, UINT16);
+       TOKEN_NUM_INITIALIZER(struct cmd_bpf_ld_result, queue, RTE_UINT16);
 cmdline_parse_token_string_t cmd_load_bpf_flags =
        TOKEN_STRING_INITIALIZER(struct cmd_bpf_ld_result,
                        flags, NULL);
@@ -180,9 +180,9 @@ cmdline_parse_token_string_t cmd_unload_bpf_dir =
        TOKEN_STRING_INITIALIZER(struct cmd_bpf_unld_result,
                        dir, "rx#tx");
 cmdline_parse_token_num_t cmd_unload_bpf_port =
-       TOKEN_NUM_INITIALIZER(struct cmd_bpf_unld_result, port, UINT8);
+       TOKEN_NUM_INITIALIZER(struct cmd_bpf_unld_result, port, RTE_UINT8);
 cmdline_parse_token_num_t cmd_unload_bpf_queue =
-       TOKEN_NUM_INITIALIZER(struct cmd_bpf_unld_result, queue, UINT16);
+       TOKEN_NUM_INITIALIZER(struct cmd_bpf_unld_result, queue, RTE_UINT16);
 
 cmdline_parse_inst_t cmd_operate_bpf_unld_parse = {
        .f = cmd_operate_bpf_unld_parsed,