Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp340062ybl; Fri, 9 Aug 2019 06:50:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzp9SfpjemtQdx6ebmEKbrJ93fsqd7udQgXEHHnbOQES6w2Ycltaa2jTuy3Ka4dJ0v51yvB X-Received: by 2002:a17:902:6b0c:: with SMTP id o12mr18600195plk.113.1565358605195; Fri, 09 Aug 2019 06:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565358605; cv=none; d=google.com; s=arc-20160816; b=C8Bo9RPkWmUfzBWkJrKcjK6++8o+AvslZDqbmvq7NLrnKWqCQhvDjKgmVbwGle6wh4 R+oPKqZfuonZL3qShxk0ANPSxC6/NOdVWu1K2U2SRiIQBkk+tPdWu5mqGc2fm1gIf8iJ J0mhZ3q6xEneBDy4Wq1zmLSN08jZ2zbjq03euSOxwzdzp7aPZuJDB2dtG7W3XoRwwMQ5 /ilYy6EX3d9yMET8ON01wt3JWrHRvDMQnWBATQ9t017uLysIoQ6HRuIH5GyucFJAterK GcUvghsT9navfnJODBhxX0SUWMY9a0fEmo6L3M3hzgheT8DWGG6mEfulDOErvtCWV0hO pVoA== 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=HyLlq0TVd2hDVreN3NCxxmoHgstGq441MlDTAyiny4w=; b=0/ASCtsy8mNFiyfhLhDd5aIHZG/VxcUir4rgJoacQrmPoatNlM9jdGul8muN2WxVyr bFtzmRG7CRJXGD27tkrpTrijo0WXud9YIIfgiqnjSM2WBXeAXwsQqAeDCD+FHEyLY4MY A0mNt1YN97SSA5wfsT1wRjoAysKK6uGBO64wlQJRR2WmMymlG5hzq9Ml7BhPlsLDI+VM b6FHT2G3ipYue+Ve0Nsc5f9eW/lfJfmwxrp8YNqZOmoaRl4DSWiDmDoM0Jm1R06rfLZG YVmYbDKM+w2WT6L90GIpBGU8RqgfA++tzjYf+HI1zEyGhRAFWaDAY7QaOxYpN/SG1CHv 5tdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LokyGOdB; 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 q187si54790403pfb.51.2019.08.09.06.49.48; Fri, 09 Aug 2019 06:50:05 -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=LokyGOdB; 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 S2406782AbfHINr3 (ORCPT + 99 others); Fri, 9 Aug 2019 09:47:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:37328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407237AbfHINrV (ORCPT ); Fri, 9 Aug 2019 09:47:21 -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 4F34D2171F; Fri, 9 Aug 2019 13:47:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565358440; bh=VsUmP/kU2gDB6qlR1FWH3MP5F0sOQc0IFcrb/hQNgU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LokyGOdBlVwobPZisTG0WCj4twPl5xKTAYlgX/wpR8eAGtmCPjI2UGesAaCx62jSO PuY/PjrTKdMcoji8FhSQFC39medLpAFPfL7HyX9rTCPIyg8Ry1YDzeqkEWooKfMDee 6LasTEPOyLtRyjFnpyIHGojiLLqpU/DvgGYu7GUI= 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.9 25/32] bnx2x: Disable multi-cos feature. Date: Fri, 9 Aug 2019 15:45:28 +0200 Message-Id: <20190809133923.742613826@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190809133922.945349906@linuxfoundation.org> References: <20190809133922.945349906@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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c @@ -1939,7 +1939,7 @@ u16 bnx2x_select_queue(struct net_device } /* select a non-FCoE queue */ - return fallback(dev, skb) % (BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos); + return fallback(dev, skb) % (BNX2X_NUM_ETH_QUEUES(bp)); } void bnx2x_set_num_queues(struct bnx2x *bp)