From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from stargate3.asicdesigners.com (stargate.chelsio.com [12.32.117.8]) by dpdk.org (Postfix) with ESMTP id 1E470B62 for ; Thu, 3 Dec 2015 08:06:54 +0100 (CET) Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate3.asicdesigners.com (8.13.8/8.13.8) with ESMTP id tB376q2v009251; Wed, 2 Dec 2015 23:06:53 -0800 Date: Thu, 3 Dec 2015 12:36:47 +0530 From: Rahul Lakkireddy To: Stephen Hemminger Message-ID: <20151203070645.GA8269@scalar.blr.asicdesigners.com> References: <1449094578-1562-1-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1449094578-1562-1-git-send-email-stephen@networkplumber.org> User-Agent: Mutt/1.5.24 (2015-08-30) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] cxgbe: explictly mark this as pci_driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 07:06:55 -0000 On Wednesday, December 12/02/15, 2015 at 14:16:18 -0800, Stephen Hemminger wrote: > The upcoming Hyper-V driver converts the pci_drv element > in struct eth_driver to a union. When vmbus is added the > pci_drv needs to be explicit. Easier to fix the issue > ahead of time. > > This is backwards compatiable with previous code. > > Signed-off-by: Stephen Hemminger > --- > drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c > index ec5d22b..97ef152 100644 > --- a/drivers/net/cxgbe/cxgbe_ethdev.c > +++ b/drivers/net/cxgbe/cxgbe_ethdev.c > @@ -847,7 +847,7 @@ out_free_adapter: > } > > static struct eth_driver rte_cxgbe_pmd = { > - { > + .pci_drv = { > .name = "rte_cxgbe_pmd", > .id_table = cxgb4_pci_tbl, > .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC, > -- > 2.1.4 > Acked-by: Rahul Lakkireddy