From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jiawen Wu <jiawenwu@trustnetic.com>
Subject: |WARNING| pw141233 [PATCH 03/19] net/txgbe: fix Tx hang on queue disable
Date: Tue, 18 Jun 2024 09:14:54 +0200 (CEST) [thread overview]
Message-ID: <20240618071454.A0502124124@dpdk.org> (raw)
In-Reply-To: <20240618071150.21564-4-jiawenwu@trustnetic.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/141233
_coding style issues_
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#58:
Disable PCIe bus master to clear BME when stop hardware, and verify there
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#60:
master to ensure that there are no packets left to cause Tx hang.
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#123: FILE: drivers/net/txgbe/base/txgbe_hw.c:497:
+ /* Prevent the PCI-E bus from hanging by disabling PCI-E master
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#126: FILE: drivers/net/txgbe/base/txgbe_hw.c:500:
+ status = txgbe_set_pcie_master(hw, false);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#140: FILE: drivers/net/txgbe/base/txgbe_hw.c:1187:
+s32 txgbe_set_pcie_master(struct txgbe_hw *hw, bool enable)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#146: FILE: drivers/net/txgbe/base/txgbe_hw.c:1193:
+ if (rte_pci_set_bus_master(pci_dev, enable) < 0) {
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#147: FILE: drivers/net/txgbe/base/txgbe_hw.c:1194:
+ DEBUGOUT("Cannot configure PCI bus master.");
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#154: FILE: drivers/net/txgbe/base/txgbe_hw.c:1201:
+ /* Exit if master requests are blocked */
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#158: FILE: drivers/net/txgbe/base/txgbe_hw.c:1205:
+ /* Poll for master request bit to clear */
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#159: FILE: drivers/net/txgbe/base/txgbe_hw.c:1206:
+ for (i = 0; i < TXGBE_PCI_MASTER_DISABLE_TIMEOUT; i++) {
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#166: FILE: drivers/net/txgbe/base/txgbe_hw.c:1213:
+ status = TXGBE_ERR_MASTER_REQUESTS_PENDING;
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#183: FILE: drivers/net/txgbe/base/txgbe_hw.h:43:
+s32 txgbe_set_pcie_master(struct txgbe_hw *hw, bool enable);
WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#221: FILE: drivers/net/txgbe/base/txgbe_type.h:32:
+#define TXGBE_PCI_MASTER_DISABLE_TIMEOUT 800
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#241: FILE: drivers/net/txgbe/txgbe_ethdev.c:1721:
+ txgbe_set_pcie_master(hw, true);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#250: FILE: drivers/net/txgbe/txgbe_ethdev.c:1986:
+ txgbe_set_pcie_master(hw, true);
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#259: FILE: drivers/net/txgbe/txgbe_ethdev.c:2070:
+ txgbe_set_pcie_master(hw, false);
total: 0 errors, 16 warnings, 0 checks, 148 lines checked
parent reply other threads:[~2024-06-18 7:16 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20240618071150.21564-4-jiawenwu@trustnetic.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=20240618071454.A0502124124@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=jiawenwu@trustnetic.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).