From: Stephen Hemminger <stephen@networkplumber.org>
To: ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com
Cc: dev@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 1/2] net/bnxt: silence iova warnings
Date: Thu, 14 Mar 2019 14:32:13 -0700 [thread overview]
Message-ID: <20190314213214.26957-2-stephen@networkplumber.org> (raw)
Message-ID: <20190314213213.R9QjdD_ZYcEOBkvGdvYqHrR17G_k9nhkNjlFxMP-Vi8@z> (raw)
In-Reply-To: <20190314213214.26957-1-stephen@networkplumber.org>
When using bnxt on bare-metal with vfio-pci, the driver logs an
unnecessary warning. Hardware works fine, message is not urgent.
Change it to INFO level.
Fixes: 62196f4e0941 ("mem: rename address mapping function to IOVA")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/bnxt/bnxt_ethdev.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 189527207f9a..bdc6a1267a52 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -3242,10 +3242,8 @@ bnxt_dev_init(struct rte_eth_dev *eth_dev)
memset(mz->addr, 0, mz->len);
mz_phys_addr = mz->iova;
if ((unsigned long)mz->addr == mz_phys_addr) {
- PMD_DRV_LOG(WARNING,
- "Memzone physical address same as virtual.\n");
- PMD_DRV_LOG(WARNING,
- "Using rte_mem_virt2iova()\n");
+ PMD_DRV_LOG(INFO,
+ "Memzone physical address same as virtual using rte_mem_virt2iova()\n");
mz_phys_addr = rte_mem_virt2iova(mz->addr);
if (mz_phys_addr == 0) {
PMD_DRV_LOG(ERR,
--
2.17.1
next prev parent reply other threads:[~2019-03-14 21:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 21:32 [dpdk-dev] [PATCH 0/2] net/bnxt: supress warnings Stephen Hemminger
2019-03-14 21:32 ` Stephen Hemminger
2019-03-14 21:32 ` Stephen Hemminger [this message]
2019-03-14 21:32 ` [dpdk-dev] [PATCH 1/2] net/bnxt: silence iova warnings Stephen Hemminger
2019-03-15 13:03 ` Rami Rosen
2019-03-15 13:03 ` Rami Rosen
2019-03-15 18:44 ` Ajit Khaparde
2019-03-15 18:44 ` Ajit Khaparde
2019-03-14 21:32 ` [dpdk-dev] [PATCH 2/2] net/bnxt: suppress supprious error log Stephen Hemminger
2019-03-14 21:32 ` Stephen Hemminger
2019-03-15 0:04 ` Somnath Kotur
2019-03-15 0:04 ` Somnath Kotur
2019-03-15 19:02 ` [dpdk-dev] [PATCH 0/2] net/bnxt: supress warnings Ferruh Yigit
2019-03-15 19:02 ` Ferruh Yigit
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=20190314213214.26957-2-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=ajit.khaparde@broadcom.com \
--cc=dev@dpdk.org \
--cc=somnath.kotur@broadcom.com \
/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).