From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net/mlx4_core: Defer VF initialization till PF is fully initialized Date: Sun, 13 Apr 2014 23:16:28 -0400 (EDT) Message-ID: <20140413.231628.385494360877484074.davem@davemloft.net> References: <1397402255-9996-1-git-send-email-amirv@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, yevgenyp@mellanox.com, ogerlitz@mellanox.com, Stuart_Hayes@Dell.com To: amirv@mellanox.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:49520 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbaDNDQ3 (ORCPT ); Sun, 13 Apr 2014 23:16:29 -0400 In-Reply-To: <1397402255-9996-1-git-send-email-amirv@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Amir Vadai Date: Sun, 13 Apr 2014 18:17:35 +0300 > Fix in commit [1] is not sufficient since a deferred VF initialization > could happen after pci_enable_sriov() is finished, but before the PF is > fully initialized. > Need to prevent VFs from initializing till the PF is fully ready and > comm channel is operational. > > [1] - 9798935 "net/mlx4_core: mlx4_init_slave() shouldn't access comm > channel before PF is ready" > > CC: Stuart Hayes > Signed-off-by: Amir Vadai This patch does not apply to the current 'net' tree, please resubmit.