summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-03-14 14:32:13 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-20 18:15:42 +0100
commitf06515964aaeba46d2742347a9250bb4e2376512 (patch)
treeb60a14c6f3a29d943148d3154f268c764f80cfc4
parent19a2a837da00dc22d419b60ab8b090f886edf1d6 (diff)
downloaddpdk-f06515964aaeba46d2742347a9250bb4e2376512.zip
dpdk-f06515964aaeba46d2742347a9250bb4e2376512.tar.gz
dpdk-f06515964aaeba46d2742347a9250bb4e2376512.tar.xz
net/bnxt: silence IOVA warnings
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") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Rami Rosen <ramirose@gmail.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
-rw-r--r--drivers/net/bnxt/bnxt_ethdev.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index b5d8128..78ab07d 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -3242,10 +3242,8 @@ skip_init:
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,