Commit 83662744 authored by Emil Tantilov's avatar Emil Tantilov Committed by Greg Kroah-Hartman

ixgbe: fix RSS limit for X550

[ Upstream commit e9ee3238 ]

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: 's avatarEmil Tantilov <emil.s.tantilov@intel.com>
Tested-by: 's avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: 's avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: 's avatarSasha Levin <sashal@kernel.org>
parent fcac753b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment