Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice: check Rx queue number on RSS init
[ upstream commit bfa4f64 ] 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: 5037066 ("net/ice: support device and queue ops") Signed-off-by: Dapeng Yu <dapengx.yu@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information