[PATCH v6 07/15] net/zxdh: provided dev simple tx implementations

2024-12-25 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v6 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-25 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 33

[PATCH v6 12/15] net/zxdh: vlan filter/ offload ops implementations

2024-12-25 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 223 + drivers/net

[PATCH v6 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-25 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 52 drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh

[PATCH v6 11/15] net/zxdh: promisc/allmulti ops implementations

2024-12-25 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++- drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 128

[PATCH v6 09/15] net/zxdh: link info update, set link up/down

2024-12-25 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 +++- drivers/net/zxdh

[PATCH v6 08/15] net/zxdh: provided dev simple rx implementations

2024-12-25 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 1 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

[PATCH v6 02/15] net/zxdh: zxdh np uninit implementation

2024-12-25 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v6 06/15] net/zxdh: dev start/stop ops implementations

2024-12-25 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 71 drivers/net/zxdh/zxdh_pci.c | 21

[PATCH v6 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-25 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v6 00/15] net/zxdh: updated net zxdh driver

2024-12-25 Thread Junlong Wang
/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net/zxdh: port tables init implementations net/zxdh: port tables unint implementations net/zxdh: rx/tx queue setup and intr enable net/zxdh: dev start/stop ops

[PATCH v2 00/15] net/zxdh: updated net zxdh driver

2024-12-09 Thread Junlong Wang
V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net

[PATCH v2 04/15] net/zxdh: port tables unint implementations

2024-12-09 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 19 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 113 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 36

[PATCH v2 02/15] net/zxdh: zxdh np uninit implementation

2024-12-09 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 494 - drivers/net/zxdh/zxdh_np.h | 107 +++ 3 files changed, 647 insertions(+), 2 deletions

[PATCH v2 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-09 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v2 08/15] net/zxdh: provided dev simple rx implementations

2024-12-09 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 2 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

[PATCH v2 06/15] net/zxdh: dev start/stop ops implementations

2024-12-09 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 61 + drivers/net/zxdh/zxdh_pci.c | 24 drivers

[PATCH v2 11/15] net/zxdh: promisc/allmulti ops implementations

2024-12-09 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 18 +++ drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 132

[PATCH v2 12/15] net/zxdh: vlan filter/ offload ops implementations

2024-12-09 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 221 + drivers/net

