automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Shahaf Shuler <shahafs@mellanox.com>
Subject: [dpdk-test-report] |WARNING| pw39929 [PATCH 2/3] ethdev: fail if Tx queue offload is not supported at all
Date: Sun, 13 May 2018 15:32:09 +0200 (CEST)	[thread overview]
Message-ID: <20180513133209.506751CE67@dpdk.org> (raw)
In-Reply-To: <DB7PR05MB44267688484689C9ECE98B49C39D0@DB7PR05MB4426.eurprd05.prod.outlook.com>

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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#18: 
> Subject: Re: [dpdk-dev] [PATCH 2/3] ethdev: fail if Tx queue offload is not

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#104: FILE: lib/librte_ethdev/rte_ethdev.c:1730:
+       if (tx_conf->txq_flags & ETH_TXQ_FLAGS_IGNORE) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 15)
#104: FILE: lib/librte_ethdev/rte_ethdev.c:1730:
+       if (tx_conf->txq_flags & ETH_TXQ_FLAGS_IGNORE) {
[...]
+               if ((local_conf.offloads & dev_info.tx_queue_offload_capa) !=

ERROR:CODE_INDENT: code indent should use tabs where possible
#105: FILE: lib/librte_ethdev/rte_ethdev.c:1731:
+               /*$

ERROR:CODE_INDENT: code indent should use tabs where possible
#106: FILE: lib/librte_ethdev/rte_ethdev.c:1732:
+                * New added offloadings for this queue are those not enabled in$

ERROR:CODE_INDENT: code indent should use tabs where possible
#107: FILE: lib/librte_ethdev/rte_ethdev.c:1733:
+                * rte_eth_dev_configure( ) and they must be per-queue type.$

ERROR:CODE_INDENT: code indent should use tabs where possible
#108: FILE: lib/librte_ethdev/rte_ethdev.c:1734:
+                * A pure per-port offloading can't be enabled on a queue while$

ERROR:CODE_INDENT: code indent should use tabs where possible
#109: FILE: lib/librte_ethdev/rte_ethdev.c:1735:
+                * disabled on another queue. A pure per-port offloading can't$

ERROR:CODE_INDENT: code indent should use tabs where possible
#110: FILE: lib/librte_ethdev/rte_ethdev.c:1736:
+                * be enabled for any queue as new added one if it hasn't been$

ERROR:CODE_INDENT: code indent should use tabs where possible
#111: FILE: lib/librte_ethdev/rte_ethdev.c:1737:
+                * enabled in rte_eth_dev_configure( ).$

ERROR:CODE_INDENT: code indent should use tabs where possible
#112: FILE: lib/librte_ethdev/rte_ethdev.c:1738:
+                */$

ERROR:CODE_INDENT: code indent should use tabs where possible
#113: FILE: lib/librte_ethdev/rte_ethdev.c:1739:
+               if ((local_conf.offloads & dev_info.tx_queue_offload_capa) !=$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#113: FILE: lib/librte_ethdev/rte_ethdev.c:1739:
+               if ((local_conf.offloads & dev_info.tx_queue_offload_capa) !=$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (15, 23)
#113: FILE: lib/librte_ethdev/rte_ethdev.c:1739:
+               if ((local_conf.offloads & dev_info.tx_queue_offload_capa) !=
[...]
+                       ethdev_log(ERR, "Ethdev port_id=%d tx_queue_id=%d, new "

ERROR:CODE_INDENT: code indent should use tabs where possible
#114: FILE: lib/librte_ethdev/rte_ethdev.c:1740:
+                               local_conf.offloads) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#114: FILE: lib/librte_ethdev/rte_ethdev.c:1740:
+                               local_conf.offloads) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#115: FILE: lib/librte_ethdev/rte_ethdev.c:1741:
+                       ethdev_log(ERR, "Ethdev port_id=%d tx_queue_id=%d, new "$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#115: FILE: lib/librte_ethdev/rte_ethdev.c:1741:
+                       ethdev_log(ERR, "Ethdev port_id=%d tx_queue_id=%d, new "$

ERROR:CODE_INDENT: code indent should use tabs where possible
#116: FILE: lib/librte_ethdev/rte_ethdev.c:1742:
+                                       "added offloads 0x%" PRIx64 " must be "$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#116: FILE: lib/librte_ethdev/rte_ethdev.c:1742:
+                                       "added offloads 0x%" PRIx64 " must be "$

ERROR:CODE_INDENT: code indent should use tabs where possible
#117: FILE: lib/librte_ethdev/rte_ethdev.c:1743:
+                                       "within pre-queue offload capabilities "$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#117: FILE: lib/librte_ethdev/rte_ethdev.c:1743:
+                                       "within pre-queue offload capabilities "$

ERROR:CODE_INDENT: code indent should use tabs where possible
#118: FILE: lib/librte_ethdev/rte_ethdev.c:1744:
+                                       " 0x%" PRIx64 " in %s( )
",$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#118: FILE: lib/librte_ethdev/rte_ethdev.c:1744:
+                                       " 0x%" PRIx64 " in %s( )
",$

ERROR:CODE_INDENT: code indent should use tabs where possible
#119: FILE: lib/librte_ethdev/rte_ethdev.c:1745:
+                                       port_id,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#119: FILE: lib/librte_ethdev/rte_ethdev.c:1745:
+                                       port_id,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#120: FILE: lib/librte_ethdev/rte_ethdev.c:1746:
+                                       tx_queue_id,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#120: FILE: lib/librte_ethdev/rte_ethdev.c:1746:
+                                       tx_queue_id,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#121: FILE: lib/librte_ethdev/rte_ethdev.c:1747:
+                                       local_conf.offloads,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#121: FILE: lib/librte_ethdev/rte_ethdev.c:1747:
+                                       local_conf.offloads,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#122: FILE: lib/librte_ethdev/rte_ethdev.c:1748:
+                                       dev_info.tx_queue_offload_capa,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#122: FILE: lib/librte_ethdev/rte_ethdev.c:1748:
+                                       dev_info.tx_queue_offload_capa,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#123: FILE: lib/librte_ethdev/rte_ethdev.c:1749:
+                                       __func__);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#123: FILE: lib/librte_ethdev/rte_ethdev.c:1749:
+                                       __func__);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#124: FILE: lib/librte_ethdev/rte_ethdev.c:1750:
+                       return -EINVAL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#124: FILE: lib/librte_ethdev/rte_ethdev.c:1750:
+                       return -EINVAL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#125: FILE: lib/librte_ethdev/rte_ethdev.c:1751:
+               }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#125: FILE: lib/librte_ethdev/rte_ethdev.c:1751:
+               }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#126: FILE: lib/librte_ethdev/rte_ethdev.c:1752:
+       } else {$

ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 22 errors, 18 warnings, 51 lines checked

           reply	other threads:[~2018-05-13 13:32 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <DB7PR05MB44267688484689C9ECE98B49C39D0@DB7PR05MB4426.eurprd05.prod.outlook.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=20180513133209.506751CE67@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=shahafs@mellanox.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).