DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] support new device for ixgbe
@ 2022-12-07  1:59 Jie Wang
  2022-12-07  1:59 ` [PATCH 1/2] net/ixgbe/base: " Jie Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jie Wang @ 2022-12-07  1:59 UTC (permalink / raw)
  To: dev; +Cc: stevex.yang, qi.z.zhang, qiming.yang, wenjun1.wu, Jie Wang

Added IXGBE_DEV_ID_82599_LS support for ixgbe. 

Jie Wang (2):
  net/ixgbe/base: support new device for ixgbe
  net/ixgbe: support new device for ixgbe

 drivers/net/ixgbe/base/ixgbe_82599.c | 3 +++
 drivers/net/ixgbe/base/ixgbe_type.h  | 2 ++
 drivers/net/ixgbe/ixgbe_ethdev.c     | 1 +
 3 files changed, 6 insertions(+)

-- 
2.25.1


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

* [PATCH 1/2] net/ixgbe/base: support new device for ixgbe
  2022-12-07  1:59 [PATCH 0/2] support new device for ixgbe Jie Wang
@ 2022-12-07  1:59 ` Jie Wang
  2022-12-07  1:59 ` [PATCH 2/2] net/ixgbe: " Jie Wang
  2022-12-13  1:59 ` [PATCH 0/2] " Zhang, Qi Z
  2 siblings, 0 replies; 4+ messages in thread
From: Jie Wang @ 2022-12-07  1:59 UTC (permalink / raw)
  To: dev; +Cc: stevex.yang, qi.z.zhang, qiming.yang, wenjun1.wu, Jie Wang

Added IXGBE_DEV_ID_82599_LS support for ixgbe.

Signed-off-by: Jie Wang <jie1x.wang@intel.com>
---
 drivers/net/ixgbe/base/ixgbe_82599.c | 3 +++
 drivers/net/ixgbe/base/ixgbe_type.h  | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/drivers/net/ixgbe/base/ixgbe_82599.c b/drivers/net/ixgbe/base/ixgbe_82599.c
index 69fd4cd3fb..c6e8b7e976 100644
--- a/drivers/net/ixgbe/base/ixgbe_82599.c
+++ b/drivers/net/ixgbe/base/ixgbe_82599.c
@@ -531,6 +531,9 @@ enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw)
 	case IXGBE_DEV_ID_82599_T3_LOM:
 		media_type = ixgbe_media_type_copper;
 		break;
+	case IXGBE_DEV_ID_82599_LS:
+		media_type = ixgbe_media_type_fiber_lco;
+		break;
 	case IXGBE_DEV_ID_82599_QSFP_SF_QP:
 		media_type = ixgbe_media_type_fiber_qsfp;
 		break;
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h b/drivers/net/ixgbe/base/ixgbe_type.h
index b7eec45635..1094df5891 100644
--- a/drivers/net/ixgbe/base/ixgbe_type.h
+++ b/drivers/net/ixgbe/base/ixgbe_type.h
@@ -68,6 +68,7 @@
 #define IXGBE_DEV_ID_82599_KR			0x1517
 #define IXGBE_DEV_ID_82599_COMBO_BACKPLANE	0x10F8
 #define IXGBE_SUBDEV_ID_82599_KX4_KR_MEZZ	0x000C
+#define IXGBE_DEV_ID_82599_LS			0x154F
 #define IXGBE_DEV_ID_82599_CX4			0x10F9
 #define IXGBE_DEV_ID_82599_SFP			0x10FB
 #define IXGBE_SUBDEV_ID_82599_SFP		0x11A9
@@ -3726,6 +3727,7 @@ enum ixgbe_media_type {
 	ixgbe_media_type_unknown = 0,
 	ixgbe_media_type_fiber,
 	ixgbe_media_type_fiber_qsfp,
+	ixgbe_media_type_fiber_lco,
 	ixgbe_media_type_copper,
 	ixgbe_media_type_backplane,
 	ixgbe_media_type_cx4,
-- 
2.25.1


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

* [PATCH 2/2] net/ixgbe: support new device for ixgbe
  2022-12-07  1:59 [PATCH 0/2] support new device for ixgbe Jie Wang
  2022-12-07  1:59 ` [PATCH 1/2] net/ixgbe/base: " Jie Wang
@ 2022-12-07  1:59 ` Jie Wang
  2022-12-13  1:59 ` [PATCH 0/2] " Zhang, Qi Z
  2 siblings, 0 replies; 4+ messages in thread
From: Jie Wang @ 2022-12-07  1:59 UTC (permalink / raw)
  To: dev; +Cc: stevex.yang, qi.z.zhang, qiming.yang, wenjun1.wu, Jie Wang

Added IXGBE_DEV_ID_82599_LS support for ixgbe driver.

Signed-off-by: Jie Wang <jie1x.wang@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index ae9f65b334..3f8da11bd1 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -426,6 +426,7 @@ static const struct rte_pci_id pci_id_ixgbe_map[] = {
 	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599EN_SFP) },
 	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_XAUI_LOM) },
 	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_T3_LOM) },
+	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_82599_LS) },
 	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540T) },
 	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540T1) },
 	{ RTE_PCI_DEVICE(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550EM_X_SFP) },
-- 
2.25.1


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

* RE: [PATCH 0/2] support new device for ixgbe
  2022-12-07  1:59 [PATCH 0/2] support new device for ixgbe Jie Wang
  2022-12-07  1:59 ` [PATCH 1/2] net/ixgbe/base: " Jie Wang
  2022-12-07  1:59 ` [PATCH 2/2] net/ixgbe: " Jie Wang
@ 2022-12-13  1:59 ` Zhang, Qi Z
  2 siblings, 0 replies; 4+ messages in thread
From: Zhang, Qi Z @ 2022-12-13  1:59 UTC (permalink / raw)
  To: Wang, Jie1X, dev; +Cc: Yang, SteveX, Yang, Qiming, Wu, Wenjun1



> -----Original Message-----
> From: Wang, Jie1X <jie1x.wang@intel.com>
> Sent: Wednesday, December 7, 2022 9:59 AM
> To: dev@dpdk.org
> Cc: Yang, SteveX <stevex.yang@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>; Yang, Qiming <qiming.yang@intel.com>; Wu,
> Wenjun1 <wenjun1.wu@intel.com>; Wang, Jie1X <jie1x.wang@intel.com>
> Subject: [PATCH 0/2] support new device for ixgbe
> 
> Added IXGBE_DEV_ID_82599_LS support for ixgbe.
> 
> Jie Wang (2):
>   net/ixgbe/base: support new device for ixgbe
>   net/ixgbe: support new device for ixgbe

Squashed into one patch.

> 
>  drivers/net/ixgbe/base/ixgbe_82599.c | 3 +++
> drivers/net/ixgbe/base/ixgbe_type.h  | 2 ++
>  drivers/net/ixgbe/ixgbe_ethdev.c     | 1 +
>  3 files changed, 6 insertions(+)
> 
> --
> 2.25.1

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:[~2022-12-13  1:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07  1:59 [PATCH 0/2] support new device for ixgbe Jie Wang
2022-12-07  1:59 ` [PATCH 1/2] net/ixgbe/base: " Jie Wang
2022-12-07  1:59 ` [PATCH 2/2] net/ixgbe: " Jie Wang
2022-12-13  1:59 ` [PATCH 0/2] " 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).