[PATCH v2 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-09 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 53 +++- drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh

[PATCH v2 09/15] net/zxdh: link info update, set link up/down

2024-12-09 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 13 ++ drivers/net/zxdh

[PATCH v2 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-09 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 32

[PATCH v2 07/15] net/zxdh: provided dev simple tx implementations

2024-12-09 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 20 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

Re: [PATCH v2 01/15] net/zxdh: zxdh np init implementation

2024-12-11 Thread Junlong Wang
>> struct zxdh_hw_internal zxdh_hw_internal[RTE_MAX_ETHPORTS]; >If you want to support primary/secondary in future, >variables in BSS are not shared between primary and secondary process This structure mainly registers some PCI ops and will not be shared between primary/secondary proces

[PATCH v2 15/15] net/zxdh: mtu update ops implementations

2024-12-09 Thread Junlong Wang
mtu update ops implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 4 ++ drivers/net/zxdh/zxdh_ethdev_ops.c | 78 ++ drivers/net/zxdh

Re: [PATCH v2 01/15] net/zxdh: zxdh np init implementation

2024-12-11 Thread Junlong Wang
>> (np)network Processor initialize resources in host, >> and initialize a channel for some tables insert/get/del. >> >> Signed-off-by: Junlong Wang > This mostly looks good, just some small stuff. Hi, Stephen May I ask a question. There are modificatio

[PATCH v3 00/15] net/zxdh: updated net zxdh driver

2024-12-17 Thread Junlong Wang
other issues. V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit

[PATCH v3 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-17 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 51 drivers/net/zxdh/zxdh_ethdev.h | 4 +- drivers/net/zxdh

[PATCH v3 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-17 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 32

[PATCH v3 06/15] net/zxdh: dev start/stop ops implementations

2024-12-17 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 61 + drivers/net/zxdh/zxdh_pci.c | 24 drivers

[PATCH v3 02/15] net/zxdh: zxdh np uninit implementation

2024-12-17 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v3 04/15] net/zxdh: port tables unint implementations

2024-12-17 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 18 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 103 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

[PATCH v3 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-17 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v3 09/15] net/zxdh: link info update, set link up/down

2024-12-17 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 14 ++- drivers/net/zxdh

[PATCH v3 12/15] net/zxdh: vlan filter/ offload ops implementations

2024-12-17 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 223 + drivers/net

[PATCH v3 07/15] net/zxdh: provided dev simple tx implementations

2024-12-17 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 20 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v3 15/15] net/zxdh: mtu update ops implementations

2024-12-17 Thread Junlong Wang
mtu update ops implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 5 ++ drivers/net/zxdh/zxdh_ethdev_ops.c | 78 ++ drivers/net/zxdh

[PATCH v3 11/15] net/zxdh: promisc/allmulti ops implementations

2024-12-17 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++- drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 132

[PATCH v3 08/15] net/zxdh: provided dev simple rx implementations

2024-12-17 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 2 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

[PATCH v4 04/15] net/zxdh: port tables unint implementations

2024-12-18 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 18 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 103 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

[PATCH v4 08/15] net/zxdh: provided dev simple rx implementations

2024-12-18 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 1 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

[PATCH v4 09/15] net/zxdh: link info update, set link up/down

2024-12-18 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 14 ++- drivers/net/zxdh

[PATCH v4 02/15] net/zxdh: zxdh np uninit implementation

2024-12-18 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v4 06/15] net/zxdh: dev start/stop ops implementations

2024-12-18 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 61 + drivers/net/zxdh/zxdh_pci.c | 24 drivers

[PATCH v4 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-18 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v4 00/15] net/zxdh: updated net zxdh driver

2024-12-18 Thread Junlong Wang
WARNING:MACRO_ARG_UNUSED issues. - resolved some other issues. V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation

[PATCH v4 11/15] net/zxdh: promisc/allmulti ops implementations

2024-12-18 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++- drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 132

[PATCH v4 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-18 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 52 drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh

[PATCH v4 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-18 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 32

[PATCH v4 07/15] net/zxdh: provided dev simple tx implementations

2024-12-18 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v4 12/15] net/zxdh: vlan filter/ offload ops implementations

2024-12-18 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 223 + drivers/net

[PATCH v4 15/15] net/zxdh: mtu update ops implementations

2024-12-18 Thread Junlong Wang
mtu update ops implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 5 ++ drivers/net/zxdh/zxdh_ethdev_ops.c | 78 ++ drivers/net/zxdh

Re: [PATCH v4] net/zxdh: Provided zxdh basic init

2024-12-19 Thread Junlong Wang
In the latest v4 version I submitted on December 18th, when I opened the -Wanalyzer-out-of-bounds and compiled it on the gcc14.2 environment, '' C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20241104 (Red Hat 14.2.1-6)") Compiler for C supports arguments -Wanalyzer-out-of-b

[PATCH v5 02/15] net/zxdh: zxdh np uninit implementation

2024-12-23 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v5 10/15] net/zxdh: mac set/add/remove ops implementations

2024-12-23 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 33

[PATCH v5 07/15] net/zxdh: provided dev simple tx implementations

2024-12-23 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v5 06/15] net/zxdh: dev start/stop ops implementations

2024-12-23 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 71 drivers/net/zxdh/zxdh_pci.c | 21

[PATCH v5 04/15] net/zxdh: port tables unint implementations

2024-12-23 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 18 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 103 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

[PATCH v5 05/15] net/zxdh: rx/tx queue setup and intr enable

2024-12-23 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v5 08/15] net/zxdh: provided dev simple rx implementations

2024-12-23 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 1 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

[PATCH v5 13/15] net/zxdh: rss hash config/update, reta update/get

2024-12-23 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 52 drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh

[PATCH v5 15/15] net/zxdh: mtu update ops implementations

2024-12-23 Thread Junlong Wang
mtu update ops implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 5 +++ drivers/net/zxdh/zxdh_ethdev_ops.c | 65 ++ drivers/net/zxdh

[PATCH v5 09/15] net/zxdh: link info update, set link up/down

2024-12-23 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 +++- drivers/net/zxdh

