Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755117AbdDQREV (ORCPT ); Mon, 17 Apr 2017 13:04:21 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:55438 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754959AbdDQRET (ORCPT ); Mon, 17 Apr 2017 13:04:19 -0400 Date: Mon, 17 Apr 2017 13:04:17 -0400 (EDT) Message-Id: <20170417.130417.1899748229201291787.davem@davemloft.net> To: george.cherian@cavium.com Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, rric@kernel.org, sgoutham@cavium.com Subject: Re: [PATCH] net: thunderx: Fix set_max_bgx_per_node for 81xx rgx From: David Miller In-Reply-To: <1492068301-1141-1-git-send-email-george.cherian@cavium.com> References: <1492068301-1141-1-git-send-email-george.cherian@cavium.com> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 17 Apr 2017 09:22:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 512 Lines: 14 From: George Cherian Date: Thu, 13 Apr 2017 07:25:01 +0000 > Add the PCI_SUBSYS_DEVID_81XX_RGX and use the same to set > the max bgx per node count. > > This fixes the issue intoduced by following commit > 78aacb6f6 net: thunderx: Fix invalid mac addresses for node1 interfaces > With this commit the max_bgx_per_node for 81xx is set as 2 instead of 3 > because of which num_vfs is always calculated as zero. > > Signed-off-by: George Cherian Applied.