|WARNING| pw170525 [PATCH] net/af_packet: add capture direction option
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Oct 4 06:24:43 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/170525
_coding style issues_
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#63:
This patch adds an option capture_dir=<in|out|inout> that controls
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#67:
the same netdev is still seen. Use inout for tcpdump-like tools and
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#70:
The default is "inout" so that existing software keeps working as
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#82:
TAP and checks in/out/inout filtering.
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#114: FILE: app/test/test_pmd_af_packet.c:917:
+ * Test: capture_dir in/out/inout.
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#115: FILE: app/test/test_pmd_af_packet.c:918:
+ * Send packets; "in" must receive none, "out" and "inout" must receive them.
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#120: FILE: app/test/test_pmd_af_packet.c:923:
+ static const char * const modes[] = {"in", "out", "inout"};
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#151: FILE: app/test/test_pmd_af_packet.c:954:
+ /* Create all three capture_dir variants: in, out, and inout */
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#204: FILE: app/test/test_pmd_af_packet.c:1007:
+ TEST_ASSERT(rx[2] > 0, "Expected packets with capture_dir=inout");
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#233: FILE: doc/guides/nics/af_packet.rst:29:
+ Possible choices: in, out, inout (optional, default inout);
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#233: FILE: doc/guides/nics/af_packet.rst:29:
+ Possible choices: in, out, inout (optional, default inout);
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#331: FILE: drivers/net/af_packet/rte_eth_af_packet.c:902:
+ if (!strcmp(capture_dir, "inout"))
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#402: FILE: drivers/net/af_packet/rte_eth_af_packet.c:1355:
+ PMD_LOG(DEBUG, "%s: capture_dir %s", name, "default inout");
^^^^^
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#419: FILE: drivers/net/af_packet/rte_eth_af_packet.c:1461:
+ "capture_dir=<in|out|inout>");
^^^^^
total: 0 errors, 14 warnings, 0 checks, 288 lines checked
More information about the test-report
mailing list