* [dpdk-dev] [PATCH] bnxt: Add new device ids
@ 2017-04-25 21:53 Ajit Khaparde
2017-04-26 8:52 ` Ferruh Yigit
0 siblings, 1 reply; 5+ messages in thread
From: Ajit Khaparde @ 2017-04-25 21:53 UTC (permalink / raw)
To: dev
Add support for new device ids.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
---
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[] =
#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[] =
#define BROADCOM_DEV_ID_57416_MF 0x16ee
static const struct rte_pci_id bnxt_pci_id_map[] = {
+ { 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) },
--
2.10.1 (Apple Git-78)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] bnxt: Add new device ids
2017-04-25 21:53 [dpdk-dev] [PATCH] bnxt: Add new device ids Ajit Khaparde
@ 2017-04-26 8:52 ` Ferruh Yigit
2017-04-26 18:41 ` Ajit Khaparde
0 siblings, 1 reply; 5+ messages in thread
From: Ferruh Yigit @ 2017-04-26 8:52 UTC (permalink / raw)
To: Ajit Khaparde, dev
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 updated for
these new devices?
Also if http://dpdk.org/doc/nics needs update please send another web patch.
Thanks,
ferruh
>
> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
> ---
> 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[] =
>
> #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[] =
> #define BROADCOM_DEV_ID_57416_MF 0x16ee
>
> static const struct rte_pci_id bnxt_pci_id_map[] = {
> + { 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) },
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] bnxt: Add new device ids
2017-04-26 8:52 ` Ferruh Yigit
@ 2017-04-26 18:41 ` Ajit Khaparde
2017-04-26 19:01 ` Ferruh Yigit
0 siblings, 1 reply; 5+ messages in thread
From: Ajit Khaparde @ 2017-04-26 18:41 UTC (permalink / raw)
To: Ferruh Yigit; +Cc: dev
On Wed, Apr 26, 2017 at 3:52 AM, Ferruh Yigit <ferruh.yigit@intel.com>
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 updated for
> these new devices?
>
Yes. It will need a small change. Do you want me to resend this patch
along with that?
Otherwise I will just send the update to bnxt.rst
Thanks
>
> Also if http://dpdk.org/doc/nics needs update please send another web
> patch.
>
> Thanks,
> ferruh
>
> >
> > Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
> > ---
> > 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[] =
> >
> > #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[] =
> > #define BROADCOM_DEV_ID_57416_MF 0x16ee
> >
> > static const struct rte_pci_id bnxt_pci_id_map[] = {
> > + { 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) },
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] bnxt: Add new device ids
2017-04-26 18:41 ` Ajit Khaparde
@ 2017-04-26 19:01 ` Ferruh Yigit
2017-04-26 19:02 ` Ajit Khaparde
0 siblings, 1 reply; 5+ messages in thread
From: Ferruh Yigit @ 2017-04-26 19:01 UTC (permalink / raw)
To: Ajit Khaparde; +Cc: dev
On 4/26/2017 7:41 PM, Ajit Khaparde wrote:
>
> On Wed, Apr 26, 2017 at 3:52 AM, Ferruh Yigit <ferruh.yigit@intel.com
> <mailto:ferruh.yigit@intel.com>> 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 updated for
> these new devices?
>
> Yes. It will need a small change. Do you want me to resend 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?
>
> Thanks
>
>
> Also if http://dpdk.org/doc/nics needs update please send another
> web patch.
>
> Thanks,
> ferruh
>
> >
> > Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com
> <mailto:ajit.khaparde@broadcom.com>>
> > ---
> > 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[] =
> >
> > #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[] =
> > #define BROADCOM_DEV_ID_57416_MF 0x16ee
> >
> > static const struct rte_pci_id bnxt_pci_id_map[] = {
> > + { 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) },
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] bnxt: Add new device ids
2017-04-26 19:01 ` Ferruh Yigit
@ 2017-04-26 19:02 ` Ajit Khaparde
0 siblings, 0 replies; 5+ messages in thread
From: Ajit Khaparde @ 2017-04-26 19:02 UTC (permalink / raw)
To: Ferruh Yigit; +Cc: dev
On Wed, Apr 26, 2017 at 2:01 PM, Ferruh Yigit <ferruh.yigit@intel.com>
wrote:
> On 4/26/2017 7:41 PM, Ajit Khaparde wrote:
> >
> > On Wed, Apr 26, 2017 at 3:52 AM, Ferruh Yigit <ferruh.yigit@intel.com
> > <mailto:ferruh.yigit@intel.com>> 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 updated
> for
> > these new devices?
> >
> > Yes. It will need a small change. Do you want me to resend 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?
>
No Ferruh. It is not required.
>
> >
> > Thanks
> >
> >
> > Also if http://dpdk.org/doc/nics needs update please send another
> > web patch.
> >
> > Thanks,
> > ferruh
> >
> > >
> > > Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com
> > <mailto:ajit.khaparde@broadcom.com>>
> > > ---
> > > 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[] =
> > >
> > > #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[] =
> > > #define BROADCOM_DEV_ID_57416_MF 0x16ee
> > >
> > > static const struct rte_pci_id bnxt_pci_id_map[] = {
> > > + { 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) },
> > >
> >
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-04-26 19:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25 21:53 [dpdk-dev] [PATCH] bnxt: Add new device ids Ajit Khaparde
2017-04-26 8:52 ` Ferruh Yigit
2017-04-26 18:41 ` Ajit Khaparde
2017-04-26 19:01 ` Ferruh Yigit
2017-04-26 19:02 ` Ajit Khaparde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).