Re: [PATCH] drivers: fix vmxnet3 return wrong error code in initializing

2023-06-01 Thread Ferruh Yigit
On 5/28/2023 3:37 PM, root wrote: > From: Kaijun Zeng > > In vmxnet3_dev_rxtx_init(), a wrong error code may be thrown after it invokes > vmxnet3_post_rx_bufs() because it negates the error code before returning it. > It causes rte_eth_dev_start() to give a positive number to the invoker, but it

[PATCH] drivers: fix vmxnet3 return wrong error code in initializing

2023-05-30 Thread root
From: Kaijun Zeng In vmxnet3_dev_rxtx_init(), a wrong error code may be thrown after it invokes vmxnet3_post_rx_bufs() because it negates the error code before returning it. It causes rte_eth_dev_start() to give a positive number to the invoker, but it should be a negative number, as described in