DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE
@ 2019-05-05  3:27 Rosen Xu
  2019-05-05  3:27 ` Rosen Xu
  2019-05-06  0:36 ` Zhang, Qi Z
  0 siblings, 2 replies; 4+ messages in thread
From: Rosen Xu @ 2019-05-05  3:27 UTC (permalink / raw)
  To: dev
  Cc: ferruh.yigit, qi.z.zhang, beilei.xing, jingjing.wu,
	tianfei.zhang, dan.wei, rosen.xu, andy.pei, qiming.yang,
	santos.chen

New pci device ids are created to support X710/XXV710 of Intel FPGA
Programmable Acceleration card N3000, also called ipn3ke.

Signed-off-by: Rosen Xu <rosen.xu@intel.com>
---
 drivers/net/i40e/base/i40e_common.c | 2 ++
 drivers/net/i40e/base/i40e_devids.h | 2 ++
 drivers/net/i40e/i40e_ethdev.c      | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c
index 8a98aff..fc1ac66 100644
--- a/drivers/net/i40e/base/i40e_common.c
+++ b/drivers/net/i40e/base/i40e_common.c
@@ -42,6 +42,8 @@ STATIC enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw)
 		case I40E_DEV_ID_20G_KR2_A:
 		case I40E_DEV_ID_25G_B:
 		case I40E_DEV_ID_25G_SFP28:
+		case I40E_DEV_ID_X710_N3000:
+		case I40E_DEV_ID_XXV710_N3000:
 			hw->mac.type = I40E_MAC_XL710;
 			break;
 #ifdef X722_A0_SUPPORT
diff --git a/drivers/net/i40e/base/i40e_devids.h b/drivers/net/i40e/base/i40e_devids.h
index 8b667c2..ab3f33b 100644
--- a/drivers/net/i40e/base/i40e_devids.h
+++ b/drivers/net/i40e/base/i40e_devids.h
@@ -22,6 +22,8 @@
 #define I40E_DEV_ID_10G_BASE_T4		0x1589
 #define I40E_DEV_ID_25G_B		0x158A
 #define I40E_DEV_ID_25G_SFP28		0x158B
+#define I40E_DEV_ID_X710_N3000      0x0CF8
+#define I40E_DEV_ID_XXV710_N3000	0x0D58
 #ifdef CARLSVILLE_HW
 #define I40E_DEV_ID_10G_BASE_T_BC	0x15FF
 #endif
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 2eea523..cab440f 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -433,6 +433,8 @@ static int i40e_sw_tunnel_filter_insert(struct i40e_pf *pf,
 	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_1G_BASE_T_X722) },
 	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T_X722) },
 	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_SFP_I_X722) },
+	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_X710_N3000) },
+	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_XXV710_N3000) },
 	{ .vendor_id = 0, /* sentinel */ },
 };
 
-- 
1.8.3.1

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

* [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE
  2019-05-05  3:27 [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE Rosen Xu
@ 2019-05-05  3:27 ` Rosen Xu
  2019-05-06  0:36 ` Zhang, Qi Z
  1 sibling, 0 replies; 4+ messages in thread
From: Rosen Xu @ 2019-05-05  3:27 UTC (permalink / raw)
  To: dev
  Cc: ferruh.yigit, qi.z.zhang, beilei.xing, jingjing.wu,
	tianfei.zhang, dan.wei, rosen.xu, andy.pei, qiming.yang,
	santos.chen

New pci device ids are created to support X710/XXV710 of Intel FPGA
Programmable Acceleration card N3000, also called ipn3ke.

Signed-off-by: Rosen Xu <rosen.xu@intel.com>
---
 drivers/net/i40e/base/i40e_common.c | 2 ++
 drivers/net/i40e/base/i40e_devids.h | 2 ++
 drivers/net/i40e/i40e_ethdev.c      | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c
index 8a98aff..fc1ac66 100644
--- a/drivers/net/i40e/base/i40e_common.c
+++ b/drivers/net/i40e/base/i40e_common.c
@@ -42,6 +42,8 @@ STATIC enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw)
 		case I40E_DEV_ID_20G_KR2_A:
 		case I40E_DEV_ID_25G_B:
 		case I40E_DEV_ID_25G_SFP28:
+		case I40E_DEV_ID_X710_N3000:
+		case I40E_DEV_ID_XXV710_N3000:
 			hw->mac.type = I40E_MAC_XL710;
 			break;
 #ifdef X722_A0_SUPPORT
diff --git a/drivers/net/i40e/base/i40e_devids.h b/drivers/net/i40e/base/i40e_devids.h
index 8b667c2..ab3f33b 100644
--- a/drivers/net/i40e/base/i40e_devids.h
+++ b/drivers/net/i40e/base/i40e_devids.h
@@ -22,6 +22,8 @@
 #define I40E_DEV_ID_10G_BASE_T4		0x1589
 #define I40E_DEV_ID_25G_B		0x158A
 #define I40E_DEV_ID_25G_SFP28		0x158B
+#define I40E_DEV_ID_X710_N3000      0x0CF8
+#define I40E_DEV_ID_XXV710_N3000	0x0D58
 #ifdef CARLSVILLE_HW
 #define I40E_DEV_ID_10G_BASE_T_BC	0x15FF
 #endif
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 2eea523..cab440f 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -433,6 +433,8 @@ static int i40e_sw_tunnel_filter_insert(struct i40e_pf *pf,
 	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_1G_BASE_T_X722) },
 	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T_X722) },
 	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_SFP_I_X722) },
