From: Stephen Hemminger Date: Thu, 14 Mar 2019 21:32:13 +0000 (-0700) Subject: net/bnxt: silence IOVA warnings X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f06515964aaeba46d2742347a9250bb4e2376512;p=dpdk.git 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 Reviewed-by: Rami Rosen Acked-by: Ajit Khaparde --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index b5d8128cf3..78ab07d0c5 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,