From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: |WARNING| pw155419 [PATCH v6 5/9] eal: define the EAL parameters in argparse format
Date: Tue, 22 Jul 2025 16:03:54 +0200 (CEST) [thread overview]
Message-ID: <20250722140354.83038125310@dpdk.org> (raw)
In-Reply-To: <20250722140316.3568603-6-bruce.richardson@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155419
_coding style issues_
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#137: FILE: lib/eal/common/eal_common_options.c:70:
+#define LIST_ARG(long, short, help_str, fieldname) struct arg_list fieldname;
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#138: FILE: lib/eal/common/eal_common_options.c:71:
+#define STR_ARG(long, short, help_str, fieldname) char *fieldname;
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#139: FILE: lib/eal/common/eal_common_options.c:72:
+#define OPT_STR_ARG(long, short, help_str, fieldname) char *fieldname;
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#140: FILE: lib/eal/common/eal_common_options.c:73:
+#define BOOL_ARG(long, short, help_str, fieldname) bool fieldname;
WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#237: FILE: lib/eal/common/eal_common_options.c:170:
+ .epilog = "For more information on EAL options, see the DPDK documentation at:
"
WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#302: FILE: lib/eal/common/eal_option_list.h:35:
+LIST_ARG("--allow", "-a", "Add device to allow-list, causing DPDK to only use specified devices", allow)
WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#306: FILE: lib/eal/common/eal_option_list.h:39:
+LIST_ARG("--driver-path", "-d", "Path to external driver shared object, or directory of drivers", driver_path)
WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#307: FILE: lib/eal/common/eal_option_list.h:40:
+STR_ARG("--force-max-simd-bitwidth", NULL, "Set max SIMD bitwidth to use in vector code paths", force_max_simd_bitwidth)
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#308: FILE: lib/eal/common/eal_option_list.h:41:
+OPT_STR_ARG("--huge-unlink", NULL, "Unlink hugetlbfs files on exit (existing|always|never)", huge_unlink)
WARNING:LONG_LINE: line length of 136 exceeds 100 columns
#309: FILE: lib/eal/common/eal_option_list.h:42:
+BOOL_ARG("--in-memory", NULL, "DPDK should not create shared mmap files in filesystem (disables secondary process support)", in_memory)
WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#314: FILE: lib/eal/common/eal_option_list.h:47:
+STR_ARG("--log-level", NULL, "Log level for loggers; use log-level=help for list of log types and levels", log_level)
WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#328: FILE: lib/eal/common/eal_option_list.h:61:
+STR_ARG("--service-coremask", "-s", "Hexadecimal bitmask of cores to use for service threads", service_coremask)
WARNING:LONG_LINE: line length of 127 exceeds 100 columns
#329: FILE: lib/eal/common/eal_option_list.h:62:
+BOOL_ARG("--single-file-segments", NULL, "Store all pages within single files (per-page-size, per-node)", single_file_segments)
WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#331: FILE: lib/eal/common/eal_option_list.h:64:
+LIST_ARG("--vdev", NULL, "Add a virtual device to the system; format=<driver><id>[,key=val,...]", vdev)
WARNING:LONG_LINE: line length of 138 exceeds 100 columns
#349: FILE: lib/eal/common/eal_option_list.h:82:
+OPT_STR_ARG("--huge-worker-stack", NULL, "Allocate worker thread stacks from hugepage memory, with optional size (kB)", huge_worker_stack)
WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#352: FILE: lib/eal/common/eal_option_list.h:85:
+STR_ARG("--numa-limit", NULL, "Limit memory allocation on NUMA nodes (comma separated values)", numa_limit)
total: 0 errors, 16 warnings, 263 lines checked
parent reply other threads:[~2025-07-22 14:05 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250722140316.3568603-6-bruce.richardson@intel.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250722140354.83038125310@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=bruce.richardson@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).