[PATCH] net/iavf: fix dev stop return value

Zhang, Qi Z qi.z.zhang at intel.com
Thu Mar 16 11:29:16 CET 2023



> -----Original Message-----
> From: Zeng, ZhichaoX <zhichaox.zeng at intel.com>
> Sent: Thursday, March 16, 2023 3:15 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Zhou, YidingX <yidingx.zhou at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Zeng, ZhichaoX <zhichaox.zeng at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>; Xing, Beilei <beilei.xing at intel.com>
> Subject: [PATCH] net/iavf: fix dev stop return value
> 
> The rte_eth_dev_stop will return wrong value as error will return from iavf
> PMD during device reset.
> 
> This patch is a around to fix it by return 0 in dev_stop during device reset.
> 
> Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Zhichao Zeng <zhichaox.zeng at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list