[PATCH v5 11/15] net/zxdh: promisc/allmulti ops implementations

2024-12-23 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++- drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 128

[PATCH v5 12/15] net/zxdh: vlan filter/ offload ops implementations

2024-12-23 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 223 + drivers/net

[PATCH v5 00/15] net/zxdh: updated net zxdh driver

2024-12-23 Thread Junlong Wang
. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net/zxdh: port tables init implementations net/zxdh: port

[PATCH v9 05/15] net/zxdh: rx/tx queue setup and intr enable

2025-01-20 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v9 06/15] net/zxdh: dev start/stop ops implementations

2025-01-20 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 71 drivers/net/zxdh/zxdh_pci.c | 21

[PATCH v9 11/15] net/zxdh: promisc/allmulti ops implementations

2025-01-20 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++- drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 128

[PATCH v9 02/15] net/zxdh: zxdh np uninit implementation

2025-01-20 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v9 00/15] net/zxdh: updated net zxdh driver

2025-01-20 Thread Junlong Wang
r. - resolved some WARNING:MACRO_ARG_UNUSED issues. - resolved some other issues. V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): ne

[PATCH v9 13/15] net/zxdh: rss hash config/update, reta update/get

2025-01-20 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 52 drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh

[PATCH v9 09/15] net/zxdh: link info update, set link up/down

2025-01-20 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 21 drivers/net/zxdh

[PATCH v9 07/15] net/zxdh: provided dev simple tx implementations

2025-01-20 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v9 04/15] net/zxdh: port tables unint implementations

2025-01-20 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 18 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 103 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

[PATCH v9 10/15] net/zxdh: mac set/add/remove ops implementations

2025-01-20 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 33

[PATCH v9 12/15] net/zxdh: vlan filter/ offload ops implementations

2025-01-20 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 223 + drivers/net

[PATCH v9 08/15] net/zxdh: provided dev simple rx implementations

2025-01-20 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 1 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

Re: [PATCH v8 00/15] net/zxdh: updated net zxdh driver

2025-01-22 Thread Junlong Wang
This release note looks good! Thank you so much! > How about this for a release note? > From 7137087faa9c1278bc702b69cce6df5e246c5675 Mon Sep 17 00:00:00 2001 > From: Stephen Hemminger > Date: Wed, 22 Jan 2025 10:05:54 -0800 > Subject: [PATCH] doc: add release note for zxdh driver update > Ad

Re: [v24,01/13] config: add zsda device number

2025-01-21 Thread Junlong Wang
Hi, Maintainer: > > > > Not Found > > > Not FoundThe requested resource was not found on this > server. > > Do we need to solve this error? We haven't found the detailed reason for the error in the output log. I noticed that the patches submitted by others also have this error. Than

[PATCH v8 06/15] net/zxdh: dev start/stop ops implementations

2025-01-19 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 71 drivers/net/zxdh/zxdh_pci.c | 21

[PATCH v8 04/15] net/zxdh: port tables unint implementations

2025-01-19 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 18 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 103 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

[PATCH v8 02/15] net/zxdh: zxdh np uninit implementation

2025-01-19 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v8 05/15] net/zxdh: rx/tx queue setup and intr enable

2025-01-19 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v8 00/15] net/zxdh: updated net zxdh driver

2025-01-19 Thread Junlong Wang
ed some other issues. V2: - resolve code style and github-robot build issue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit

[PATCH v8 12/15] net/zxdh: vlan filter/ offload ops implementations

2025-01-19 Thread Junlong Wang
provided vlan filter, vlan offload ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/zxdh_ethdev.c | 40 +- drivers/net/zxdh/zxdh_ethdev_ops.c | 223 + drivers/net

[PATCH v8 13/15] net/zxdh: rss hash config/update, reta update/get

2025-01-19 Thread Junlong Wang
provided rss hash config/update, reta update/get ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 3 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c | 52 drivers/net/zxdh/zxdh_ethdev.h | 3 + drivers/net/zxdh

[PATCH v8 09/15] net/zxdh: link info update, set link up/down

2025-01-19 Thread Junlong Wang
provided link info update, set link up /down, and link intr. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 3 + drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 21 drivers/net/zxdh

[PATCH v8 10/15] net/zxdh: mac set/add/remove ops implementations

