automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Bing Zhao <bingz@nvidia.com>
Subject: |WARNING| pw137463 [PATCH] net/mlx5: fix the counters map in bonding mode
Date: Thu, 29 Feb 2024 10:37:15 +0100 (CET)	[thread overview]
Message-ID: <20240229093715.55C83122320@dpdk.org> (raw)
In-Reply-To: <20240229093456.306768-1-bingz@nvidia.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#232: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1336:
+ * @param bond_master

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#233: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1337:
+ *   Indicate if the device is a bond master.

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#243: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1346:
+mlx5_os_read_dev_counters(struct rte_eth_dev *dev, bool bond_master, uint64_t *stats)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#252: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1354:
+	if (bond_master) {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#287: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1389:
+ * @param bond_master

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#288: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1390:
+ *   Indicate if the device is a bond master.

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#301: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1400:
+mlx5_os_get_stats_n(struct rte_eth_dev *dev, bool bond_master,

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#313: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1411:
+	if (bond_master) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#319: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1416:
+				" statistics for the 1st slave, %d", PORT_ID(priv), ret);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#327: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1424:
+				" statistics for the 2nd slave, %d", PORT_ID(priv), ret);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#354: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1661:
+mlx5_os_get_stats_strings(struct rte_eth_dev *dev, bool bond_master,

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#370: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1677:
+	if (bond_master)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#395: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1702:
+	if (!bond_master) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#411: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1718:
+		DRV_LOG(WARNING, "port %u unable to get statistic names for 2nd slave with %d",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#415: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1722:
+	/* The 2nd slave port may have a different strings set, based on the configuration. */

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#425: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1732:
+					/* Already mapped in the 1st slave port. */

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#465: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1773:
+	bool bond_master = (priv->master && priv->pf_bond >= 0);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#465: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1773:
+	bool bond_master = (priv->master && priv->pf_bond >= 0);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#470: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1777:
+	ret = mlx5_os_get_stats_n(dev, bond_master, &dev_stats_n, &dev_stats_n_2nd);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#502: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1794:
+	ret = mlx5_os_get_stats_strings(dev, bond_master, strings,

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#538: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1804:
+	ret = mlx5_os_read_dev_counters(dev, bond_master, xstats_ctrl->base);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#576: FILE: drivers/net/mlx5/mlx5.h:2182:
+int mlx5_os_read_dev_counters(struct rte_eth_dev *dev, bool bond_master, uint64_t *stats);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#577: FILE: drivers/net/mlx5/mlx5.h:2183:
+int mlx5_os_get_stats_n(struct rte_eth_dev *dev, bool bond_master,

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#598: FILE: drivers/net/mlx5/mlx5_stats.c:48:
+	bool bond_master = (priv->master && priv->pf_bond >= 0);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#598: FILE: drivers/net/mlx5/mlx5_stats.c:48:
+	bool bond_master = (priv->master && priv->pf_bond >= 0);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#608: FILE: drivers/net/mlx5/mlx5_stats.c:53:
+		ret = mlx5_os_get_stats_n(dev, bond_master, &stats_n, &stats_n_2nd);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#621: FILE: drivers/net/mlx5/mlx5_stats.c:66:
+		    (bond_master && xstats_ctrl->stats_n_2nd != stats_n_2nd))

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#625: FILE: drivers/net/mlx5/mlx5_stats.c:68:
+		ret = mlx5_os_read_dev_counters(dev, bond_master, counters);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#643: FILE: drivers/net/mlx5/mlx5_stats.c:245:
+	bool bond_master = (priv->master && priv->pf_bond >= 0);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#643: FILE: drivers/net/mlx5/mlx5_stats.c:245:
+	bool bond_master = (priv->master && priv->pf_bond >= 0);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#647: FILE: drivers/net/mlx5/mlx5_stats.c:247:
+	ret = mlx5_os_get_stats_n(dev, bond_master, &stats_n, &stats_n_2nd);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#657: FILE: drivers/net/mlx5/mlx5_stats.c:254:
+	    (bond_master && xstats_ctrl->stats_n_2nd != stats_n_2nd))

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#674: FILE: drivers/net/mlx5/mlx5_stats.c:265:
+	ret = mlx5_os_read_dev_counters(dev, bond_master, counters);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#692: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:186:
+ * @param bond_master

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#693: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:187:
+ *   Indicate if the device is a bond master.

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#706: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:197:
+mlx5_os_get_stats_n(struct rte_eth_dev *dev, bool bond_master,

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#710: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:201:
+	RTE_SET_USED(bond_master);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#720: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:233:
+ * @param bond_master

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#721: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:234:
+ *   Indicate if the device is a bond master.

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#730: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:243:
+mlx5_os_read_dev_counters(struct rte_eth_dev *dev, bool bond_master, uint64_t *stats)

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#733: FILE: drivers/net/mlx5/windows/mlx5_ethdev_os.c:246:
+	RTE_SET_USED(bond_master);

total: 0 errors, 41 warnings, 0 checks, 532 lines checked

  parent reply	other threads:[~2024-02-29  9:37 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240229093456.306768-1-bingz@nvidia.com>
2024-02-29  9:16 ` |SUCCESS| " qemudev
2024-02-29  9:20 ` qemudev
2024-02-29  9:37 ` checkpatch [this message]
2024-02-29 10:24 ` 0-day Robot
2024-02-29 10:29 ` |SUCCESS| pw137463 [PATCH] net/mlx5: fix the counters map in bonding dpdklab
2024-02-29 10:30 ` dpdklab
2024-02-29 10:30 ` dpdklab
2024-02-29 10:30 ` dpdklab
2024-02-29 10:30 ` dpdklab
2024-02-29 10:30 ` dpdklab
2024-02-29 10:31 ` dpdklab
2024-02-29 10:31 ` dpdklab
2024-02-29 10:31 ` dpdklab
2024-02-29 10:31 ` dpdklab
2024-02-29 10:31 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:32 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:33 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:34 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:35 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:36 ` dpdklab
2024-02-29 10:37 ` dpdklab
2024-02-29 10:37 ` dpdklab
2024-02-29 10:38 ` dpdklab
2024-02-29 10:38 ` dpdklab
2024-02-29 10:39 ` dpdklab
2024-02-29 10:40 ` dpdklab
2024-02-29 10:42 ` dpdklab
2024-02-29 10:42 ` dpdklab
2024-02-29 10:42 ` dpdklab
2024-02-29 10:42 ` dpdklab
2024-02-29 10:45 ` dpdklab
2024-02-29 10:52 ` dpdklab
2024-02-29 10:56 ` dpdklab
2024-02-29 11:06 ` dpdklab
2024-02-29 12:04 ` dpdklab
2024-03-01  4:39 ` dpdklab
2024-03-01  4:46 ` dpdklab
2024-03-01  4:47 ` dpdklab
2024-03-01  4:50 ` dpdklab
2024-03-02  3:41 ` dpdklab
2024-03-02 15:39 ` dpdklab
2024-03-02 16:12 ` dpdklab
2024-03-02 16:45 ` dpdklab

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=20240229093715.55C83122320@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=bingz@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).