Re: [dpdk-dev] [PATCH] net/ice: check Rx queue number on RSS init

2020-12-23 Thread Zhang, Qi Z
> -Original Message- > From: dapengx...@intel.com > Sent: Wednesday, December 23, 2020 1:30 PM > To: Yang, Qiming ; Zhang, Qi Z > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [PATCH] net/ice: check Rx queue number on RSS init > > From: YU DAPENG > > When RSS is initial

Re: [dpdk-dev] [PATCH] net/ice: check Rx queue number on RSS init

2020-12-22 Thread Yu, DapengX
Qiming ; Zhang, Qi Z Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org Subject: RE: [dpdk-dev] [PATCH] net/ice: check Rx queue number on RSS init Hi, Dapeng Regards, Chen Bo > -Original Message- > From: dev On Behalf Of dapengx...@intel.com > Sent: December 23, 2020 13:30 &g

Re: [dpdk-dev] [PATCH] net/ice: check Rx queue number on RSS init

2020-12-22 Thread Chen, BoX C
Hi, Dapeng Regards, Chen Bo > -Original Message- > From: dev On Behalf Of dapengx...@intel.com > Sent: December 23, 2020 13:30 > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/ice: check Rx que

[dpdk-dev] [PATCH] net/ice: check Rx queue number on RSS init

2020-12-22 Thread dapengx . yu
From: YU DAPENG 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: sta.