Skip to contentSkip to conversation

net/sxe: add net driver sxe

PATCH Superseded Jie Liu 1 participant 2 messages Sep 9, 2024 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20240826081101.2313

Jie Liu

author
#1 lore raw

PATCH v2 1/1 net/sxe: add net driver sxe

Adjust code implementation according to code style requirements.

---
 MAINTAINERS                                |    2 +-
 doc/guides/nics/features/sxe.ini           |    1 +
 drivers/net/sxe-dpdk-0.0.0.0-src.tar.gz    |  Bin 0 -> 196888 bytes
 drivers/net/sxe.zip                        |  Bin 0 -> 193908 bytes
 drivers/net/sxe/Makefile                   |   14 +
 drivers/net/sxe/base/docker_version        |    4 -
 drivers/net/sxe/base/sxe_common.c          |   18 +-
 drivers/net/sxe/base/sxe_compat_platform.h |   23 +-
 drivers/net/sxe/base/sxe_compat_version.h  |  303 +-
 drivers/net/sxe/base/sxe_errno.h           |   78 +-
 drivers/net/sxe/base/sxe_hw.c              | 1263 +++------
 drivers/net/sxe/base/sxe_hw.h              |  928 +++---
 drivers/net/sxe/base/sxe_logs.h            |  132 +-
 drivers/net/sxe/base/sxe_offload_common.c  |    9 +-
 drivers/net/sxe/base/sxe_queue_common.c    |   97 +-
 drivers/net/sxe/base/sxe_queue_common.h    |  177 +-
 drivers/net/sxe/base/sxe_rx_common.c       |   79 +-
 drivers/net/sxe/base/sxe_rx_common.h       |    3 +-
 drivers/net/sxe/base/sxe_tx_common.c       |    6 +-
 drivers/net/sxe/base/sxe_types.h           |    2 +-
 drivers/net/sxe/base/sxevf_hw.c            |  238 +-
 drivers/net/sxe/base/sxevf_hw.h            |  139 +-
 drivers/net/sxe/base/sxevf_regs.h          |  182 +-
 drivers/net/sxe/include/drv_msg.h          |    6 +-
 drivers/net/sxe/include/sxe/mgl/sxe_port.h |   37 +-
 drivers/net/sxe/include/sxe/sxe_cli.h      |  247 +-
 drivers/net/sxe/include/sxe/sxe_hdc.h      |   46 +-
 drivers/net/sxe/include/sxe/sxe_ioctl.h    |   10 +-
 drivers/net/sxe/include/sxe/sxe_msg.h      |  124 +-
 drivers/net/sxe/include/sxe/sxe_regs.h     |  880 +++---
 drivers/net/sxe/include/sxe_type.h         |  820 +++---
 drivers/net/sxe/include/sxe_version.h      |   31 +-
 drivers/net/sxe/meson.build                |   14 +
 drivers/net/sxe/pf/sxe.h                   |   30 +-
 drivers/net/sxe/pf/sxe_dcb.c               |  147 +-
 drivers/net/sxe/pf/sxe_dcb.h               |   48 +-
 drivers/net/sxe/pf/sxe_ethdev.c            |  117 +-
 drivers/net/sxe/pf/sxe_ethdev.h            |   11 +-
 drivers/net/sxe/pf/sxe_filter.c            |  125 +-
 drivers/net/sxe/pf/sxe_filter.h            |   40 +-
 drivers/net/sxe/pf/sxe_filter_ctrl.c       | 2951 ++++++++++++++++++++
 drivers/net/sxe/pf/sxe_filter_ctrl.h       |  153 +
 drivers/net/sxe/pf/sxe_flow_ctrl.c         |   13 +-
 drivers/net/sxe/pf/sxe_flow_ctrl.h         |    6 +-
 drivers/net/sxe/pf/sxe_fnav.c              |  507 ++++
 drivers/net/sxe/pf/sxe_fnav.h              |   80 +
 drivers/net/sxe/pf/sxe_irq.c               |  116 +-
 drivers/net/sxe/pf/sxe_irq.h               |   15 +-
 drivers/net/sxe/pf/sxe_macsec.c            |  260 ++
 drivers/net/sxe/pf/sxe_macsec.h            |   20 +
 drivers/net/sxe/pf/sxe_main.c              |   27 +-
 drivers/net/sxe/pf/sxe_offload.c           |   74 +-
 drivers/net/sxe/pf/sxe_offload.h           |    4 +-
 drivers/net/sxe/pf/sxe_phy.c               |  166 +-
 drivers/net/sxe/pf/sxe_phy.h               |   57 +-
 drivers/net/sxe/pf/sxe_pmd_hdc.c           |  168 +-
 drivers/net/sxe/pf/sxe_pmd_hdc.h           |   28 +-
 drivers/net/sxe/pf/sxe_ptp.c               |   14 +-
 drivers/net/sxe/pf/sxe_ptp.h               |    4 +-
 drivers/net/sxe/pf/sxe_queue.c             |  196 +-
 drivers/net/sxe/pf/sxe_queue.h             |   34 +-
 drivers/net/sxe/pf/sxe_rx.c                |  274 +-
 drivers/net/sxe/pf/sxe_rx.h                |   41 +-
 drivers/net/sxe/pf/sxe_stats.c             |   63 +-
 drivers/net/sxe/pf/sxe_stats.h             |    8 +-
 drivers/net/sxe/pf/sxe_tm.c                | 1115 ++++++++
 drivers/net/sxe/pf/sxe_tm.h                |   59 +
 drivers/net/sxe/pf/sxe_tx.c                |  208 +-
 drivers/net/sxe/pf/sxe_tx.h                |    2 +-
 drivers/net/sxe/pf/sxe_vec_common.h        |  328 +++
 drivers/net/sxe/pf/sxe_vec_neon.c          |  606 ++++
 drivers/net/sxe/pf/sxe_vec_sse.c           |  634 +++++
 drivers/net/sxe/pf/sxe_vf.c                |  247 +-
 drivers/net/sxe/pf/sxe_vf.h                |  114 +-
 drivers/net/sxe/rte_pmd_sxe_version.map    |    2 +-
 drivers/net/sxe/version.map                |    6 +-
 drivers/net/sxe/vf/sxevf.h                 |    8 +-
 drivers/net/sxe/vf/sxevf_ethdev.c          |  169 +-
 drivers/net/sxe/vf/sxevf_filter.c          |  119 +-
 drivers/net/sxe/vf/sxevf_filter.h          |   35 +-
 drivers/net/sxe/vf/sxevf_irq.c             |   90 +-
 drivers/net/sxe/vf/sxevf_irq.h             |    4 +-
 drivers/net/sxe/vf/sxevf_main.c            |   14 +-
 drivers/net/sxe/vf/sxevf_msg.c             |   78 +-
 drivers/net/sxe/vf/sxevf_msg.h             |   76 +-
 drivers/net/sxe/vf/sxevf_queue.c           |   20 +-
 drivers/net/sxe/vf/sxevf_queue.h           |    8 +-
 drivers/net/sxe/vf/sxevf_rx.c              |   28 +-
 drivers/net/sxe/vf/sxevf_stats.c           |   14 +-
 drivers/net/sxe/vf/sxevf_tx.c              |    1 -
 90 files changed, 10798 insertions(+), 4897 deletions(-)
 create mode 100644 drivers/net/sxe-dpdk-0.0.0.0-src.tar.gz
 create mode 100644 drivers/net/sxe.zip
 delete mode 100644 drivers/net/sxe/base/docker_version
 create mode 100644 drivers/net/sxe/pf/sxe_filter_ctrl.c
 create mode 100644 drivers/net/sxe/pf/sxe_filter_ctrl.h
 create mode 100644 drivers/net/sxe/pf/sxe_fnav.c
 create mode 100644 drivers/net/sxe/pf/sxe_fnav.h
 create mode 100644 drivers/net/sxe/pf/sxe_macsec.c
 create mode 100644 drivers/net/sxe/pf/sxe_macsec.h
 create mode 100644 drivers/net/sxe/pf/sxe_tm.c
 create mode 100644 drivers/net/sxe/pf/sxe_tm.h
 create mode 100644 drivers/net/sxe/pf/sxe_vec_common.h
 create mode 100644 drivers/net/sxe/pf/sxe_vec_neon.c
 create mode 100644 drivers/net/sxe/pf/sxe_vec_sse.c
