From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by dpdk.org (Postfix) with ESMTP id C72C32E81 for ; Mon, 27 Feb 2017 17:47:48 +0100 (CET) Received: by mail-pg0-f52.google.com with SMTP id p5so22940413pga.1 for ; Mon, 27 Feb 2017 08:47: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-transfer-encoding; bh=smE/NBhG9tcGIDEUjI9qSYGK1t1W32PiYUgFgJvPR2Y=; b=XamPypN5LQVVRfwJ4Sp2JWJE2TRzEC/6oyecdG4pKbeF9ODXm8e/xxVm4f3SWfLBHG w4UJb1o3GSkFZcTs08ln9I41BUZNaLGu+9y1xzJca8IWJLrYEg6xv2YmBo/j7Oc6Y+Fj p/aPI1ecET1RxGCnEm8MVRmQ459VBqylwFyqBsmj3sbSN3J+VFcDmy5pnmDIWiPtEOhp cwZ9ThDg6yUZEY70l9hRNAJvr/8DAcWxURtvrtXO4/ltoTc0lCVCK51JxCod9dDy6WvB WEuAnmnu0+pifryZ7pBl4KuBKWvXWKQ7bEkgIuZ3X7ejvgMRTTkc124rFrlmdgVqLrB5 M05g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=smE/NBhG9tcGIDEUjI9qSYGK1t1W32PiYUgFgJvPR2Y=; b=KSYPf0S9Msw+hM5Tx34psDKUhf+adHxioi5KOgj36om2zxBhuziwmTOVtvczAuiuu5 J9w/O/KLTEXzG4A5HzYMIxloWVsesImy1eI/oprDWAeo10jjKjM2q9UOikqSnlhAvUv6 PH5GPWNCWTV04MA09295NDGHT1UrkTaSC98UXTbwl+PFhCcP/2U1+QN4hHHQVEzEYB6S h2wA1gbFb258xHDRfP95pIDh44qWdmkpiUcowkmwnydAj4D4+8q8wYacUosVjLTDalzh 6Cb+vvrLxbVaZ7OLKFDDQ9vZXCTlvYTs3I6z3xfg4VuEOxYpFj7QnGzuqiF9yVLQV+BM XN0w== X-Gm-Message-State: AMke39n80Bz51EhcyiKHziha9cxZCy1Urat8D/aZaDXKUojb58mhWlWISW0hipV9P64sXQ== X-Received: by 10.98.138.67 with SMTP id y64mr21716714pfd.122.1488214068074; Mon, 27 Feb 2017 08:47:48 -0800 (PST) Received: from xeon-e3 (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id 80sm10481209pgd.39.2017.02.27.08.47.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2017 08:47:48 -0800 (PST) Date: Mon, 27 Feb 2017 08:47:46 -0800 From: Stephen Hemminger To: Allain Legacy Cc: , Message-ID: <20170227084746.6430b076@xeon-e3> In-Reply-To: <1488136143-116389-8-git-send-email-allain.legacy@windriver.com> References: <1487985795-136044-1-git-send-email-allain.legacy@windriver.com> <1488136143-116389-1-git-send-email-allain.legacy@windriver.com> <1488136143-116389-8-git-send-email-allain.legacy@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 07/15] net/avp: driver registration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 16:47:49 -0000 On Sun, 26 Feb 2017 14:08:55 -0500 Allain Legacy wrote: > +static struct rte_pci_id pci_id_avp_map[] = { > + { .vendor_id = RTE_AVP_PCI_VENDOR_ID, > + .device_id = RTE_AVP_PCI_DEVICE_ID, > + .subsystem_vendor_id = RTE_AVP_PCI_SUB_VENDOR_ID, > + .subsystem_device_id = RTE_AVP_PCI_SUB_DEVICE_ID, > + .class_id = RTE_CLASS_ANY_ID, > + }, > + > + { .vendor_id = 0, /* sentinel */ > + }, > +}; > + PCI table should be const