Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp50292imu; Thu, 8 Nov 2018 14:35:14 -0800 (PST) X-Google-Smtp-Source: AJdET5dxa1CNMTbFR7rEKbffuAaHPhOzLy18Y0zwiTMqKBNn9wGrqjiGbzddnf4C1nZVqW4H/fNv X-Received: by 2002:a62:4681:: with SMTP id o1-v6mr6473884pfi.172.1541716514529; Thu, 08 Nov 2018 14:35:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541716514; cv=none; d=google.com; s=arc-20160816; b=YHE2VPbQvTOZpTJT358hxba9LbI5IqJtU/kAiCCv23YwWgCW5q9VpvN0IQJD3zPj4K jOdKc3haFWLL0/y3Cpe2R+/CpUeLWJi/tsriA1RbPozUBwoMefd+5a+olx5Ps7E/BMDD WmFb1kEA6+gsR+Wmj2z7LIpPPM22D5YvUpQn/fUquq1C5eEBP29GzO1e1tP14Id9A+K7 rkNo35uR1rkN7gM7pBPliTfrz58wPB/FKJyF7qNvr+E0/Oapg2xKoxTaFNaxNHfXS1Kt xUeCIeUd9R1W9i8cv0G/bq+sbi7tHMydi7wd/caUWOPnu0LQTRxiI/uQGzPnQxqnNaBw osKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ip2WPZz7zYcfbNOatcq8bW9RVMNcMOCK4VanMrOYmcQ=; b=V1vviuqXqpFHA2N2FBFpXAPx/xo+pqBB3RKACO+a9fkIm+ZaUuIlaj4w1kzqRj0rjx Ob0TG/dxFWj+B5rlA9pxslgKl0C3LI1bMPpSrKeUtMLt26wruhnxAzny5UJEdPVeALIk LUYZW6Ep3lmCny69g62dlwmj4AgaobCg7vaKlXFqvLhhi8w23s9eg44+m7am2g7sLbnM SKhSrPlBnWpFKd/pZwffoSgF9BX4dNYdlaFa47ZYPkD/4V74XymL6+SECKvA2oZQk3tH +4WjigE8FW08B8cAUWJXqehtSwViJDQ+Rj0cpfOmzfop7mFFAv2asCHmZyXI8GAiB3Td ewfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D1OcbX5C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7-v6si5113648pgn.553.2018.11.08.14.34.59; Thu, 08 Nov 2018 14:35:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D1OcbX5C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729548AbeKIILB (ORCPT + 99 others); Fri, 9 Nov 2018 03:11:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:55640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729557AbeKIHh0 (ORCPT ); Fri, 9 Nov 2018 02:37:26 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0609121019; Thu, 8 Nov 2018 21:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714398; bh=2l+OfjfAIZ3NkkUjMEBlJvJny7nRRdqvuOq3tQOw/pU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D1OcbX5CXr4T67o/OmM7Ti3ZS1KMmXOtI/It0HJRRWtQ8ROuxL8eBfC1BQMz32Rze 89AOuyxv0GoAvpSEC+PYcwa7y4RlZ51iNok/fcJjmQQYzUX9+OOUcpxrpwlFwu6F4t lxJQMcoiVnE4OHQ48QZ+VY52n8LW6IztI3w9PKVc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Emil Tantilov , Phil Schmitt , Jeff Kirsher , Sasha Levin Subject: [PATCH 4.4 057/114] ixgbe: fix RSS limit for X550 Date: Thu, 8 Nov 2018 13:51:12 -0800 Message-Id: <20181108215106.271459865@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215059.051093652@linuxfoundation.org> References: <20181108215059.051093652@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher Signed-off-by: Sasha Levin --- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h index 1d2174526a4c..18e4e4a69262 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h @@ -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 -- 2.17.1