+	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_X710_N3000) },
+	{ RTE_PCI_DEVICE(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_XXV710_N3000) },
 	{ .vendor_id = 0, /* sentinel */ },
 };
 
-- 
1.8.3.1


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

* Re: [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE
  2019-05-05  3:27 [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE Rosen Xu
  2019-05-05  3:27 ` Rosen Xu
@ 2019-05-06  0:36 ` Zhang, Qi Z
  2019-05-06  0:36   ` Zhang, Qi Z
  1 sibling, 1 reply; 4+ messages in thread
From: Zhang, Qi Z @ 2019-05-06  0:36 UTC (permalink / raw)
  To: Xu, Rosen, dev
  Cc: Yigit, Ferruh, Xing, Beilei, Wu, Jingjing, Zhang, Tianfei, Wei,
	Dan, Pei, Andy, Yang, Qiming, Chen, Santos



> -----Original Message-----
> From: Xu, Rosen
> Sent: Sunday, May 5, 2019 11:27 AM
> To: dev@dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>;
> Xing, Beilei <beilei.xing@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Zhang, Tianfei <tianfei.zhang@intel.com>; Wei, Dan <dan.wei@intel.com>; Xu,
> Rosen <rosen.xu@intel.com>; Pei, Andy <andy.pei@intel.com>; Yang, Qiming
> <qiming.yang@intel.com>; Chen, Santos <santos.chen@intel.com>
> Subject: [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE
> 
> New pci device ids are created to support X710/XXV710 of Intel FPGA
> Programmable Acceleration card N3000, also called ipn3ke.
> 
> Signed-off-by: Rosen Xu <rosen.xu@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

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

* Re: [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE
  2019-05-06  0:36 ` Zhang, Qi Z
@ 2019-05-06  0:36   ` Zhang, Qi Z
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Qi Z @ 2019-05-06  0:36 UTC (permalink / raw)
  To: Xu, Rosen, dev
  Cc: Yigit, Ferruh, Xing, Beilei, Wu, Jingjing, Zhang, Tianfei, Wei,
	Dan, Pei, Andy, Yang, Qiming, Chen, Santos



> -----Original Message-----
> From: Xu, Rosen
> Sent: Sunday, May 5, 2019 11:27 AM
> To: dev@dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>;
> Xing, Beilei <beilei.xing@intel.com>; Wu, Jingjing <jingjing.wu@intel.com>;
> Zhang, Tianfei <tianfei.zhang@intel.com>; Wei, Dan <dan.wei@intel.com>; Xu,
> Rosen <rosen.xu@intel.com>; Pei, Andy <andy.pei@intel.com>; Yang, Qiming
> <qiming.yang@intel.com>; Chen, Santos <santos.chen@intel.com>
> Subject: [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE
> 
> New pci device ids are created to support X710/XXV710 of Intel FPGA
> Programmable Acceleration card N3000, also called ipn3ke.
> 
> Signed-off-by: Rosen Xu <rosen.xu@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi

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

end of thread, other threads:[~2019-05-06  0:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-05  3:27 [dpdk-dev] [PATCH] net/i40e: add new device id for X710/XXV710 of IPN3KE Rosen Xu
2019-05-05  3:27 ` Rosen Xu
2019-05-06  0:36 ` Zhang, Qi Z
2019-05-06  0:36   ` Zhang, Qi Z

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