MAINTAINERS +1 -1
index 03adb4036f..e3d5c35093 100644
@@ -982,7 +982,7 @@ F: doc/guides/nics/sfc_efx.rst
 F: doc/guides/nics/features/sfc.ini
 
 Linkdata sxe
-M: Jie Liu <[email protected]>
+M: Jie Li <[email protected]>
 F: drivers/net/sxe/
 F: doc/guides/nics/sxe.rst
 F: doc/guides/nics/features/sxe*.ini
doc/guides/nics/features/sxe.ini +1 -0
index 5a18808ccf..b61ad7c699 100644
@@ -35,6 +35,7 @@ VLAN offload         = P
 QinQ offload         = P
 L3 checksum offload  = P
 L4 checksum offload  = P
+MACsec offload       = P
 Inner L3 checksum    = P
 Inner L4 checksum    = P
 Packet type parsing  = Y
drivers/net/sxe-dpdk-0.0.0.0-src.tar.gz new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..44a4c97fb4812e5dfaccd076888a8c016231f80e
GIT binary patch
drivers/net/sxe.zip new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..acc83b77710ed628eea3449f8aab3d07dc148f08
GIT binary patch
drivers/net/sxe/Makefile +14 -0
index 5e2870fdc4..fd8213701d 100644
@@ -13,6 +13,10 @@ CFLAGS += -DSXE_DPDK
 CFLAGS += -DSXE_HOST_DRIVER
 CFLAGS += -DSXE_DPDK_L4_FEATURES
 CFLAGS += -DSXE_DPDK_SRIOV
+CFLAGS += -DSXE_DPDK_FILTER_CTRL
+CFLAGS += -DSXE_DPDK_MACSEC
+CFLAGS += -DSXE_DPDK_TM
+CFLAGS += -DSXE_DPDK_SIMD
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 
@@ -86,6 +90,16 @@ SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_stats.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_tx.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_vf.c
 
+ifeq ($(CONFIG_RTE_ARCH_ARM64),y)
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_vec_neon.c
+else
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_vec_sse.c
+endif
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_filter_ctrl.c
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_fnav.c
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_macsec.c
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_tm.c
+
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxevf_main.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxevf_filter.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxevf_msg.c
drivers/net/sxe/base/docker_version deleted +0 -4
deleted file mode 100644
index 33ecb22479..0000000000
@@ -1,4 +0,0 @@
-dpdk_images_v0.1:
-只包含dodk源码,源码目录:/usr/src/dpdk
-dpdk_images_v0.2:
-包含dpdk源码和build下的原生编译产物
drivers/net/sxe/base/sxe_common.c +8 -10
index 62f76ccf3f..0a3c53e3ca 100644
@@ -11,9 +11,9 @@
 #include "sxe_common.h"
 
 #define SXE_TRACE_ID_COUNT_MASK  0x00000000000000FFLLU
-#define SXE_TRACE_ID_TID_MASK    0x0000000000FFFF00LLU
+#define SXE_TRACE_ID_TID_MASK	0x0000000000FFFF00LLU
 #define SXE_TRACE_ID_TIME_MASK   0x00FFFFFFFF000000LLU
