>> +Prerequisites
>> +-
>> +
>> +This PMD driver need NPSDK library for system initialization and allocation
>> of resources.
>> +Communication between PMD and kernel modules is mediated by zxdh Kernel
>> modules.
>> +The NPSDK library and zxdh Kernel modules are not part of DPDK and
to Ferruh's comments.
V4:
- Resolve compilation issues
Junlong Wang (9):
net/zxdh: add zxdh ethdev pmd driver
net/zxdh: add logging implementation
net/zxdh: add zxdh device pci init implementation
net/zxdh: add msg chan and msg hwlock init
net/zxdh: add msg chan enable implement
Add device pci init implementation,
to obtain PCI capability and read configuration, etc
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 5 +-
drivers/net/zxdh/zxdh_ethdev.c | 43 +
drivers/net/zxdh/zxdh_ethdev.h | 20 ++-
drivers/net/zxdh/zxdh_pci.c| 290
Add msg chan enable implementation to support
send msg to get infos.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 6 +
drivers/net/zxdh/zxdh_ethdev.h | 12 +
drivers/net/zxdh/zxdh_msg.c| 655 -
drivers/net/zxdh/zxdh_msg.h| 127
Add msg channel and hwlock init implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 15 +++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_msg.c| 161 +
drivers/net/zxdh
configure zxdh intr include risc,dtb. and release intr.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 302 -
drivers/net/zxdh/zxdh_ethdev.h | 8 +
drivers/net/zxdh/zxdh_msg.c| 187
drivers/net/zxdh/zxdh_msg.h| 11
Add zxdh get device backend infos,
use msg chan to send msg get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_common.c | 249 +
drivers/net/zxdh/zxdh_common.h | 30
drivers/net/zxdh/zxdh_ethdev.c | 35
Add basic zxdh ethdev init and register PCI probe functions
Update doc files
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 9 +++
doc/guides/nics/index.rst | 1 +
doc/guides/nics/zxdh.rst | 30 ++
drivers/net/meson.build | 1 +
drivers
Adds zxdh logging implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 15 +--
drivers/net/zxdh/zxdh_logs.h | 35 ++
2 files changed, 48 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/zxdh/zxdh_logs.h
diff
Add support for zxdh infos get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 62 +-
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c
index 4f6711c9af..e0f2c1985b
link in zxdh.rst.
- fix meson check use RTE_ARCH_X86_64/RTE_ARCH_ARM64.
- modify other comments according to Ferruh's comments.
V4:
- Resolve compilation issues
Junlong Wang (9):
net/zxdh: add zxdh ethdev pmd driver
net/zxdh: add logging implementation
net/zxdh: add zxdh device pci
Add basic zxdh ethdev init and register PCI probe functions
Update doc files
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 9 +++
doc/guides/nics/index.rst | 1 +
doc/guides/nics/zxdh.rst | 30 ++
drivers/net/meson.build | 1 +
drivers
Add msg chan enable implementation to support
send msg to get infos.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 6 +
drivers/net/zxdh/zxdh_ethdev.h | 12 +
drivers/net/zxdh/zxdh_msg.c| 643 -
drivers/net/zxdh/zxdh_msg.h| 127
configure zxdh intr include risc,dtb. and release intr.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 301 +
drivers/net/zxdh/zxdh_ethdev.h | 8 +
drivers/net/zxdh/zxdh_msg.c| 187
drivers/net/zxdh/zxdh_msg.h| 12
Add device pci init implementation,
to obtain PCI capability and read configuration, etc.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 43 +
drivers/net/zxdh/zxdh_ethdev.h | 20 ++-
drivers/net/zxdh/zxdh_pci.c| 290
Add zxdh get device backend infos,
use msg chan to send msg get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_common.c | 249 +
drivers/net/zxdh/zxdh_common.h | 30
drivers/net/zxdh/zxdh_ethdev.c | 35
Add msg channel and hwlock init implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 15 +++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_msg.c| 161 +
drivers/net/zxdh
Add zxdh logging implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 15 +++--
drivers/net/zxdh/zxdh_logs.h | 40 ++
2 files changed, 53 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/zxdh/zxdh_logs.h
diff
Add support for zxdh infos get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 62 +-
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c
index fc141712aa..65b649a156
Hi, Maintainer
Hope you can take some time to check if there are any modifications needed
for the net/zxdh driver.
Thank you very much!
>> Add msg chan enable implementation to support
>> send msg to get infos.
> Would be interesting to explain which module is receiving the message.
Send messages to the backend (device side) to obtain information.
> I am curious about the spinlock function below.
> What is it doing e
Hi, Maintainer
iol-unit-amd64-testing/ Debian 12 | FAIL
DPDK:fast-tests / bitops_autotest FAIL 1.72 s (exit status 255 or signal
127 SIGinvalid)
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 submit
From: Hanxiao Li
add session support for zsda cryptodev.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build| 15 +-
drivers/crypto/zsda/zsda_sym_session.c | 512 +
drivers/crypto/zsda/zsda_sym_session.h | 83
3 files changed, 609 insertions(+),
From: Hanxiao Li
Add the number of zsda devices.
Signed-off-by: Hanxiao Li
---
config/rte_config.h | 4
1 file changed, 4 insertions(+)
diff --git a/config/rte_config.h b/config/rte_config.h
index dd7bb0d35b..e1e85b3291 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -117,6
From: Hanxiao Li
Introduce ZTE Storage Data Accelerator(ZSDA) drivers
which can help accelerate storage data process.
The official product documenttation web page is:
https://enterprise.zte.com.cn/products.html?id=101
It is recommended to update MAINTAINERS in the
first patch in the new PMD gui
From: Hanxiao Li
Add support for zsdadev queue interfaces,
including queue start, stop, create, remove, etc.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 1 +
drivers/common/zsda/zsda_qp.c | 710
drivers/common/zsda/zsda_qp.h | 146
From: Hanxiao Li
v13:
- resolve some comiler warnings that are being suppressed.
v12:
- use RTE_LOG_LINE_PREFIX in logging macro.
- delete the check for null with rte_mempool_free.
- delete some unused initial values.
v11:
- use RTE_LOG_LINE in logging macro.
- fix some known bugs.
v10:
- del
From: Hanxiao Li
The patchset adds support for wqe configuration
of compress and decompress, preliminary verification of results
and preparation of checksums.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 12 +-
drivers/compress/zsda/zsda_comp.c | 392 +
From: Hanxiao Li
Add support for zsdadev queue enqueue.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 105 ++
drivers/common/zsda/zsda_qp.h | 2 +
2 files changed, 107 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/z
From: Hanxiao Li
Add support for zsdadev queue dequeue.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/zsda_qp.c | 56 +++
drivers/common/zsda/zsda_qp.h | 1 +
2 files changed, 57 insertions(+)
diff --git a/drivers/common/zsda/zsda_qp.c b/drivers/common/zsd
From: Hanxiao Li
The patchset adds support for wqe configuration
of encrypto and decrypto, preliminary verification of results
and preparation of checksums.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/crypto/zsda/zsda_sym.c | 273 +++
From: Hanxiao Li
Introduce common functions and logging macros.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 14 ++
drivers/common/zsda/zsda_common.c | 240 +
drivers/common/zsda/zsda_common.h | 333 ++
drivers/common/zsda/z
From: Hanxiao Li
The patch provides a series of interfaces for managing
and controlling the configuration, start, stop,
resource management, etc. of crypto devices.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/crypto/zsda/zsda_sym_capabilities.h |
From: Hanxiao Li
The patch provides a series of interfaces for managing
and controlling the configuration, start, stop,
resource management, etc. of compression devices.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 2 +-
drivers/compress/zsda/zsda_comp_pmd.c | 463 ++
From: Hanxiao Li
The patch provides a series of interfaces for driver probe remove,etc.
Signed-off-by: Hanxiao Li
---
drivers/common/zsda/meson.build | 1 +
drivers/common/zsda/zsda_device.c | 263 ++
drivers/common/zsda/zsda_device.h | 112 +
3 file
other comments according to Ferruh's comments.
Junlong Wang (9):
net/zxdh: add zxdh ethdev pmd driver
net/zxdh: add logging implementation
net/zxdh: add zxdh device pci init implementation
net/zxdh: add msg chan and msg hwlock init
net/zxdh: add msg chan enable implementation
net/zxdh
Add device pci init implementation,
to obtain PCI capability and read configuration, etc.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 43 +
drivers/net/zxdh/zxdh_ethdev.h | 22 ++-
drivers/net/zxdh/zxdh_pci.c| 290
Add basic zxdh ethdev init and register PCI probe functions
Update doc files.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 9 +++
doc/guides/nics/index.rst | 1 +
doc/guides/nics/zxdh.rst | 31 +
doc/guides/rel_notes/release_24_11
Add support for zxdh infos get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 48 +-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c
index cb8c85941a..cc270d6e73
Add zxdh logging implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 15 +++--
drivers/net/zxdh/zxdh_logs.h | 40 ++
2 files changed, 53 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/zxdh/zxdh_logs.h
diff
configure zxdh intr include risc,dtb. and release intr.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 301 +
drivers/net/zxdh/zxdh_ethdev.h | 8 +
drivers/net/zxdh/zxdh_msg.c| 187
drivers/net/zxdh/zxdh_msg.h| 10
Add msg chan enable implementation to support
send msg to backend(device side) get infos.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 6 +
drivers/net/zxdh/zxdh_ethdev.h | 12 +
drivers/net/zxdh/zxdh_msg.c| 659 -
drivers/net/zxdh
Add zxdh get device backend infos,
use msg chan to send msg get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_common.c | 249 +
drivers/net/zxdh/zxdh_common.h | 30
drivers/net/zxdh/zxdh_ethdev.c | 35
Add msg channel and hwlock init implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 15
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_msg.c| 160 +
drivers/net/zxdh
If you have time, hope you can check if the zxdh driver still needs to be
modified.
Best regards!
configure zxdh intr include risc,dtb. and release intr.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 300 +
drivers/net/zxdh/zxdh_ethdev.h | 8 +
drivers/net/zxdh/zxdh_msg.c| 188 +
drivers/net/zxdh/zxdh_msg.h
zxdh driver,
later provide dev start/stop,queue_setup,npsdk_init,mac,vlan,rss ,etc.
- fix errors reported by scripts.
- move the product link in zxdh.rst.
- fix meson check use RTE_ARCH_X86_64/RTE_ARCH_ARM64.
- modify other comments according to Ferruh's comments.
Junlong Wang (9):
Add msg chan enable implementation to support
send msg to backend(device side) get infos.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 6 +
drivers/net/zxdh/zxdh_ethdev.h | 12 +
drivers/net/zxdh/zxdh_msg.c| 641 -
drivers/net/zxdh
Add support for zxdh infos get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 45 +-
drivers/net/zxdh/zxdh_ethdev.h | 2 ++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh
> Are you sure you want "offload_zxdh" prefix for each log, instead of
> shorter 'zxdh' one?
>> +__func__, __VA_ARGS__)
>> +
>> +extern int zxdh_logtype_driver;
>> +#define RTE_LOGTYPE_ZXDH_DRIVER zxdh_logtype_driver
>> +#define PMD_DRV_LOG(level, ...) \
>> +RTE_LOG_LINE_PREFIX(level,
> >>> net/zxdh: add zxdh get device backend infos
> >>> net/zxdh: add configure zxdh intr implementation
> >>> net/zxdh: add zxdh dev infos get ops
> >>> net/zxdh: add zxdh dev configure ops
> >>>
> >
> >> Hi Junlong,
> >
> >> I can see not all of the eth_dev_ops implemented, and datapath n
configure zxdh intr include risc,dtb. and release intr.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 315 +
drivers/net/zxdh/zxdh_ethdev.h | 6 +
drivers/net/zxdh/zxdh_msg.c| 210 ++
drivers/net/zxdh/zxdh_msg.h
Add device pci init implementation,
to obtain PCI capability and read configuration, etc.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 44 +
drivers/net/zxdh/zxdh_ethdev.h | 18 ++-
drivers/net/zxdh/zxdh_pci.c| 283
provided zxdh dev close ops for resource released.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh/zxdh_ethdev.c
index 54e51a31fa
Add msg channel and hwlock init implementation
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 15 +++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_msg.c| 170 +
drivers/net/zxdh
the product link in zxdh.rst.
- fix meson check use RTE_ARCH_X86_64/RTE_ARCH_ARM64.
- modify other comments according to Ferruh's comments.
Junlong Wang (10):
net/zxdh: add zxdh ethdev pmd driver
net/zxdh: add logging implementation
net/zxdh: add zxdh device pci init implementation
Add msg chan enable implementation to support
send msg to backend(device side) get infos.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 6 +
drivers/net/zxdh/zxdh_ethdev.h | 12 +
drivers/net/zxdh/zxdh_msg.c| 657 +
drivers/net/zxdh
>> net/zxdh: add zxdh get device backend infos
>> net/zxdh: add configure zxdh intr implementation
>> net/zxdh: add zxdh dev infos get ops
>> net/zxdh: add zxdh dev configure ops
>>
> Hi Junlong,
> I can see not all of the eth_dev_ops implemented, and datapath not
> implemented, so drive
>> +uint16_t zxdh_vport_to_vfid(union zxdh_virport_num v)
>> +{
>> +/* epid > 4 is local soft queue. return 1192 */
>> +if (v.epid > 4)
>> +return 1192;
>> +if (v.vf_flag)
>> +return v.epid * 256 + v.vfid;
>> +else
>> +return (v.epid * 8 + v.pfid) + 1152;
>>
>> err_zxdh_init:
>> +zxdh_bar_msg_chan_exit();
>>
> Should 'zxdh_bar_msg_chan_exit()' called during zxdh_eth_dev_uninit()?
Yes, it is. I forget it.
I will put it in the zxdh_eth_dev_uninit().
Thanks.
> > > >> Hi Junlong,
> > > >
> > > >> I can see not all of the eth_dev_ops implemented, and datapath not
> > > >> implemented, so driver is not functional right now.
> > > >
> > > >> What happens if you want to run testpmd with the current state of the
> > > >> driver, I assume it crashes?
> > > >
Add zxdh get device backend infos,
use msg chan to send msg get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_common.c | 256 +
drivers/net/zxdh/zxdh_common.h | 30
drivers/net/zxdh/zxdh_ethdev.c | 37
Add basic zxdh ethdev init and register PCI probe functions
Update doc files.
Signed-off-by: Junlong Wang
---
MAINTAINERS| 7 ++
doc/guides/nics/features/zxdh.ini | 9 +++
doc/guides/nics/index.rst | 1 +
doc/guides/nics/zxdh.rst
Add zxdh logging implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 14 --
drivers/net/zxdh/zxdh_logs.h | 34 ++
2 files changed, 46 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/zxdh/zxdh_logs.h
diff
Hi maintainers,
If you have time, hope you can check if the zxdh driver still needs to be
modified.
Best regards!
> >On 11/6/2024 12:40 AM, Ferruh Yigit wrote:
> >> For series,
> >> Acked-by: Ferruh Yigit
> >>
> >> Series applied to dpdk-next-net/main, thanks.
> >>
>
> > Hi Junlong,
>
> > It seems we missed to mark driver as experimental, I will update it in
> > next-net.
>
> Sorry, I'm too careless, I
Hi Ferruh,
I hope this message finds you well.
I have made the revisions according to your review comments, and the final
version was submitted on Oct 22th. Since then, I have not received any feedback
from the community.
I would appreciate it if you could provide any suggestions for mod
Add device pci init implementation,
to obtain PCI capability and read configuration, etc.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 43 +
drivers/net/zxdh/zxdh_ethdev.h | 18 ++-
drivers/net/zxdh/zxdh_pci.c| 278
Add msg chan enable implementation to support
send msg to backend(device side) get infos.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 6 +
drivers/net/zxdh/zxdh_ethdev.h | 12 +
drivers/net/zxdh/zxdh_msg.c| 647 -
drivers/net/zxdh
fix meson check use RTE_ARCH_X86_64/RTE_ARCH_ARM64.
- modify other comments according to Ferruh's comments.
Junlong Wang (9):
net/zxdh: add zxdh ethdev pmd driver
net/zxdh: add logging implementation
net/zxdh: add zxdh device pci init implementation
net/zxdh: add msg chan and msg hwlock
Add basic zxdh ethdev init and register PCI probe functions
Update doc files.
Signed-off-by: Junlong Wang
---
MAINTAINERS| 6 ++
doc/guides/nics/features/zxdh.ini | 9 +++
doc/guides/nics/index.rst | 1 +
doc/guides/nics/zxdh.rst
Add support for zxdh infos get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 44 +-
drivers/net/zxdh/zxdh_ethdev.h | 2 ++
2 files changed, 45 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh
configure zxdh intr include risc,dtb. and release intr.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 301 +
drivers/net/zxdh/zxdh_ethdev.h | 6 +
drivers/net/zxdh/zxdh_msg.c| 188
drivers/net/zxdh/zxdh_msg.h| 16
Add zxdh get device backend infos,
use msg chan to send msg get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_common.c | 250 +
drivers/net/zxdh/zxdh_common.h | 30
drivers/net/zxdh/zxdh_ethdev.c | 35
Add msg channel and hwlock init implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 15 +++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_msg.c| 161 +
drivers/net/zxdh
Add zxdh logging implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 15 +++--
drivers/net/zxdh/zxdh_logs.h | 40 ++
2 files changed, 53 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/zxdh/zxdh_logs.h
diff
Add zxdh logging implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 15 +++--
drivers/net/zxdh/zxdh_logs.h | 40 ++
2 files changed, 53 insertions(+), 2 deletions(-)
create mode 100644 drivers/net/zxdh/zxdh_logs.h
diff
Add basic zxdh ethdev init and register PCI probe functions
Update doc files.
Signed-off-by: Junlong Wang
---
MAINTAINERS| 6 ++
doc/guides/nics/features/zxdh.ini | 9 +++
doc/guides/nics/index.rst | 1 +
doc/guides/nics/zxdh.rst
Add msg channel and hwlock init implementation.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 15 +++
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh/zxdh_msg.c| 161 +
drivers/net/zxdh
Add zxdh get device backend infos,
use msg chan to send msg get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_common.c | 250 +
drivers/net/zxdh/zxdh_common.h | 30
drivers/net/zxdh/zxdh_ethdev.c | 35
Add device pci init implementation,
to obtain PCI capability and read configuration, etc.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 43 +
drivers/net/zxdh/zxdh_ethdev.h | 21 ++-
drivers/net/zxdh/zxdh_pci.c| 285
Add support for zxdh infos get.
Signed-off-by: Junlong Wang
---
drivers/net/zxdh/zxdh_ethdev.c | 44 +-
drivers/net/zxdh/zxdh_ethdev.h | 3 +++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/drivers/net/zxdh/zxdh_ethdev.c b/drivers/net/zxdh
Hi, Ferruh
Could you please provide feedback on the patch I submitted?
Any suggestions for improvement would be appreciated.
Thanks
>> +if not is_linux
>> +build = false
>> +reason = 'only supported on Linux'
>> +subdir_done()
>> +endif
>> +
>> +if arch_subdir != 'x86' and arch_subdir !
>> = 'arm' or not dpdk_conf.get('RTE_ARCH_64')
>>
>Why not check 'RTE_ARCH_X86_64' and 'RTE_ARCH_ARM64'?
we will fix it and use '
Hi, David,
Sorry, my negligence caused this issue.
Thank you for helping with the modifications.
>On 11/6/2024 12:40 AM, Ferruh Yigit wrote:
>> On 11/4/2024 11:58 AM, Junlong Wang wrote:
>>> v10:
>>> -
>>> move zxdh under Wind River in MAINTAINERS and add myself as the maintainer
>>> and add experimental into MAINTAINERS/driver file,elease
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
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 | 33
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
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
provided link info update, set link up /down,
and link intr.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 4 +-
doc/guides/nics/zxdh.rst | 3 +
drivers/net/zxdh/meson.build | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 13 ++
drivers/net/zxdh
(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 | 490 +
drivers/net/zxdh/zxdh_np.h | 107 +++
3 files changed, 645 insertions(+)
diff --git a
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 | 28
provided vlan filter, vlan offload ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 4 +-
doc/guides/nics/zxdh.rst | 3 +
drivers/net/zxdh/zxdh_ethdev.c | 40 +-
drivers/net/zxdh/zxdh_ethdev_ops.c | 221 +
drivers/net
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 | 25 +++
drivers/net/zxdh/zxdh_rxtx.c | 395 +
drivers/net/zxdh/zxdh_rxtx.h
provided promiscuous/allmulticast ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 4 +-
doc/guides/nics/zxdh.rst | 2 +
drivers/net/zxdh/zxdh_ethdev.c | 15 ++
drivers/net/zxdh/zxdh_ethdev.h | 2 +
drivers/net/zxdh/zxdh_ethdev_ops.c | 132
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 | 311 ++
drivers/net/zxdh
provided rss hash config/update, reta update/get ops.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 5 +-
doc/guides/nics/zxdh.rst | 1 +
drivers/net/zxdh/zxdh_ethdev.c | 43
drivers/net/zxdh/zxdh_ethdev.h | 1 +
drivers/net/zxdh
mtu update ops implementations.
Signed-off-by: Junlong Wang
---
doc/guides/nics/features/zxdh.ini | 3 +-
doc/guides/nics/zxdh.rst | 2 +
drivers/net/zxdh/zxdh_ethdev.c | 1 +
drivers/net/zxdh/zxdh_ethdev_ops.c | 79 ++
drivers/net/zxdh
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 - 100 of 249 matches
Mail list logo