From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 3/6] qede: add QLogic PCI ids Date: Sat, 20 Feb 2016 17:17:32 -0800 Message-ID: <20160220171732.326fdbdd@xeon-e3> References: <1455982831-21682-1-git-send-email-harish.patil@qlogic.com> <1455982831-21682-4-git-send-email-harish.patil@qlogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Sony Chacko To: Harish Patil Return-path: Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by dpdk.org (Postfix) with ESMTP id 2A6835690 for ; Sun, 21 Feb 2016 06:00:48 +0100 (CET) Received: by mail-pa0-f53.google.com with SMTP id fl4so72700636pad.0 for ; Sat, 20 Feb 2016 21:00:48 -0800 (PST) In-Reply-To: <1455982831-21682-4-git-send-email-harish.patil@qlogic.com> 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 Sat, 20 Feb 2016 07:40:28 -0800 Harish Patil wrote: > diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte_eal/common/include/rte_pci_dev_ids.h > index d088191..0c1a3fe 100644 > --- a/lib/librte_eal/common/include/rte_pci_dev_ids.h > +++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h > @@ -152,6 +152,14 @@ > #define RTE_PCI_DEV_ID_DECL_BNX2XVF(vend, dev) > #endif > > +#ifndef RTE_PCI_DEV_ID_DECL_QEDE > +#define RTE_PCI_DEV_ID_DECL_QEDE(vend, dev) > +#endif > + > +#ifndef RTE_PCI_DEV_ID_DECL_QEDEVF > +#define RTE_PCI_DEV_ID_DECL_QEDEVF(vend, dev) > +#endif > + > #ifndef PCI_VENDOR_ID_INTEL > /** Vendor ID used by Intel devices */ > #define PCI_VENDOR_ID_INTEL 0x8086 > @@ -177,6 +185,11 @@ > #define PCI_VENDOR_ID_BROADCOM 0x14E4 > #endif > > +#ifndef PCI_VENDOR_ID_QLOGIC > +/** Vendor ID used by QLogic devices */ > +#define PCI_VENDOR_ID_QLOGIC 0x1077 > +#endif > + The goal is get away from having every PCI id for every device stuffed into rte_pci_dev_ids.h. So it would be good not to add more now.