Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7230525ybh; Thu, 8 Aug 2019 12:11:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLJBPRbMIgq3Lu/pppkGHj7XEdh7+/RLfUUjlG09c1IQHCX7Zb/ofTE1zYLcM4CelDwaaM X-Received: by 2002:a62:8344:: with SMTP id h65mr17149492pfe.85.1565291483364; Thu, 08 Aug 2019 12:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565291483; cv=none; d=google.com; s=arc-20160816; b=zc4G/yML3SxilWSUoZNFzTTy23jom8odst4lsOO34nhC4rdKyG6EV0unN2T9y/j8Ul 8vCQz0hnXUBq+lappRMYfnD7cplcRfsVjtfrw0sg7S1q9MPZE8r/QGfpeIq4enTuIOG6 +u04mYF74EdSAsPlHT48Rt72SCc+goTkGwsIyOZOSKEu5BPQsUDwbpJgMUNDJTihhNbs e++f5vBXlo1OEelVd7diDNswVUncRJMLYnuLGN+jOuyn1AadYs1OQ384DZOQPT4Pg/oT 0h8/26Ivdp9tn49ByakivoQ2P9Z3cJtA+LB/YWdJWHfCxSMhAHxpiUfsGSxN5tHD4CMC grlQ== 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=uZx9Qajydt/DsPPYCqTzAOmFKfFscZFZQVXDXOfyt4I=; b=s0LTt51pYc93Hibf7tr6PilyVLwm78ceOYa6D0PxI3LrQXoxCpx9YOPSDWfB2N+Kim 0dE8p8ZRZRxxRc/U/GIPWIXQVy3cTN0nYgieYDF5uHSYOozb1gl2404LLOy/g+4jdbZI RHXP5zCW+zW3ZcLeIZl8whP0kokOJSnzogzE/TZg+tZjGNTBqJSss1/nziu/wW7ReZbF u3PXN89ulm2epuiA5Zthc5qsKSqcxIqJ2cKqqY7XUHvRPFo7bwGbuifAdRcxuGIKVF5R 7Ta/pa1jpDT/xPGzZ7mJEmmoyTZt2opqrJ4shKXs4lmkKY5+huD0JkotlxmNfcJTya4r IwKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2JpKN5EP; 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 z4si48920405plk.364.2019.08.08.12.11.08; Thu, 08 Aug 2019 12:11:23 -0700 (PDT) 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=2JpKN5EP; 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 S2404952AbfHHTIm (ORCPT + 99 others); Thu, 8 Aug 2019 15:08:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:42772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404940AbfHHTIg (ORCPT ); Thu, 8 Aug 2019 15:08:36 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 2AD862173E; Thu, 8 Aug 2019 19:08:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565291315; bh=+fdep5RJVQSc0mu4tM0fr/rxAD8tPOhZXxWz/dcPWLc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2JpKN5EPF6oX4LITzRC41KJ5nuvpDXj/YkHDf+C5YHCW26PNbngPnhon1EWm0Lp/y a5VUO2sXwm+hbQFS4GVcfByZO1fvUczSGCfResFG1Pf06oEsnZqy5EA5P4RjhwXwCa hVzM6nAqyQsbwQjtSsiSgWe244WuyO+eLVuzsKmM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sudarsana Reddy Kalluru , Manish Chopra , "David S. Miller" Subject: [PATCH 4.19 13/45] bnx2x: Disable multi-cos feature. Date: Thu, 8 Aug 2019 21:04:59 +0200 Message-Id: <20190808190454.503212078@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190808190453.827571908@linuxfoundation.org> References: <20190808190453.827571908@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Sudarsana Reddy Kalluru [ Upstream commit d1f0b5dce8fda09a7f5f04c1878f181d548e42f5 ] Commit 3968d38917eb ("bnx2x: Fix Multi-Cos.") which enabled multi-cos feature after prolonged time in driver added some regression causing numerous issues (sudden reboots, tx timeout etc.) reported by customers. We plan to backout this commit and submit proper fix once we have root cause of issues reported with this feature enabled. Fixes: 3968d38917eb ("bnx2x: Fix Multi-Cos.") Signed-off-by: Sudarsana Reddy Kalluru Signed-off-by: Manish Chopra Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c @@ -1936,8 +1936,7 @@ u16 bnx2x_select_queue(struct net_device } /* select a non-FCoE queue */ - return fallback(dev, skb, NULL) % - (BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos); + return fallback(dev, skb, NULL) % (BNX2X_NUM_ETH_QUEUES(bp)); } void bnx2x_set_num_queues(struct bnx2x *bp)