net/bnxt: fix Rx rings in RSS redirection table
authorSamik Gupta <samik.gupta@broadcom.com>
Thu, 12 Nov 2020 21:28:25 +0000 (13:28 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:05 +0000 (16:03 +0100)
commitd424af43e6c32aec83be8f1380271ff33ed0b89a
treec6fb58610f4c1ab78f2ae2c394757c58ec698ae6
parentc77866a1690416c279c4153d0416c15e9a26547d
net/bnxt: fix Rx rings in RSS redirection table

This commit introduces a limit on the number of RX rings included in
the RSS redirection table to a value no larger than the size supported
by Thor as defined by BNXT_RSS_TBL_SIZE_THOR.

Fixes: d819382543f3 ("net/bnxt: add RSS redirection table operations")
Cc: stable@dpdk.org
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Samik Gupta <samik.gupta@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c