* |WARNING| pw121843 [PATCH 01/11] pipeline: add IPsec support
[not found] <20230111205608.87953-2-cristian.dumitrescu@intel.com>
@ 2023-01-11 20:58 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-01-11 20:58 UTC (permalink / raw)
To: test-report; +Cc: Cristian Dumitrescu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/121843
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#114: FILE: lib/pipeline/rte_swx_ipsec.c:5:
+#include <stdio.h>
WARNING:TYPO_SPELLING: 'bufer' may be misspelled - perhaps 'buffer'?
#239: FILE: lib/pipeline/rte_swx_ipsec.c:130:
+ /* Crypto device bufer pool for session private data. */
WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#818: FILE: lib/pipeline/rte_swx_ipsec.c:709:
+ n_groups = rte_ipsec_pkt_crypto_group((const struct rte_crypto_op **)(uintptr_t)ipsec->out.cops,
WARNING:TYPO_SPELLING: 'Peform' may be misspelled - perhaps 'Perform'?
#823: FILE: lib/pipeline/rte_swx_ipsec.c:714:
+ /* Peform post-crypto IPsec processing for each group of packets that share the same SA.
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1247: FILE: lib/pipeline/rte_swx_ipsec.c:1138:
+#define CHECK(condition, msg) \
+do { \
+ if (!(condition)) { \
+ if (errmsg) \
+ *errmsg = msg; \
+ goto error; \
+ } \
+} while (0)
WARNING:SPACING: space prohibited before semicolon
#1543: FILE: lib/pipeline/rte_swx_ipsec.c:1434:
+ iv_length = 11 ;
WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1561: FILE: lib/pipeline/rte_swx_ipsec.c:1452:
+ return &xform[0];
+ } else {
WARNING:LONG_LINE_COMMENT: line length of 105 exceeds 100 columns
#1767: FILE: lib/pipeline/rte_swx_ipsec.c:1658:
+ sa_prm->tun.next_proto = IPPROTO_IPIP; /* Assume input IP packet type as IPv4. */
WARNING:LONG_LINE_COMMENT: line length of 105 exceeds 100 columns
#1772: FILE: lib/pipeline/rte_swx_ipsec.c:1663:
+ sa_prm->tun.next_proto = IPPROTO_IPIP; /* Assume input IP packet type as IPv4. */
WARNING:TYPO_SPELLING: 'Aquire' may be misspelled - perhaps 'Acquire'?
#1920: FILE: lib/pipeline/rte_swx_ipsec.c:1811:
+ /* Aquire the SA resources. */
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1998: FILE: lib/pipeline/rte_swx_ipsec.h:32:
+ * ^I- IPsec block meta-data header: @see struct rte_swx_ipsec_input_packet_metadata.$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#1999: FILE: lib/pipeline/rte_swx_ipsec.h:33:
+ * ^I- IPv4 header.$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2000: FILE: lib/pipeline/rte_swx_ipsec.h:34:
+ * ^I- IPv4 payload: on the inbound path, it includes the encrypted ESP packet.$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2002: FILE: lib/pipeline/rte_swx_ipsec.h:36:
+ * ^I- IPv4 header.$
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#2003: FILE: lib/pipeline/rte_swx_ipsec.h:37:
+ * ^I- IPv4 payload: on the outbound path, it includes the encrypted ESP packet.$
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#2016: FILE: lib/pipeline/rte_swx_ipsec.h:50:
+#include <stdio.h>
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#2329: FILE: lib/pipeline/rte_swx_ipsec.h:363:
+ * @param[inout] is_blank_or_comment
WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#2332: FILE: lib/pipeline/rte_swx_ipsec.h:366:
+ * @param[inout] errmsg
total: 0 errors, 18 warnings, 2264 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-11 20:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230111205608.87953-2-cristian.dumitrescu@intel.com>
2023-01-11 20:58 ` |WARNING| pw121843 [PATCH 01/11] pipeline: add IPsec support checkpatch
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).