From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Ajx1LDkgMoBS7GTck3Trk6r5waIHwbJM9CfarPjMKFc=; b=m6zmwj+1Xplmh+sX5REkSh9UFVymAuRqZKNYVvPMS5ah08lHalHLLuxfM45SHuscxD 7lo2J76vFemlrZG0i100voWIUgCduylD4lL4rseaW4WZnwhKhZAjyYSIAeJUO0DQtr7m GTCLKbKfYSl/45XtKxs4rS8wZg4wKDeDv92HDU7LI7WP9WTOxNGOj0kledefksZRVkLL Muz4TxRnkTDmxZ3GSqEViPppGwzmEfJx81NZnq0Z1JMXh/eFBQXxKu/DAliW0NxrLkkZ sIsUXiQeSlUbamgTBr9nI8P18kb53qrhMHltOJ1Z5AESIfpErAABt9E5AvtKlkYfOuk/ eWXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=Ajx1LDkgMoBS7GTck3Trk6r5waIHwbJM9CfarPjMKFc=; b=fjELE4XOdVrZlXpgTOEtXEYWNYba1xt6YKlSSaNN0hI7/YbJbdLCtiJNEFjWIHUlU9 rqPBvq8B9HI20dyJC26OIswnRrWMsRA36MPbyAx4wER9wUX52vT0kkiwUuIzft9UPE64 iRkU6j+ncDGjWxYOXRe3RV6WMKjXroVpQIu3EKB6P5UCKWMrVg4D4O5dFxwhZukBf+ao kUBwIF+3DrHXvng802DjJ8jbpRKyp8GkQC0/2b6xh1ojuMDUhF1PGLKiXEytJjC2GyGm 2rDKGjbUIlp9c6dYa59bqVW3BaROH2Rum0GHZKLc+Vv5r4kHD36TtnjPpMJpkaPRgrAz g4yA== X-Gm-Message-State: AG10YORDK2/ji7CxSrgvQIk01Xnju7Xv72LK09c0/cAf03Lm9dgfB5VoqGBaULMbWth3uw== X-Received: by 10.66.124.226 with SMTP id ml2mr28389843pab.90.1456017441900; Sat, 20 Feb 2016 17:17:21 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id yj1sm27219476pac.16.2016.02.20.17.17.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Feb 2016 17:17:21 -0800 (PST) Date: Sat, 20 Feb 2016 17:17:32 -0800 From: Stephen Hemminger To: Harish Patil Message-ID: <20160220171732.326fdbdd@xeon-e3> In-Reply-To: <1455982831-21682-4-git-send-email-harish.patil@qlogic.com> 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 Subject: Re: [dpdk-dev] [PATCH 3/6] qede: add QLogic PCI ids 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: Sun, 21 Feb 2016 05:00:48 -0000 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.