Re: [dpdk-dev] [PATCH v2 3/4] net/netvsc: change tx/rx error handling

2020-05-07 Thread Ferruh Yigit
On 5/6/2020 8:52 PM, Stephen Hemminger wrote: > The PMD_TX_LOG and PMD_RX_LOG can hide errors since the > debug log is typically disabled. Change the code to use > PMD_DRV_LOG for errors. This will cost additional cycles in fast path, but I assume you know and accept it. > > Under load, the rin

[dpdk-dev] [PATCH v2 3/4] net/netvsc: change tx/rx error handling

2020-05-06 Thread Stephen Hemminger
The PMD_TX_LOG and PMD_RX_LOG can hide errors since the 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 --- drivers