DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] common/cnxk: add CNF950_A0 support
@ 2022-02-11  8:27 Tomasz Duszynski
  2022-02-13 22:00 ` Thomas Monjalon
  2022-04-19  8:25 ` [PATCH v2] " Tomasz Duszynski
  0 siblings, 2 replies; 5+ messages in thread
From: Tomasz Duszynski @ 2022-02-11  8:27 UTC (permalink / raw)
  To: dev; +Cc: jerinj, Tomasz Duszynski

Add PCI IDs which match CNF95O_A0 SoC.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
---
 drivers/common/cnxk/roc_constants.h | 1 +
 drivers/event/cnxk/cn9k_eventdev.c  | 2 ++
 drivers/mempool/cnxk/cnxk_mempool.c | 2 ++
 drivers/net/cnxk/cn9k_ethdev.c      | 4 ++++
 4 files changed, 9 insertions(+)

diff --git a/drivers/common/cnxk/roc_constants.h b/drivers/common/cnxk/roc_constants.h
index 361b894081..7661b0a8ab 100644
--- a/drivers/common/cnxk/roc_constants.h
+++ b/drivers/common/cnxk/roc_constants.h
@@ -60,5 +60,6 @@
 #define PCI_SUBSYSTEM_DEVID_CN9KC 0x0200
 #define PCI_SUBSYSTEM_DEVID_CN9KD 0xB200
 #define PCI_SUBSYSTEM_DEVID_CN9KE 0xB100
+#define PCI_SUBSYSTEM_DEVID_CNF9KA 0xB600

 #endif /* _ROC_CONSTANTS_H_ */
diff --git a/drivers/event/cnxk/cn9k_eventdev.c b/drivers/event/cnxk/cn9k_eventdev.c
index 04854cc84b..52d19cf99a 100644
--- a/drivers/event/cnxk/cn9k_eventdev.c
+++ b/drivers/event/cnxk/cn9k_eventdev.c
@@ -1185,11 +1185,13 @@ static const struct rte_pci_id cn9k_pci_sso_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KA, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KB, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	{
 		.vendor_id = 0,
 	},
diff --git a/drivers/mempool/cnxk/cnxk_mempool.c b/drivers/mempool/cnxk/cnxk_mempool.c
index ea473552dd..76693e3263 100644
--- a/drivers/mempool/cnxk/cnxk_mempool.c
+++ b/drivers/mempool/cnxk/cnxk_mempool.c
@@ -168,6 +168,7 @@ static const struct rte_pci_id npa_pci_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_NPA_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_NPA_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_NPA_PF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_NPA_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KA, PCI_DEVID_CNXK_RVU_NPA_VF),
@@ -175,6 +176,7 @@ static const struct rte_pci_id npa_pci_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_NPA_VF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_NPA_VF),
 	{
 		.vendor_id = 0,
 	},
diff --git a/drivers/net/cnxk/cn9k_ethdev.c b/drivers/net/cnxk/cn9k_ethdev.c
index 0a78beb656..a3839b3cad 100644
--- a/drivers/net/cnxk/cn9k_ethdev.c
+++ b/drivers/net/cnxk/cn9k_ethdev.c
@@ -742,21 +742,25 @@ static const struct rte_pci_id cn9k_pci_nix_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_PF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KA, PCI_DEVID_CNXK_RVU_VF),
 	CNXK_PCI_ID(PCI_SUBSYS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_CNF9KA, PCI_DEVID_CNXK_RVU_SDP_VF),
 	{
 		.vendor_id = 0,
 	},
--
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] common/cnxk: add CNF950_A0 support
  2022-02-11  8:27 [PATCH] common/cnxk: add CNF950_A0 support Tomasz Duszynski
@ 2022-02-13 22:00 ` Thomas Monjalon
  2022-02-18  4:23   ` Jerin Jacob
  2022-04-19  8:25 ` [PATCH v2] " Tomasz Duszynski
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2022-02-13 22:00 UTC (permalink / raw)
  To: jerinj, Tomasz Duszynski; +Cc: dev

11/02/2022 09:27, Tomasz Duszynski:
> Add PCI IDs which match CNF95O_A0 SoC.
> 
> Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
> Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
> ---
>  drivers/common/cnxk/roc_constants.h | 1 +
>  drivers/event/cnxk/cn9k_eventdev.c  | 2 ++
>  drivers/mempool/cnxk/cnxk_mempool.c | 2 ++
>  drivers/net/cnxk/cn9k_ethdev.c      | 4 ++++
>  4 files changed, 9 insertions(+)

This patch does not apply, there is no PCI_DEVID_CNXK_RVU_SDP_VF.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] common/cnxk: add CNF950_A0 support
  2022-02-13 22:00 ` Thomas Monjalon
