[dpdk-stable] [PATCH] net/ice: check Rx queue number on RSS init
Zhang, Qi Z
qi.z.zhang at intel.com
Wed Dec 23 14:49:48 CET 2020
> -----Original Message-----
> From: dapengx.yu at intel.com <dapengx.yu at intel.com>
> Sent: Wednesday, December 23, 2020 1:30 PM
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Yu, DapengX <dapengx.yu at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/ice: check Rx queue number on RSS init
>
> From: YU DAPENG <dapengx.yu at intel.com>
>
> When RSS is initialized, rx queues number is used as denominator to set default
> value into the RSS lookup table. If it is zero, there will be error of being divided
> by 0. So add value check to avoid the error.
>
> Fixes: 50370662b727 ("net/ice: support device and queue ops")
> Cc: stable at dpdk.org
>
> Signed-off-by: YU DAPENG <dapengx.yu 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