automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw76221 [PATCH v1 18/42] net/txgbe: add rx and tx init
       [not found] <20200901115113.1529675-18-jiawenwu@trustnetic.com>
@ 2020-09-08 23:27 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-08 23:27 UTC (permalink / raw)
  To: test-report; +Cc: Jiawen Wu

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/76221

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'txq->offloads == 0'
#249: FILE: drivers/net/txgbe/txgbe_rxtx.c:112:
+	if ((txq->offloads == 0) &&
+			(txq->tx_free_thresh >= RTE_PMD_TXGBE_TX_MAX_BURST)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'txq->tx_free_thresh >= RTE_PMD_TXGBE_TX_MAX_BURST'
#249: FILE: drivers/net/txgbe/txgbe_rxtx.c:112:
+	if ((txq->offloads == 0) &&
+			(txq->tx_free_thresh >= RTE_PMD_TXGBE_TX_MAX_BURST)) {

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#257: FILE: drivers/net/txgbe/txgbe_rxtx.c:120:
+				" - offloads = 0x%" PRIx64,

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#260: FILE: drivers/net/txgbe/txgbe_rxtx.c:123:
+				" - tx_free_thresh = %lu " "[RTE_PMD_TXGBE_TX_MAX_BURST=%lu]",

WARNING:TYPO_SPELLING: 'Regualr' may be misspelled - perhaps 'Regular'?
#307: FILE: drivers/net/txgbe/txgbe_rxtx.c:170:
+			PMD_INIT_LOG(DEBUG, "Using Regualr (non-vector, "

WARNING:TYPO_SPELLING: 'checkum' may be misspelled - perhaps 'checksum'?
#466: FILE: drivers/net/txgbe/txgbe_rxtx.c:329:
+	 * Enable IP/L4 checkum computation by hardware if requested to do so.

WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#553: FILE: drivers/net/txgbe/txgbe_rxtx.h:32:
+	/**< Start freeing TX buffers if there are less free descriptors than
+	     this value. */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#553: FILE: drivers/net/txgbe/txgbe_rxtx.h:32:
+	     this value. */

total: 0 errors, 5 warnings, 3 checks, 460 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-08 23:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200901115113.1529675-18-jiawenwu@trustnetic.com>
2020-09-08 23:27 ` [dpdk-test-report] |WARNING| pw76221 [PATCH v1 18/42] net/txgbe: add rx and tx init 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).