2025-01-19 Thread Junlong Wang
provided mac set/add/remove ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_common.c | 24 +++ drivers/net/zxdh/zxdh_common.h | 1 + drivers/net/zxdh/zxdh_ethdev.c | 33

[PATCH v8 07/15] net/zxdh: provided dev simple tx implementations

2025-01-19 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v8 08/15] net/zxdh: provided dev simple rx implementations

2025-01-19 Thread Junlong Wang
provided dev simple rx implementations. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 1 + doc/guides/nics/zxdh.rst | 1 + drivers/net/zxdh/zxdh_ethdev.c| 1 + drivers/net/zxdh/zxdh_rxtx.c | 313 ++ drivers/net/zxdh

[PATCH v8 11/15] net/zxdh: promisc/allmulti ops implementations

2025-01-19 Thread Junlong Wang
provided promiscuous/allmulticast ops. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c | 21 ++- drivers/net/zxdh/zxdh_ethdev.h | 2 + drivers/net/zxdh/zxdh_ethdev_ops.c | 128

Re: [v9,00/15] net/zxdh: updated net zxdh driver

2025-01-21 Thread Junlong Wang
May I ask if there are any modifications needed? If not, We hope to submit an update to the latest driver based on this version, which includes complete functionality; We are also fully prepared for the split patch.

Re: [v6,00/15] net/zxdh: updated net zxdh driver

2025-01-02 Thread Junlong Wang
Hi, Maintainer A few days ago, I pushed the v6 version. Is there anything else that needs to be modified? If so, please let me know. Thank you for your time! > V6: > - Remove unnecessary __rte_packed in the virtqueue structure and others. > - Remove Some blank before or after log mes

[PATCH v7 00/15] net/zxdh: updated net zxdh driver

2025-01-15 Thread Junlong Wang
ue. V1: - updated net zxdh driver provided insert/delete/get table code funcs. provided link/mac/vlan/promiscuous/rss/mtu ops. Junlong Wang (15): net/zxdh: zxdh np init implementation net/zxdh: zxdh np uninit implementation net/zxdh: port tables init implementations net/zxd

[PATCH v7 07/15] net/zxdh: provided dev simple tx implementations

2025-01-15 Thread Junlong Wang
provided dev simple tx implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/meson.build | 1 + drivers/net/zxdh/zxdh_ethdev.c | 22 ++ drivers/net/zxdh/zxdh_queue.h | 26 ++- drivers/net/zxdh/zxdh_rxtx.c | 396 + drivers/net/zxdh/zxdh_rxtx.h

[PATCH v7 06/15] net/zxdh: dev start/stop ops implementations

2025-01-15 Thread Junlong Wang
dev start/stop implementations, start/stop the rx/tx queues. Signed-off-by: Junlong Wang --- doc/guides/nics/features/zxdh.ini | 2 + doc/guides/nics/zxdh.rst | 2 + drivers/net/zxdh/zxdh_ethdev.c| 71 drivers/net/zxdh/zxdh_pci.c | 21

[PATCH v7 02/15] net/zxdh: zxdh np uninit implementation

2025-01-15 Thread Junlong Wang
(np)network processor release resources in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 48 drivers/net/zxdh/zxdh_np.c | 470 + drivers/net/zxdh/zxdh_np.h | 107 3 files changed, 625 insertions(+) diff --git a

[PATCH v7 05/15] net/zxdh: rx/tx queue setup and intr enable

2025-01-15 Thread Junlong Wang
rx/tx queue setup and intr enable implementations. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 4 + drivers/net/zxdh/zxdh_queue.c | 149 + drivers/net/zxdh/zxdh_queue.h | 33 3 files changed, 186 insertions(+) diff --git a

[PATCH v7 04/15] net/zxdh: port tables unint implementations

2025-01-15 Thread Junlong Wang
delete port tables in host. Signed-off-by: Junlong Wang --- drivers/net/zxdh/zxdh_ethdev.c | 18 ++ drivers/net/zxdh/zxdh_msg.h| 1 + drivers/net/zxdh/zxdh_np.c | 103 + drivers/net/zxdh/zxdh_np.h | 9 +++ drivers/net/zxdh/zxdh_tables.c | 33

<    1   2   3   >