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

Ferruh Yigit ferruh.yigit at intel.com
Thu May 7 17:29:02 CEST 2020


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 ring buffer to the host can fill.
> Add some statistics to estimate the impact and see other errors.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

<...>



More information about the dev mailing list