From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id C9F472030 for ; Wed, 13 Dec 2017 16:19:05 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id f140so5818411wmd.2 for ; Wed, 13 Dec 2017 07:19:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=WcypSe8RREjwwvsaKFcs+45RhDq5iMscNVvSFetolUc=; b=j3b+3QIbXLtd3e2BWUHN11DCsaGPQeEx3N9z6pcG0GLNSX61Gp1KyEDaEth1V84wFd ij5l3T/akZo9s8YJLIWYUSJP/JbKspgh2iwwAwQZ7r2HOJWJeMksWCbRC3cUTjabFUaQ DMPAE7ZURBOEL7Dgq4V9KxtPre16c0p99JZJUH/ytFOapeWIKpC0DK8jdrvv1EH61/HO sY1DHMekrZWufEKz5LvGDLxaG9PKYmZo36JcFr0vqaHzFDrAX02rlbefx4Nqnrez071p ZedFUmCR+sutUwxE9s23ELBfWCdxWrDg3gY8sJEooB9Q8ynZO5mnb92gczQWrnv6Dsfk HE6g== X-Gm-Message-State: AKGB3mI5icnwGfz/6hl+UxABi6sgShq81NTyuDyyRmhWlDA8vJa0AjJ5 YbkyhZG8XaEr8CVDxRCbzuM= X-Google-Smtp-Source: ACJfBosbO603ZVkfuqvyMwWQQL8JniNNcuMoVkH6xlzSldNawcD99xYFStYEusQTUgkhH6wuq3z1mA== X-Received: by 10.28.153.210 with SMTP id b201mr2554726wme.2.1513178345473; Wed, 13 Dec 2017 07:19:05 -0800 (PST) Received: from localhost ([213.251.34.146]) by smtp.gmail.com with ESMTPSA id l6sm693713wre.53.2017.12.13.07.19.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Dec 2017 07:19:04 -0800 (PST) Message-ID: <1513178342.15861.44.camel@debian.org> From: Luca Boccassi To: Ajit Khaparde , stable@dpdk.org Date: Wed, 13 Dec 2017 15:19:02 +0000 In-Reply-To: <20171212193900.17591-2-ajit.khaparde@broadcom.com> References: <20171212193900.17591-1-ajit.khaparde@broadcom.com> <20171212193900.17591-2-ajit.khaparde@broadcom.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 1/1] net/bnxt: support new PCI IDs X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2017 15:19:05 -0000 On Tue, 2017-12-12 at 11:39 -0800, Ajit Khaparde wrote: > Add support for PCI IDs which was removed as a part of > commit 0e7bd0b2d6a5 ("net/bnxt: remove support for few devices") >=20 > Signed-off-by: Ajit Khaparde > --- > =C2=A0drivers/net/bnxt/bnxt_ethdev.c | 30 ++++++++++++++++++++++++++++++ > =C2=A01 file changed, 30 insertions(+) >=20 > diff --git a/drivers/net/bnxt/bnxt_ethdev.c > b/drivers/net/bnxt/bnxt_ethdev.c > index eead73b10..1252a363c 100644 > --- a/drivers/net/bnxt/bnxt_ethdev.c > +++ b/drivers/net/bnxt/bnxt_ethdev.c > @@ -63,19 +63,34 @@ static const char bnxt_version[] =3D > =C2=A0#define BROADCOM_DEV_ID_57302 0x16c9 > =C2=A0#define BROADCOM_DEV_ID_57304_PF 0x16ca > =C2=A0#define BROADCOM_DEV_ID_57304_VF 0x16cb > +#define BROADCOM_DEV_ID_57417_MF 0x16cc > =C2=A0#define BROADCOM_DEV_ID_NS2 0x16cd > +#define BROADCOM_DEV_ID_57311 0x16ce > +#define BROADCOM_DEV_ID_57312 0x16cf > =C2=A0#define BROADCOM_DEV_ID_57402 0x16d0 > =C2=A0#define BROADCOM_DEV_ID_57404 0x16d1 > =C2=A0#define BROADCOM_DEV_ID_57406_PF 0x16d2 > =C2=A0#define BROADCOM_DEV_ID_57406_VF 0x16d3 > =C2=A0#define BROADCOM_DEV_ID_57402_MF 0x16d4 > =C2=A0#define BROADCOM_DEV_ID_57407_RJ45 0x16d5 > +#define BROADCOM_DEV_ID_57412 0x16d6 > +#define BROADCOM_DEV_ID_57414 0x16d7 > +#define BROADCOM_DEV_ID_57416_RJ45 0x16d8 > +#define BROADCOM_DEV_ID_57417_RJ45 0x16d9 > =C2=A0#define BROADCOM_DEV_ID_5741X_VF 0x16dc > +#define BROADCOM_DEV_ID_57412_MF 0x16de > +#define BROADCOM_DEV_ID_57314 0x16df > +#define BROADCOM_DEV_ID_57317_RJ45 0x16e0 > =C2=A0#define BROADCOM_DEV_ID_5731X_VF 0x16e1 > +#define BROADCOM_DEV_ID_57417_SFP 0x16e2 > +#define BROADCOM_DEV_ID_57416_SFP 0x16e3 > +#define BROADCOM_DEV_ID_57317_SFP 0x16e4 > =C2=A0#define BROADCOM_DEV_ID_57404_MF 0x16e7 > =C2=A0#define BROADCOM_DEV_ID_57406_MF 0x16e8 > =C2=A0#define BROADCOM_DEV_ID_57407_SFP 0x16e9 > =C2=A0#define BROADCOM_DEV_ID_57407_MF 0x16ea > +#define BROADCOM_DEV_ID_57414_MF 0x16ec > +#define BROADCOM_DEV_ID_57416_MF 0x16ee > =C2=A0 > =C2=A0static struct rte_pci_id bnxt_pci_id_map[] =3D { > =C2=A0 { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57301) }, > @@ -95,6 +110,21 @@ static struct rte_pci_id bnxt_pci_id_map[] =3D { > =C2=A0 { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57407_MF) }, > =C2=A0 { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_5741X_VF) }, > =C2=A0 { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_5731X_VF) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57314) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57417_MF) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57311) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57312) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57412) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57414) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57416_RJ45) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57417_RJ45) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57412_MF) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57317_RJ45) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57417_SFP) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57416_SFP) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57317_SFP) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57414_MF) }, > + { RTE_PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, > BROADCOM_DEV_ID_57416_MF) }, > =C2=A0 { .vendor_id =3D 0, /* sentinel */ }, > =C2=A0}; > =C2=A0 Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi