net/netvsc: change datapath logging
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 19 May 2020 16:52:26 +0000 (09:52 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 28 May 2020 15:57:07 +0000 (17:57 +0200)
commitb757deb8e352b85fca8fc487269b1f5e70117633
treecff91415978bba84fe4fc5a19686881accd84b28
parenta41ef8eefe2e6d7214412363d05bfe50c8484225
net/netvsc: change datapath logging

The PMD_TX_LOG and PMD_RX_LOG can hide errors since this
debug log is typically disabled. Change the code to use
PMD_DRV_LOG for errors.

Under load, the ring buffer to the host can fill.
Add some statistics to estimate the impact and see other errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_ethdev.c
drivers/net/netvsc/hn_rxtx.c
drivers/net/netvsc/hn_var.h