@ 2022-02-18  4:23   ` Jerin Jacob
  0 siblings, 0 replies; 5+ messages in thread
From: Jerin Jacob @ 2022-02-18  4:23 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: Jerin Jacob, Tomasz Duszynski, dpdk-dev

On Mon, Feb 14, 2022 at 3:30 AM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> 11/02/2022 09:27, Tomasz Duszynski:
> > Add PCI IDs which match CNF95O_A0 SoC.
> >
> > Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
> > Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
> > ---
> >  drivers/common/cnxk/roc_constants.h | 1 +
> >  drivers/event/cnxk/cn9k_eventdev.c  | 2 ++
> >  drivers/mempool/cnxk/cnxk_mempool.c | 2 ++
> >  drivers/net/cnxk/cn9k_ethdev.c      | 4 ++++
> >  4 files changed, 9 insertions(+)
>
> This patch does not apply, there is no PCI_DEVID_CNXK_RVU_SDP_VF.

@Tomasz Duszynski  Please rebase on top of dpdk-next-net-mrvl/for-next-net.

>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] common/cnxk: add CNF950_A0 support
  2022-02-11  8:27 [PATCH] common/cnxk: add CNF950_A0 support Tomasz Duszynski
  2022-02-13 22:00 ` Thomas Monjalon
@ 2022-04-19  8:25 ` Tomasz Duszynski
  2022-06-01 21:03   ` Thomas Monjalon
  1 sibling, 1 reply; 5+ messages in thread
From: Tomasz Duszynski @ 2022-04-19  8:25 UTC (permalink / raw)
  To: dev, Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori,
	Satha Rao, Pavan Nikhilesh, Shijith Thotton, Ashwin Sekhar T K
  Cc: thomas, jerinj, Tomasz Duszynski

Add PCI IDs which match CNF95O_A0 SoC.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
---
 drivers/common/cnxk/roc_constants.h | 1 +
 drivers/event/cnxk/cn9k_eventdev.c  | 2 ++
 drivers/mempool/cnxk/cnxk_mempool.c | 2 ++
 drivers/net/cnxk/cn9k_ethdev.c      | 3 +++
 4 files changed, 8 insertions(+)

diff --git a/drivers/common/cnxk/roc_constants.h b/drivers/common/cnxk/roc_constants.h
index 38e2087a26..f15aedf740 100644
--- a/drivers/common/cnxk/roc_constants.h
+++ b/drivers/common/cnxk/roc_constants.h
@@ -58,5 +58,6 @@
 #define PCI_SUBSYSTEM_DEVID_CN9KC 0x0200
 #define PCI_SUBSYSTEM_DEVID_CN9KD 0xB200
 #define PCI_SUBSYSTEM_DEVID_CN9KE 0xB100
+#define PCI_SUBSYSTEM_DEVID_CNF9KA 0xB600

 #endif /* _ROC_CONSTANTS_H_ */
diff --git a/drivers/event/cnxk/cn9k_eventdev.c b/drivers/event/cnxk/cn9k_eventdev.c
index 4bba477dd1..47dd3e640d 100644
--- a/drivers/event/cnxk/cn9k_eventdev.c
+++ b/drivers/event/cnxk/cn9k_eventdev.c
@@ -1168,11 +1168,13 @@ static const struct rte_pci_id cn9k_pci_sso_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_SSO_TIM_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KA, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KB, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_SSO_TIM_VF),
 	{
 		.vendor_id = 0,
 	},
diff --git a/drivers/mempool/cnxk/cnxk_mempool.c b/drivers/mempool/cnxk/cnxk_mempool.c
index ea473552dd..76693e3263 100644
--- a/drivers/mempool/cnxk/cnxk_mempool.c
+++ b/drivers/mempool/cnxk/cnxk_mempool.c
@@ -168,6 +168,7 @@ static const struct rte_pci_id npa_pci_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_NPA_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_NPA_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_NPA_PF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_NPA_PF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KA, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN10KAS, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KA, PCI_DEVID_CNXK_RVU_NPA_VF),
@@ -175,6 +176,7 @@ static const struct rte_pci_id npa_pci_map[] = {
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KC, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KD, PCI_DEVID_CNXK_RVU_NPA_VF),
 	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CN9KE, PCI_DEVID_CNXK_RVU_NPA_VF),
+	CNXK_PCI_ID(PCI_SUBSYSTEM_DEVID_CNF9KA, PCI_DEVID_CNXK_RVU_NPA_VF),
 	{
 		.vendor_id = 0,
 	},
diff --git a/drivers/net/cnxk/cn9k_ethdev.c b/drivers/net/cnxk/cn9k_ethdev.c
index eda33dc8c5..b6893f6e79 100644
--- a/drivers/net/cnxk/cn9k_ethdev.c
+++ b/drivers/net/cnxk/cn9k_ethdev.c
@@ -748,16 +748,19 @@ static const struct rte_pci_id cn9k_pci_nix_map[] = {
 	CNX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alink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] common/cnxk: add CNF950_A0 support
  2022-04-19  8:25 ` [PATCH v2] " Tomasz Duszynski
@ 2022-06-01 21:03   ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2022-06-01 21:03 UTC (permalink / raw)
  To: Tomasz Duszynski
  Cc: dev, Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori,
	Satha Rao, Pavan Nikhilesh, Shijith Thotton, Ashwin Sekhar T K,
	jerinj

19/04/2022 10:25, Tomasz Duszynski:
> Add PCI IDs which match CNF95O_A0 SoC.
> 
> Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>

Applied, thanks.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-01 21:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11  8:27 [PATCH] common/cnxk: add CNF950_A0 support Tomasz Duszynski
2022-02-13 22:00 ` Thomas Monjalon
2022-02-18  4:23   ` Jerin Jacob
2022-04-19  8:25 ` [PATCH v2] " Tomasz Duszynski
2022-06-01 21:03   ` Thomas Monjalon

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).