From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) by dpdk.org (Postfix) with ESMTP id 971AE7EC7 for ; Wed, 26 Apr 2017 21:03:00 +0200 (CEST) Received: by mail-qt0-f179.google.com with SMTP id g60so8845293qtd.3 for ; Wed, 26 Apr 2017 12:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LUu+WuXoCmksnMT0HQ5uidnSxz9lR1AYxKSGjyF1MNQ=; b=Rd0Xo6bg325CXZVzpkxXDdn05lHu35w5rnB3JQZFoFDGuED8W9+wxdeFAsnA4GlHnG +VcuhaWg5Va5nEsJ3DTNqk4zj9Wu7Djs73VKSWS4jcc0Q7tk51hf0dQ9P8UTvHwyfR5c pMly2guIH5o9ue7bB/Xooe1MZrI8Szyk1pz44= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LUu+WuXoCmksnMT0HQ5uidnSxz9lR1AYxKSGjyF1MNQ=; b=NAaj6puMpHr4PKiVoUQaHqnZXJ1Xw6tUxN4oNIUHr+WxYXhoCjCFpvbwMb6CV0cYeF wjW8ffrOHFe1MgnJybHwZRnnVhdJbiiE75xYxWFIRQYomECGyzO62h4OXz4QavAfPCUM 7SFdod2d5DF3co20RgWZ1vSjZHWEqXIcmOuXsugvvA7w7ozmMR6SWIZuZCz8dSDsjxdB rMxtsaIK4+UWl6kQc30fkhznDo6Phq/UveIZCs4rUBjtaDpuwr2uI6dEcY0mIzVOPpUj O4EGQX6h96F3HnNUZXMeSdeYPmr597k7NNrLLvrwtEUBmMMpU4wN012jLhJyLR+Gm3gQ aCDw== X-Gm-Message-State: AN3rC/5389iv/GKWnAyn2q/XqltU8AVaiA7fTThE/MHV3ZaF8E2hvfWt KsaN4XW7IwbOGpiZnxiUmY02vQ5vWUKI X-Received: by 10.200.35.80 with SMTP id b16mr1266568qtb.205.1493233379904; Wed, 26 Apr 2017 12:02:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.57.109 with HTTP; Wed, 26 Apr 2017 12:02:19 -0700 (PDT) In-Reply-To: <486fdaf2-89b8-ecfb-b94d-960eb2c93620@intel.com> References: <20170425215315.6167-1-ajit.khaparde@broadcom.com> <486fdaf2-89b8-ecfb-b94d-960eb2c93620@intel.com> From: Ajit Khaparde Date: Wed, 26 Apr 2017 14:02:19 -0500 Message-ID: To: Ferruh Yigit Cc: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] bnxt: Add new device ids 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: Wed, 26 Apr 2017 19:03:01 -0000 On Wed, Apr 26, 2017 at 2:01 PM, Ferruh Yigit wrote: > On 4/26/2017 7:41 PM, Ajit Khaparde wrote: > > > > On Wed, Apr 26, 2017 at 3:52 AM, Ferruh Yigit > > wrote: > > > > On 4/25/2017 10:53 PM, Ajit Khaparde wrote: > > > Add support for new device ids. > > > > Hi Ajit, > > > > Is NIC documentation (doc/guides/nics/bnxt.rst) needs to get update= d > for > > these new devices? > > > > =E2=80=8BYes. It will need a small change. Do you want me to =E2=80=8Br= esend this patch > > along with that? > > Otherwise I will just send the update to bnxt.rst > > Please resend this patch to have document update. > > Is a separate web patch also required? > =E2=80=8BNo Ferruh. It is not required. =E2=80=8B > > > > > Thanks > > > > > > Also if http://dpdk.org/doc/nics needs update please send another > > web patch. > > > > Thanks, > > ferruh > > > > > > > > Signed-off-by: Ajit Khaparde > > > > > --- > > > drivers/net/bnxt/bnxt_ethdev.c | 4 ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/drivers/net/bnxt/bnxt_ethdev.c > > b/drivers/net/bnxt/bnxt_ethdev.c > > > index 5dc3ff0..7805221 100644 > > > --- a/drivers/net/bnxt/bnxt_ethdev.c > > > +++ b/drivers/net/bnxt/bnxt_ethdev.c > > > @@ -60,6 +60,8 @@ static const char bnxt_version[] =3D > > > > > > #define PCI_VENDOR_ID_BROADCOM 0x14E4 > > > > > > +#define BROADCOM_DEV_ID_STRATUS_NIC 0x1614 > > > +#define BROADCOM_DEV_ID_57414_VF 0x16c1 > > > #define BROADCOM_DEV_ID_57301 0x16c8 > > > #define BROADCOM_DEV_ID_57302 0x16c9 > > > #define BROADCOM_DEV_ID_57304_PF 0x16ca > > > @@ -94,6 +96,8 @@ static const char bnxt_version[] =3D > > > #define BROADCOM_DEV_ID_57416_MF 0x16ee > > > > > > static const struct rte_pci_id bnxt_pci_id_map[] =3D { > > > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > > BROADCOM_DEV_ID_STRATUS_NIC) }, > > > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > > BROADCOM_DEV_ID_57414_VF) }, > > > { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > > BROADCOM_DEV_ID_57301) }, > > > { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > > BROADCOM_DEV_ID_57302) }, > > > { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > > BROADCOM_DEV_ID_57304_PF) }, > > > > > > > > >