]> git.hungrycats.org Git - linux/commitdiff
ixgbe: fix RSS limit for X550
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 20 Nov 2015 21:02:16 +0000 (13:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Nov 2018 15:41:38 +0000 (07:41 -0800)
[ Upstream commit e9ee3238f8a480bbca58e51d02a93628d7c1f265 ]

X550 allows for up to 64 RSS queues, but the driver can have max
of 63 (-1 MSIX vector for link).

On systems with >= 64 CPUs the driver will set the redirection table
for all 64 queues which will result in packets being dropped.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/ixgbe/ixgbe.h

index 1d2174526a4c909422ada878ac9dc13c60d7c513..18e4e4a69262fede459cec53ad3d5d64516e3037 100644 (file)
@@ -312,7 +312,7 @@ enum ixgbe_ring_f_enum {
 };
 
 #define IXGBE_MAX_RSS_INDICES          16
-#define IXGBE_MAX_RSS_INDICES_X550     64
+#define IXGBE_MAX_RSS_INDICES_X550     63
 #define IXGBE_MAX_VMDQ_INDICES         64
 #define IXGBE_MAX_FDIR_INDICES         63      /* based on q_vector limit */
 #define IXGBE_MAX_FCOE_INDICES         8