-#define SXE_TRACE_ID_FLAG        0xFF00000000000000LLU
+#define SXE_TRACE_ID_FLAG		0xFF00000000000000LLU
 
 #define SXE_TRACE_ID_COUNT_SHIFT 0
 #define SXE_TRACE_ID_TID_SHIFT   8
@@ -22,18 +22,17 @@
 #define SXE_SEC_TO_MS(sec) (sec * 1000ULL)
 #define SXE_SEC_TO_NS(sec) (sec * 1000000000ULL)
 
-#define SXE_USEC_PER_MS          1000
+#define SXE_USEC_PER_MS		  1000
 
-static u64 sxe_trace_id      = 0;
+u64 sxe_trace_id;
 
 u64 sxe_time_get_real_ms(void)
 {
 	u64 ms = 0;
-	struct timeval      tv = { 0 };
+	struct timeval	  tv = { 0 };
 	s32 ret = gettimeofday(&tv, NULL);
-	if(ret < 0) {
+	if (ret < 0)
 		goto l_end;
-	}
 
 	ms = SXE_SEC_TO_MS(tv.tv_sec) + tv.tv_usec / SXE_USEC_PER_MS;
 
@@ -43,8 +42,8 @@ u64 sxe_time_get_real_ms(void)
 
 u64 sxe_trace_id_gen(void)
 {
-	u64 tid       = getpid() + (pthread_self() << 20);
-	u64 index     = 0;
+	u64 tid	   = getpid() + (pthread_self() << 20);
+	u64 index	 = 0;
 	u64 timestamp = sxe_time_get_real_ms();
 
 	sxe_trace_id = (SXE_TRACE_ID_FLAG)
@@ -57,7 +56,6 @@ u64 sxe_trace_id_gen(void)
 void sxe_trace_id_clean(void)
 {
 	sxe_trace_id = 0;
-	return;
 }
 
 u64 sxe_trace_id_get(void)
drivers/net/sxe/base/sxe_compat_platform.h +11 -12
index 8509f3cf0c..a870585567 100644
@@ -19,27 +19,27 @@
 #ifdef SXE_TEST
 #define STATIC
 #else
-#define STATIC static
+#define static static
 #endif
 
 #ifndef DIV_ROUND_UP
-#define DIV_ROUND_UP(n, d)      (((n) + (d) - 1) / (d))
+#define DIV_ROUND_UP(n, d)	  (((n) + (d) - 1) / (d))
 #endif
 
 #define __iomem
 #define __force
 
-#define min(a,b)	RTE_MIN(a,b)
+#define min(a, b)	RTE_MIN(a, b)
 
 #ifdef __has_attribute
 #if __has_attribute(__fallthrough__)
 # define fallthrough __attribute__((__fallthrough__))
 #else
-# define fallthrough do {} while (0)  
-#endif 
+# define fallthrough do {} while (0)
+#endif
 #else
-# define fallthrough do {} while (0)  
-#endif 
+# define fallthrough do {} while (0)
+#endif
 
 #define __swab32(_value) \
 	(((u32)(_value) >> 24) | (((u32)(_value) & 0x00FF0000) >> 8) | \
@@ -74,7 +74,7 @@
 #define mdelay rte_delay_ms
 #define udelay rte_delay_us
 #define usleep_range(min, max) rte_delay_us(min)
-#define msleep(x)             rte_delay_us(x*1000)
+#define msleep(x)			 rte_delay_us(x*1000)
 
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
 #define BIT(x)	(1UL << (x))
@@ -82,15 +82,15 @@
 
 #define NSEC_PER_SEC	1000000000L
 
-#define ETH_P_1588	0x88F7		
+#define ETH_P_1588	0x88F7
 
 #define VLAN_PRIO_SHIFT		13
 
 static inline void
 set_bit(unsigned long nr, void *addr)
 {
-        int *m = ((int *)addr) + (nr >> 5);
-        *m |= 1 << (nr & 31);
+	int *m = ((int *)addr) + (nr >> 5);
+	*m |= 1 << (nr & 31);
 }
 
 static inline int
@@ -137,7 +137,6 @@ static inline u32 sxe_read_addr(const volatile void *addr)
 static inline void  sxe_write_addr(u32 value, volatile void *addr)
 {
 	rte_write32((rte_cpu_to_le_32(value)), addr);
-	return;
 }
 
 #endif
drivers/net/sxe/base/sxe_compat_version.h +150 -153

391 lines not on this page · raw message

drivers/net/sxe/base/sxe_errno.h +39 -39

84 lines not on this page · raw message

drivers/net/sxe/base/sxe_hw.c +451 -812

2,363 lines not on this page · raw message

drivers/net/sxe/base/sxe_hw.h +474 -454

928 lines not on this page · raw message

drivers/net/sxe/base/sxe_logs.h +50 -82

132 lines not on this page · raw message

drivers/net/sxe/base/sxe_offload_common.c +4 -5
index a7075b4669..b8d7597b84 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxe_queue_common.c +43 -54

97 lines not on this page · raw message

drivers/net/sxe/base/sxe_queue_common.h +89 -88

177 lines not on this page · raw message

drivers/net/sxe/base/sxe_rx_common.c +40 -39

79 lines not on this page · raw message

drivers/net/sxe/base/sxe_rx_common.h +2 -1
index b7eb37f54a..93d2314968 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxe_tx_common.c +2 -4
index a47f90109a..e74556866f 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxe_types.h +1 -1
index 966ee230b3..a36a3cfbf6 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxevf_hw.c +88 -150

238 lines not on this page · raw message

drivers/net/sxe/base/sxevf_hw.h +70 -69

139 lines not on this page · raw message

drivers/net/sxe/base/sxevf_regs.h +91 -91

182 lines not on this page · raw message

drivers/net/sxe/include/drv_msg.h +3 -3
index 9f06624cc3..e441f9d371 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/include/sxe/mgl/sxe_port.h +19 -18
index e41cb9e87b..642b9eb045 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/include/sxe/sxe_cli.h +126 -121

247 lines not on this page · raw message

drivers/net/sxe/include/sxe/sxe_hdc.h +23 -23

46 lines not on this page · raw message

drivers/net/sxe/include/sxe/sxe_ioctl.h +5 -5
index 4f39b0f92c..0a796add40 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/include/sxe/sxe_msg.h +62 -62

124 lines not on this page · raw message

drivers/net/sxe/include/sxe/sxe_regs.h +440 -440

880 lines not on this page · raw message

drivers/net/sxe/include/sxe_type.h +411 -409

820 lines not on this page · raw message

drivers/net/sxe/include/sxe_version.h +15 -16
index 50afd69a63..6b5e4caef1 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/meson.build +14 -0
index 5e7b49dcf6..50611c27fe 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe.h +16 -14
index 139480e90d..4d7e03adee 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_dcb.c +50 -97

147 lines not on this page · raw message

drivers/net/sxe/pf/sxe_dcb.h +24 -24

48 lines not on this page · raw message

drivers/net/sxe/pf/sxe_ethdev.c +55 -62

117 lines not on this page · raw message

drivers/net/sxe/pf/sxe_ethdev.h +6 -5
index f1165e0413..66034343ea 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_filter.c +48 -77

125 lines not on this page · raw message

drivers/net/sxe/pf/sxe_filter.h +20 -20
index a541dce586..f7d147e492 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_filter_ctrl.c new file +2951 -0

2,951 lines not on this page · raw message

drivers/net/sxe/pf/sxe_filter_ctrl.h new file +153 -0

153 lines not on this page · raw message

drivers/net/sxe/pf/sxe_flow_ctrl.c +6 -7
index 33c4ffeb9d..890c5e7df3 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_flow_ctrl.h +3 -3
index 0be5d1aaaf..fb124b11bd 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_fnav.c new file +507 -0

507 lines not on this page · raw message

drivers/net/sxe/pf/sxe_fnav.h new file +80 -0

80 lines not on this page · raw message

drivers/net/sxe/pf/sxe_irq.c +48 -68

116 lines not on this page · raw message

drivers/net/sxe/pf/sxe_irq.h +8 -7
index 322d7023c9..7b63013545 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_macsec.c new file +260 -0

260 lines not on this page · raw message

drivers/net/sxe/pf/sxe_macsec.h new file +20 -0
new file mode 100644
index 0000000000..5497ad360d

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_main.c +11 -16
index 3f30f26508..d25b1d9250 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_offload.c +27 -47

74 lines not on this page · raw message

drivers/net/sxe/pf/sxe_offload.h +2 -2
index d1f651feb6..458b6464c5 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_phy.c +75 -91

166 lines not on this page · raw message

drivers/net/sxe/pf/sxe_phy.h +27 -30

57 lines not on this page · raw message

drivers/net/sxe/pf/sxe_pmd_hdc.c +73 -95

168 lines not on this page · raw message

drivers/net/sxe/pf/sxe_pmd_hdc.h +14 -14
index 13671f3a83..98e6599b9d 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_ptp.c +6 -8
index 166665ad11..5e7fa05307 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_ptp.h +2 -2
index 367c1a34a0..14971b2d50 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_queue.c +84 -112

196 lines not on this page · raw message

drivers/net/sxe/pf/sxe_queue.h +17 -17
index ef3036a07d..9f73a2ac3f 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_rx.c +110 -164

274 lines not on this page · raw message

drivers/net/sxe/pf/sxe_rx.h +20 -21

41 lines not on this page · raw message

drivers/net/sxe/pf/sxe_stats.c +29 -34

63 lines not on this page · raw message

drivers/net/sxe/pf/sxe_stats.h +4 -4
index 792a160753..8be0ce9448 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_tm.c new file +1115 -0

1,115 lines not on this page · raw message

drivers/net/sxe/pf/sxe_tm.h new file +59 -0

59 lines not on this page · raw message

drivers/net/sxe/pf/sxe_tx.c +83 -125

208 lines not on this page · raw message

drivers/net/sxe/pf/sxe_tx.h +1 -1
index 78249c3340..ec731d8fcc 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_vec_common.h new file +328 -0

328 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vec_neon.c new file +606 -0

606 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vec_sse.c new file +634 -0

634 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vf.c +113 -134

247 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vf.h +57 -57

114 lines not on this page · raw message

drivers/net/sxe/rte_pmd_sxe_version.map +1 -1
index e85eb752b4..1ee53b5969 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/version.map +3 -3
index 2064d17939..fe54b7732a 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf.h +4 -4
index 52d294d869..0db3d73d2c 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_ethdev.c +80 -89

169 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_filter.c +49 -70

119 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_filter.h +18 -17
index 9e74718b95..e94be98ec5 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_irq.c +38 -52

90 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_irq.h +2 -2
index 169eb1f0fd..8ebc319e83 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_main.c +7 -7
index 72d600c0b1..1eb4c3b002 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_msg.c +31 -47

78 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_msg.h +38 -38

76 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_queue.c +5 -15
index 5e7d9ec17d..15a2461e5f 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_queue.h +4 -4
index 1a061231a5..f22bdb6768 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_rx.c +12 -16
index 53b9168345..85ed9bffcb 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_stats.c +7 -7
index f82ccf1fd7..007bd02887 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_tx.c +0 -1
index 667a165c64..3d80deee78 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.45.2.windows.1

Part of the diff is not shown here. View the raw message.

author
#2 lore raw

PATCH v2 1/1 net/sxe: add net driver sxe

Adjust code implementation according to code style requirements.

---
 MAINTAINERS                                |    2 +-
 doc/guides/nics/features/sxe.ini           |    1 +
 drivers/net/sxe-dpdk-0.0.0.0-src.tar.gz    |  Bin 0 -> 196888 bytes
 drivers/net/sxe.zip                        |  Bin 0 -> 193908 bytes
 drivers/net/sxe/Makefile                   |   14 +
 drivers/net/sxe/base/docker_version        |    4 -
 drivers/net/sxe/base/sxe_common.c          |   18 +-
 drivers/net/sxe/base/sxe_compat_platform.h |   23 +-
 drivers/net/sxe/base/sxe_compat_version.h  |  303 +-
 drivers/net/sxe/base/sxe_errno.h           |   78 +-
 drivers/net/sxe/base/sxe_hw.c              | 1263 +++------
 drivers/net/sxe/base/sxe_hw.h              |  928 +++---
 drivers/net/sxe/base/sxe_logs.h            |  132 +-
 drivers/net/sxe/base/sxe_offload_common.c  |    9 +-
 drivers/net/sxe/base/sxe_queue_common.c    |   97 +-
 drivers/net/sxe/base/sxe_queue_common.h    |  177 +-
 drivers/net/sxe/base/sxe_rx_common.c       |   79 +-
 drivers/net/sxe/base/sxe_rx_common.h       |    3 +-
 drivers/net/sxe/base/sxe_tx_common.c       |    6 +-
 drivers/net/sxe/base/sxe_types.h           |    2 +-
 drivers/net/sxe/base/sxevf_hw.c            |  238 +-
 drivers/net/sxe/base/sxevf_hw.h            |  139 +-
 drivers/net/sxe/base/sxevf_regs.h          |  182 +-
 drivers/net/sxe/include/drv_msg.h          |    6 +-
 drivers/net/sxe/include/sxe/mgl/sxe_port.h |   37 +-
 drivers/net/sxe/include/sxe/sxe_cli.h      |  247 +-
 drivers/net/sxe/include/sxe/sxe_hdc.h      |   46 +-
 drivers/net/sxe/include/sxe/sxe_ioctl.h    |   10 +-
 drivers/net/sxe/include/sxe/sxe_msg.h      |  124 +-
 drivers/net/sxe/include/sxe/sxe_regs.h     |  880 +++---
 drivers/net/sxe/include/sxe_type.h         |  820 +++---
 drivers/net/sxe/include/sxe_version.h      |   31 +-
 drivers/net/sxe/meson.build                |   14 +
 drivers/net/sxe/pf/sxe.h                   |   30 +-
 drivers/net/sxe/pf/sxe_dcb.c               |  147 +-
 drivers/net/sxe/pf/sxe_dcb.h               |   48 +-
 drivers/net/sxe/pf/sxe_ethdev.c            |  117 +-
 drivers/net/sxe/pf/sxe_ethdev.h            |   11 +-
 drivers/net/sxe/pf/sxe_filter.c            |  125 +-
 drivers/net/sxe/pf/sxe_filter.h            |   40 +-
 drivers/net/sxe/pf/sxe_filter_ctrl.c       | 2951 ++++++++++++++++++++
 drivers/net/sxe/pf/sxe_filter_ctrl.h       |  153 +
 drivers/net/sxe/pf/sxe_flow_ctrl.c         |   13 +-
 drivers/net/sxe/pf/sxe_flow_ctrl.h         |    6 +-
 drivers/net/sxe/pf/sxe_fnav.c              |  507 ++++
 drivers/net/sxe/pf/sxe_fnav.h              |   80 +
 drivers/net/sxe/pf/sxe_irq.c               |  116 +-
 drivers/net/sxe/pf/sxe_irq.h               |   15 +-
 drivers/net/sxe/pf/sxe_macsec.c            |  260 ++
 drivers/net/sxe/pf/sxe_macsec.h            |   20 +
 drivers/net/sxe/pf/sxe_main.c              |   27 +-
 drivers/net/sxe/pf/sxe_offload.c           |   74 +-
 drivers/net/sxe/pf/sxe_offload.h           |    4 +-
 drivers/net/sxe/pf/sxe_phy.c               |  166 +-
 drivers/net/sxe/pf/sxe_phy.h               |   57 +-
 drivers/net/sxe/pf/sxe_pmd_hdc.c           |  168 +-
 drivers/net/sxe/pf/sxe_pmd_hdc.h           |   28 +-
 drivers/net/sxe/pf/sxe_ptp.c               |   14 +-
 drivers/net/sxe/pf/sxe_ptp.h               |    4 +-
 drivers/net/sxe/pf/sxe_queue.c             |  196 +-
 drivers/net/sxe/pf/sxe_queue.h             |   34 +-
 drivers/net/sxe/pf/sxe_rx.c                |  274 +-
 drivers/net/sxe/pf/sxe_rx.h                |   41 +-
 drivers/net/sxe/pf/sxe_stats.c             |   63 +-
 drivers/net/sxe/pf/sxe_stats.h             |    8 +-
 drivers/net/sxe/pf/sxe_tm.c                | 1115 ++++++++
 drivers/net/sxe/pf/sxe_tm.h                |   59 +
 drivers/net/sxe/pf/sxe_tx.c                |  208 +-
 drivers/net/sxe/pf/sxe_tx.h                |    2 +-
 drivers/net/sxe/pf/sxe_vec_common.h        |  328 +++
 drivers/net/sxe/pf/sxe_vec_neon.c          |  606 ++++
 drivers/net/sxe/pf/sxe_vec_sse.c           |  634 +++++
 drivers/net/sxe/pf/sxe_vf.c                |  247 +-
 drivers/net/sxe/pf/sxe_vf.h                |  114 +-
 drivers/net/sxe/rte_pmd_sxe_version.map    |    2 +-
 drivers/net/sxe/version.map                |    6 +-
 drivers/net/sxe/vf/sxevf.h                 |    8 +-
 drivers/net/sxe/vf/sxevf_ethdev.c          |  169 +-
 drivers/net/sxe/vf/sxevf_filter.c          |  119 +-
 drivers/net/sxe/vf/sxevf_filter.h          |   35 +-
 drivers/net/sxe/vf/sxevf_irq.c             |   90 +-
 drivers/net/sxe/vf/sxevf_irq.h             |    4 +-
 drivers/net/sxe/vf/sxevf_main.c            |   14 +-
 drivers/net/sxe/vf/sxevf_msg.c             |   78 +-
 drivers/net/sxe/vf/sxevf_msg.h             |   76 +-
 drivers/net/sxe/vf/sxevf_queue.c           |   20 +-
 drivers/net/sxe/vf/sxevf_queue.h           |    8 +-
 drivers/net/sxe/vf/sxevf_rx.c              |   28 +-
 drivers/net/sxe/vf/sxevf_stats.c           |   14 +-
 drivers/net/sxe/vf/sxevf_tx.c              |    1 -
 90 files changed, 10798 insertions(+), 4897 deletions(-)
 create mode 100644 drivers/net/sxe-dpdk-0.0.0.0-src.tar.gz
 create mode 100644 drivers/net/sxe.zip
 delete mode 100644 drivers/net/sxe/base/docker_version
 create mode 100644 drivers/net/sxe/pf/sxe_filter_ctrl.c
 create mode 100644 drivers/net/sxe/pf/sxe_filter_ctrl.h
 create mode 100644 drivers/net/sxe/pf/sxe_fnav.c
 create mode 100644 drivers/net/sxe/pf/sxe_fnav.h
 create mode 100644 drivers/net/sxe/pf/sxe_macsec.c
 create mode 100644 drivers/net/sxe/pf/sxe_macsec.h
 create mode 100644 drivers/net/sxe/pf/sxe_tm.c
 create mode 100644 drivers/net/sxe/pf/sxe_tm.h
 create mode 100644 drivers/net/sxe/pf/sxe_vec_common.h
 create mode 100644 drivers/net/sxe/pf/sxe_vec_neon.c
 create mode 100644 drivers/net/sxe/pf/sxe_vec_sse.c
MAINTAINERS +1 -1
index 03adb4036f..e3d5c35093 100644
@@ -982,7 +982,7 @@ F: doc/guides/nics/sfc_efx.rst
 F: doc/guides/nics/features/sfc.ini
 
 Linkdata sxe
-M: Jie Liu <[email protected]>
+M: Jie Li <[email protected]>
 F: drivers/net/sxe/
 F: doc/guides/nics/sxe.rst
 F: doc/guides/nics/features/sxe*.ini
doc/guides/nics/features/sxe.ini +1 -0
index 5a18808ccf..b61ad7c699 100644
@@ -35,6 +35,7 @@ VLAN offload         = P
 QinQ offload         = P
 L3 checksum offload  = P
 L4 checksum offload  = P
+MACsec offload       = P
 Inner L3 checksum    = P
 Inner L4 checksum    = P
 Packet type parsing  = Y
drivers/net/sxe-dpdk-0.0.0.0-src.tar.gz new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..44a4c97fb4812e5dfaccd076888a8c016231f80e
GIT binary patch
drivers/net/sxe.zip new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..acc83b77710ed628eea3449f8aab3d07dc148f08
GIT binary patch
drivers/net/sxe/Makefile +14 -0
index 5e2870fdc4..fd8213701d 100644
@@ -13,6 +13,10 @@ CFLAGS += -DSXE_DPDK
 CFLAGS += -DSXE_HOST_DRIVER
 CFLAGS += -DSXE_DPDK_L4_FEATURES
 CFLAGS += -DSXE_DPDK_SRIOV
+CFLAGS += -DSXE_DPDK_FILTER_CTRL
+CFLAGS += -DSXE_DPDK_MACSEC
+CFLAGS += -DSXE_DPDK_TM
+CFLAGS += -DSXE_DPDK_SIMD
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
 
@@ -86,6 +90,16 @@ SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_stats.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_tx.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_vf.c
 
+ifeq ($(CONFIG_RTE_ARCH_ARM64),y)
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_vec_neon.c
+else
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_vec_sse.c
+endif
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_filter_ctrl.c
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_fnav.c
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_macsec.c
+SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxe_tm.c
+
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxevf_main.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxevf_filter.c
 SRCS-$(CONFIG_RTE_LIBRTE_SXE_PMD) += sxevf_msg.c
drivers/net/sxe/base/docker_version deleted +0 -4
deleted file mode 100644
index 33ecb22479..0000000000
@@ -1,4 +0,0 @@
-dpdk_images_v0.1:
-只包含dodk源码,源码目录:/usr/src/dpdk
-dpdk_images_v0.2:
-包含dpdk源码和build下的原生编译产物
drivers/net/sxe/base/sxe_common.c +8 -10
index 62f76ccf3f..0a3c53e3ca 100644
@@ -11,9 +11,9 @@
 #include "sxe_common.h"
 
 #define SXE_TRACE_ID_COUNT_MASK  0x00000000000000FFLLU
-#define SXE_TRACE_ID_TID_MASK    0x0000000000FFFF00LLU
+#define SXE_TRACE_ID_TID_MASK	0x0000000000FFFF00LLU
 #define SXE_TRACE_ID_TIME_MASK   0x00FFFFFFFF000000LLU
-#define SXE_TRACE_ID_FLAG        0xFF00000000000000LLU
+#define SXE_TRACE_ID_FLAG		0xFF00000000000000LLU
 
 #define SXE_TRACE_ID_COUNT_SHIFT 0
 #define SXE_TRACE_ID_TID_SHIFT   8
@@ -22,18 +22,17 @@
 #define SXE_SEC_TO_MS(sec) (sec * 1000ULL)
 #define SXE_SEC_TO_NS(sec) (sec * 1000000000ULL)
 
-#define SXE_USEC_PER_MS          1000
+#define SXE_USEC_PER_MS		  1000
 
-static u64 sxe_trace_id      = 0;
+u64 sxe_trace_id;
 
 u64 sxe_time_get_real_ms(void)
 {
 	u64 ms = 0;
-	struct timeval      tv = { 0 };
+	struct timeval	  tv = { 0 };
 	s32 ret = gettimeofday(&tv, NULL);
-	if(ret < 0) {
+	if (ret < 0)
 		goto l_end;
-	}
 
 	ms = SXE_SEC_TO_MS(tv.tv_sec) + tv.tv_usec / SXE_USEC_PER_MS;
 
@@ -43,8 +42,8 @@ u64 sxe_time_get_real_ms(void)
 
 u64 sxe_trace_id_gen(void)
 {
-	u64 tid       = getpid() + (pthread_self() << 20);
-	u64 index     = 0;
+	u64 tid	   = getpid() + (pthread_self() << 20);
+	u64 index	 = 0;
 	u64 timestamp = sxe_time_get_real_ms();
 
 	sxe_trace_id = (SXE_TRACE_ID_FLAG)
@@ -57,7 +56,6 @@ u64 sxe_trace_id_gen(void)
 void sxe_trace_id_clean(void)
 {
 	sxe_trace_id = 0;
-	return;
 }
 
 u64 sxe_trace_id_get(void)
drivers/net/sxe/base/sxe_compat_platform.h +11 -12
index 8509f3cf0c..a870585567 100644
@@ -19,27 +19,27 @@
 #ifdef SXE_TEST
 #define STATIC
 #else
-#define STATIC static
+#define static static
 #endif
 
 #ifndef DIV_ROUND_UP
-#define DIV_ROUND_UP(n, d)      (((n) + (d) - 1) / (d))
+#define DIV_ROUND_UP(n, d)	  (((n) + (d) - 1) / (d))
 #endif
 
 #define __iomem
 #define __force
 
-#define min(a,b)	RTE_MIN(a,b)
+#define min(a, b)	RTE_MIN(a, b)
 
 #ifdef __has_attribute
 #if __has_attribute(__fallthrough__)
 # define fallthrough __attribute__((__fallthrough__))
 #else
-# define fallthrough do {} while (0)  
-#endif 
+# define fallthrough do {} while (0)
+#endif
 #else
-# define fallthrough do {} while (0)  
-#endif 
+# define fallthrough do {} while (0)
+#endif
 
 #define __swab32(_value) \
 	(((u32)(_value) >> 24) | (((u32)(_value) & 0x00FF0000) >> 8) | \
@@ -74,7 +74,7 @@
 #define mdelay rte_delay_ms
 #define udelay rte_delay_us
 #define usleep_range(min, max) rte_delay_us(min)
-#define msleep(x)             rte_delay_us(x*1000)
+#define msleep(x)			 rte_delay_us(x*1000)
 
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
 #define BIT(x)	(1UL << (x))
@@ -82,15 +82,15 @@
 
 #define NSEC_PER_SEC	1000000000L
 
-#define ETH_P_1588	0x88F7		
+#define ETH_P_1588	0x88F7
 
 #define VLAN_PRIO_SHIFT		13
 
 static inline void
 set_bit(unsigned long nr, void *addr)
 {
-        int *m = ((int *)addr) + (nr >> 5);
-        *m |= 1 << (nr & 31);
+	int *m = ((int *)addr) + (nr >> 5);
+	*m |= 1 << (nr & 31);
 }
 
 static inline int
@@ -137,7 +137,6 @@ static inline u32 sxe_read_addr(const volatile void *addr)
 static inline void  sxe_write_addr(u32 value, volatile void *addr)
 {
 	rte_write32((rte_cpu_to_le_32(value)), addr);
-	return;
 }
 
 #endif
drivers/net/sxe/base/sxe_compat_version.h +150 -153

391 lines not on this page · raw message

drivers/net/sxe/base/sxe_errno.h +39 -39

84 lines not on this page · raw message

drivers/net/sxe/base/sxe_hw.c +451 -812

2,363 lines not on this page · raw message

drivers/net/sxe/base/sxe_hw.h +474 -454

928 lines not on this page · raw message

drivers/net/sxe/base/sxe_logs.h +50 -82

132 lines not on this page · raw message

drivers/net/sxe/base/sxe_offload_common.c +4 -5
index a7075b4669..b8d7597b84 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxe_queue_common.c +43 -54

97 lines not on this page · raw message

drivers/net/sxe/base/sxe_queue_common.h +89 -88

177 lines not on this page · raw message

drivers/net/sxe/base/sxe_rx_common.c +40 -39

79 lines not on this page · raw message

drivers/net/sxe/base/sxe_rx_common.h +2 -1
index b7eb37f54a..93d2314968 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxe_tx_common.c +2 -4
index a47f90109a..e74556866f 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxe_types.h +1 -1
index 966ee230b3..a36a3cfbf6 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/base/sxevf_hw.c +88 -150

238 lines not on this page · raw message

drivers/net/sxe/base/sxevf_hw.h +70 -69

139 lines not on this page · raw message

drivers/net/sxe/base/sxevf_regs.h +91 -91

182 lines not on this page · raw message

drivers/net/sxe/include/drv_msg.h +3 -3
index 9f06624cc3..e441f9d371 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/include/sxe/mgl/sxe_port.h +19 -18
index e41cb9e87b..642b9eb045 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/include/sxe/sxe_cli.h +126 -121

247 lines not on this page · raw message

drivers/net/sxe/include/sxe/sxe_hdc.h +23 -23

46 lines not on this page · raw message

drivers/net/sxe/include/sxe/sxe_ioctl.h +5 -5
index 4f39b0f92c..0a796add40 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/include/sxe/sxe_msg.h +62 -62

124 lines not on this page · raw message

drivers/net/sxe/include/sxe/sxe_regs.h +440 -440

880 lines not on this page · raw message

drivers/net/sxe/include/sxe_type.h +411 -409

820 lines not on this page · raw message

drivers/net/sxe/include/sxe_version.h +15 -16
index 50afd69a63..6b5e4caef1 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/meson.build +14 -0
index 5e7b49dcf6..50611c27fe 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe.h +16 -14
index 139480e90d..4d7e03adee 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_dcb.c +50 -97

147 lines not on this page · raw message

drivers/net/sxe/pf/sxe_dcb.h +24 -24

48 lines not on this page · raw message

drivers/net/sxe/pf/sxe_ethdev.c +55 -62

117 lines not on this page · raw message

drivers/net/sxe/pf/sxe_ethdev.h +6 -5
index f1165e0413..66034343ea 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_filter.c +48 -77

125 lines not on this page · raw message

drivers/net/sxe/pf/sxe_filter.h +20 -20
index a541dce586..f7d147e492 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_filter_ctrl.c new file +2951 -0

2,951 lines not on this page · raw message

drivers/net/sxe/pf/sxe_filter_ctrl.h new file +153 -0

153 lines not on this page · raw message

drivers/net/sxe/pf/sxe_flow_ctrl.c +6 -7
index 33c4ffeb9d..890c5e7df3 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_flow_ctrl.h +3 -3
index 0be5d1aaaf..fb124b11bd 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_fnav.c new file +507 -0

507 lines not on this page · raw message

drivers/net/sxe/pf/sxe_fnav.h new file +80 -0

80 lines not on this page · raw message

drivers/net/sxe/pf/sxe_irq.c +48 -68

116 lines not on this page · raw message

drivers/net/sxe/pf/sxe_irq.h +8 -7
index 322d7023c9..7b63013545 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_macsec.c new file +260 -0

260 lines not on this page · raw message

drivers/net/sxe/pf/sxe_macsec.h new file +20 -0
new file mode 100644
index 0000000000..5497ad360d

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_main.c +11 -16
index 3f30f26508..d25b1d9250 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_offload.c +27 -47

74 lines not on this page · raw message

drivers/net/sxe/pf/sxe_offload.h +2 -2
index d1f651feb6..458b6464c5 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_phy.c +75 -91

166 lines not on this page · raw message

drivers/net/sxe/pf/sxe_phy.h +27 -30

57 lines not on this page · raw message

drivers/net/sxe/pf/sxe_pmd_hdc.c +73 -95

168 lines not on this page · raw message

drivers/net/sxe/pf/sxe_pmd_hdc.h +14 -14
index 13671f3a83..98e6599b9d 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_ptp.c +6 -8
index 166665ad11..5e7fa05307 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_ptp.h +2 -2
index 367c1a34a0..14971b2d50 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_queue.c +84 -112

196 lines not on this page · raw message

drivers/net/sxe/pf/sxe_queue.h +17 -17
index ef3036a07d..9f73a2ac3f 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_rx.c +110 -164

274 lines not on this page · raw message

drivers/net/sxe/pf/sxe_rx.h +20 -21

41 lines not on this page · raw message

drivers/net/sxe/pf/sxe_stats.c +29 -34

63 lines not on this page · raw message

drivers/net/sxe/pf/sxe_stats.h +4 -4
index 792a160753..8be0ce9448 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_tm.c new file +1115 -0

1,115 lines not on this page · raw message

drivers/net/sxe/pf/sxe_tm.h new file +59 -0

59 lines not on this page · raw message

drivers/net/sxe/pf/sxe_tx.c +83 -125

208 lines not on this page · raw message

drivers/net/sxe/pf/sxe_tx.h +1 -1
index 78249c3340..ec731d8fcc 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/pf/sxe_vec_common.h new file +328 -0

328 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vec_neon.c new file +606 -0

606 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vec_sse.c new file +634 -0

634 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vf.c +113 -134

247 lines not on this page · raw message

drivers/net/sxe/pf/sxe_vf.h +57 -57

114 lines not on this page · raw message

drivers/net/sxe/rte_pmd_sxe_version.map +1 -1
index e85eb752b4..1ee53b5969 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/version.map +3 -3
index 2064d17939..fe54b7732a 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf.h +4 -4
index 52d294d869..0db3d73d2c 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_ethdev.c +80 -89

169 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_filter.c +49 -70

119 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_filter.h +18 -17
index 9e74718b95..e94be98ec5 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_irq.c +38 -52

90 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_irq.h +2 -2
index 169eb1f0fd..8ebc319e83 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_main.c +7 -7
index 72d600c0b1..1eb4c3b002 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_msg.c +31 -47

78 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_msg.h +38 -38

76 lines not on this page · raw message

drivers/net/sxe/vf/sxevf_queue.c +5 -15
index 5e7d9ec17d..15a2461e5f 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_queue.h +4 -4
index 1a061231a5..f22bdb6768 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_rx.c +12 -16
index 53b9168345..85ed9bffcb 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_stats.c +7 -7
index f82ccf1fd7..007bd02887 100644

Lines of this file are not shown. View the raw message.

drivers/net/sxe/vf/sxevf_tx.c +0 -1
index 667a165c64..3d80deee78 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.45.2.windows.1

Part of the diff is not shown here. View the raw message.