automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Suanming Mou <suanmingm@nvidia.com>
Subject: |WARNING| pw116750 [PATCH 11/27] net/mlx5: add HW steering counter action
Date: Fri, 23 Sep 2022 16:49:15 +0200 (CEST)	[thread overview]
Message-ID: <20220923144915.C4E55121F02@dpdk.org> (raw)
In-Reply-To: <20220923144334.27736-12-suanmingm@nvidia.com>

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

_coding style issues_


WARNING:BAD_SIGN_OFF: Duplicate signature
#177: 
Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1185: FILE: drivers/net/mlx5/mlx5_flow_meter.c:109:
+	if (priv->sh->config.dv_esw_en && priv->master)

WARNING:REPEATED_WORD: Possible repeated word: 'the'
#1238: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:37:
+	 * In the end, user fetch the the counter from minimal to the maximum.

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1500: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:299:
+	uint32_t idx, alloced = 0;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1526: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:325:
+	alloced = cpool->dcs_mng.dcs[0].batch_sz;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1537: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:336:
+			cpool->dcs_mng.dcs[idx].iidx = alloced;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1538: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:337:
+			alloced += cpool->dcs_mng.dcs[idx].batch_sz;

CHECK:CAMELCASE: Avoid CamelCase: <PRIu32>
#1545: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:344:
+		"Cannot alloc device counter, allocated[%" PRIu32 "] request[%" PRIu32 "]",

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1546: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:345:
+		alloced, cnt_num);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1583: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:382:
+	if (priv->sh->config.dv_esw_en && priv->master)

total: 0 errors, 9 warnings, 1 checks, 1977 lines checked
Warning in drivers/net/mlx5/mlx5_hws_cnt.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t

           reply	other threads:[~2022-09-23 14:49 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220923144334.27736-12-suanmingm@nvidia.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=20220923144915.C4E55121F02@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=suanmingm@nvidia.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).