From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rahul Lakkireddy Subject: Re: [PATCH] cxgbe: explictly mark this as pci_driver Date: Thu, 3 Dec 2015 12:36:47 +0530 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 Cc: "dev@dpdk.org" To: Stephen Hemminger 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) Content-Disposition: inline In-Reply-To: <1449094578-1562-1-git-send-email-stephen@networkplumber.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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