DPDK 23.11.2 released

2024-09-04 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-23.11.2.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=23.11 Xueming Li --- .mailmap | 24 +- VERSION

Re: 23.11.2 patches review and test

2024-08-30 Thread Xueming Li
Hi Hailin, Well done, thanks for the verification and report! Best Regards, Xueming From: Xu, HailinX Sent: Friday, August 30, 2024 6:00 PM To: Xueming Li ; sta...@dpdk.org Cc: dev@dpdk.org ; Abhishek Marathe ; Ali Alnubani ; David Christensen ; Hemant

Re: 23.11.2 patches review and test

2024-08-29 Thread Xueming Li
Hi Ali, Thanks for the verification and support! Best regards, Xueming From: Ali Alnubani Sent: Thursday, August 29, 2024 4:46 PM To: Xueming Li ; sta...@dpdk.org Cc: dev@dpdk.org ; Abhishek Marathe ; David Christensen ; Hemant Agrawal ; Ian Stokes ; Jerin

Re: 23.11.2 patches review and test

2024-08-28 Thread Xueming Li
Hi YangHang, Thanks for the verification and feedback! Best Regards, Xueming From: YangHang Liu Sent: Wednesday, August 28, 2024 3:23 PM To: Xueming Li Cc: sta...@dpdk.org ; dev@dpdk.org ; Abhishek Marathe ; Ali Alnubani ; David Christensen ; Hemant Agrawal

23.11.2 patches review and test

2024-08-22 Thread Xueming Li
validations will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v23.11.2-rc2 These patches are located at branch 23.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Abdullah Ömer Yamaç

Re: [dpdk-stable] [PATCH v3 2/2] devtools: fix patches missing if range newer than HEAD

2024-08-21 Thread Xueming Li
...@redhat.com ; sta...@dpdk.org ; dev@dpdk.org ; Xueming Li Subject: Re: [dpdk-stable] [PATCH v3 2/2] devtools: fix patches missing if range newer than HEAD On Sat, 26 Nov 2022 22:44:26 +0100 Thomas Monjalon wrote: > Someone to help with review of this patch please? > Is there a real need? &g

Re: [PATCH v2] eal/unix: support ZSTD compression for firmware

2024-07-03 Thread Xueming Li
Thanks, I tried but missed the "EAL" part :-) From: David Marchand Sent: Wednesday, July 3, 2024 3:27 PM To: Xueming Li Cc: dev@dpdk.org ; Yu Jiang ; Bruce Richardson ; sta...@dpdk.org Subject: Re: [PATCH v2] eal/unix: support ZSTD compression for fi

Re: [PATCH v2] eal/unix: support ZSTD compression for firmware

2024-07-03 Thread Xueming Li
Hi David, I get unix compilation failure when backporting this patch to 23.11 LTS, the EAL_LOG macro is not backported to 23.11 LTS, any suggestion? Regards, Xueming From: David Marchand Sent: Monday, May 13, 2024 7:12 PM To: dev@dpdk.org Cc: Yu Jiang ; Bruce

Re: [PATCH v2] doc: update LTS maintenance to 3 years

2024-05-23 Thread Xueming Li
LGTM Acked-by: Xueming Li From: Kevin Traynor Sent: Thursday, May 23, 2024 5:12 PM To: Luca Boccassi ; Morten Brørup Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; dev@dpdk.org ; david.march...@redhat.com ; christian.ehrha...@canonical.com ; Xueming Li

DPDK 23.11.1(LTS) released

2024-05-17 Thread Xueming Li
. Xueming Li --- .github/workflows/build.yml| 20 +- .mailmap | 22 +- VERSION| 2 +- app/dumpcap/main.c | 5 + app/graph/meson.build

Re: 23.11.1 patches review and test

2024-05-16 Thread Xueming Li
Hi Hailin, Thanks for the verficiation. From: Xu, HailinX Sent: Thursday, May 16, 2024 6:01 PM To: Xueming Li ; sta...@dpdk.org Cc: dev@dpdk.org ; Abhishek Marathe ; Ali Alnubani ; David Christensen ; Hemant Agrawal ; Stokes, Ian ; Jerin Jacob ; Mcnamara

Re: 23.11.1 patches review and test

2024-05-14 Thread Xueming Li
Hi Ali, Thanks for the verification. Best Regards, Xueming From: Ali Alnubani Sent: Wednesday, May 15, 2024 1:36 AM To: Xueming Li ; sta...@dpdk.org Cc: dev@dpdk.org ; Abhishek Marathe ; David Christensen ; Hemant Agrawal ; Ian Stokes ; Jerin Jacob ; John

Re: 23.11.1 patches review and test

2024-05-08 Thread Xueming Li
Hi YangHang, Thanks for the verification and feedback! Best Regards, Xueming From: YangHang Liu Sent: Wednesday, May 8, 2024 5:49 PM To: Xueming Li Cc: sta...@dpdk.org ; dev@dpdk.org ; Abhishek Marathe ; Ali Alnubani ; David Christensen ; Hemant Agrawal

23.11.1 patches review and test

2024-05-07 Thread Xueming Li
validations will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v23.11.1-rc2 These patches are located at branch 23.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Ajit Khaparde (2

Re: [PATCH v2 1/1] net/ena/base: fix metrics excessive memory consumption

2024-04-13 Thread Xueming Li
Hi Shai, Thanks for the backporting, patch queued to 23.11.1 staging branch. From: shaib...@amazon.com Sent: Monday, April 8, 2024 8:15 PM To: ferruh.yi...@amd.com ; bl...@debian.org ; christian.ehrha...@canonical.com ; Xueming Li ; ktray...@redhat.com Cc

DPDK 22.11.4 released

2024-01-24 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-22.11.4.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=22.11 Many thanks to the people who backport patches and fix issues, also the test team! Xueming Li --- .github/workflows/build.yml

22.11.4 patches review and test

2023-12-19 Thread Xueming Li
validations will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v22.11.4-rc3 These patches are located at branch 22.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Aakash Sasidharan

DPDK 22.11.3 released

2023-09-19 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-22.11.3.tar.xz The git tree is at: https://git.dpdk.org/dpdk-stable/log/?h=22.11 Xueming Li --- .github/workflows/build.yml| 3 +- .mailmap

[PATCH v2 2/2] net/mlx5: support new RSS symmetric hash function

2023-08-27 Thread Xueming Li
This patch supports the new RSS symmetric hash function: RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ_SORT The new hash function makes symmetric hash result by swapping the source and destination IP and L4 port automatically. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.h | 4 ++-- 1

[PATCH v2 1/2] ethdev: add new symmetric hash function

2023-08-27 Thread Xueming Li
The new symmetric hash function swap src/dst L3 address and L4 ports automatically by sorting. Signed-off-by: Xueming Li --- lib/ethdev/rte_flow.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index 2ebb76dbc0..4f4421ca50 100644 --- a

22.11.3 patches review and test

2023-08-16 Thread Xueming Li
validations will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v22.11.3-rc1 These patches are located at branch 22.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Aakash Sasidharan

[PATCH] ethdev: add new symmetric hash function

2023-08-07 Thread Xueming Li
The new symmetric hash function swap src/dst L3 address and L4 ports automatically by sorting. Signed-off-by: Xueming Li --- lib/ethdev/rte_flow.h | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index 86ed98c562..ec6dd170b5 100644 --- a/lib

[PATCH v2] net/mlx5: support symmetric RSS hash function

2023-07-06 Thread Xueming Li
This patch supports symmetric hash function that creating same hash result for bi-direction traffic which having reverse source and destination IP and L4 port. Since the hash algorithom is different than spec(XOR), leave a warning in validation. Signed-off-by: Xueming Li --- doc/guides/nics

[PATCH v1] net/mlx5: support symmetric RSS hash function

2023-06-30 Thread Xueming Li
This patch supports symmetric hash function that creating same hash result for bi-direction traffic which having reverse source and destination IP and L4 port. Since the hash algorithom is different than spec(XOR), leave a warning in validation. Signed-off-by: Xueming Li --- drivers/net/mlx5

[PATCH] net/mlx5: support symmetric RSS hash function

2023-06-30 Thread Xueming Li
This patch supports symmetric hash function that creating same hash result for bi-direction traffic which having reverse source and destination IP and L4 port. Since the hash algorithom is different than spec(XOR), leave a warning in validation. Signed-off-by: Xueming Li --- drivers/net/mlx5

[PATCH] doc: deprecation notice to add new hash function

2023-05-24 Thread Xueming Li
Deprecation notice to annouce new RSS hash function type. The new symmetric hash function sort L3 address and L4 ports before Toeplitz calculation. Signed-off-by: Xueming Li --- doc/guides/rel_notes/deprecation.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes

DPDK 22.11.2 released

2023-05-08 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-22.11.2.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=22.11 Xueming Li --- .github/workflows/build.yml|3 +- .mailmap

22.11.2 patches review and test

2023-04-23 Thread Xueming Li
will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v22.11.2-rc1 These patches are located at branch 22.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Abdullah Sevincer (1

[PATCH v2] bus/auxiliary: support cleanup callback

2023-03-17 Thread Xueming Li
The bus cleanup callback is used to sunset all devices on bus gracefully. This patch supports the callback by unplug all devices on auxiliary bus. Signed-off-by: Xueming Li --- drivers/bus/auxiliary/auxiliary_common.c | 21 + 1 file changed, 21 insertions(+) diff --git a

[PATCH] bus/auxiliary: support cleanup callback

2023-03-17 Thread Xueming Li
The bus cleanup callback is used to sunset all devices on bus gracefully. This patch supports the callback by unplug all devices on auxiliary bus. Signed-off-by: Xueming Li --- drivers/bus/auxiliary/auxiliary_common.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a

DPDK 20.11.6 released

2022-08-29 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-20.11.6.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=20.11 Xueming Li --- .github/workflows/build.yml| 3 +- VERSION

20.11.6 patches review and test

2022-08-15 Thread Xueming Li
validations will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v20.11.6-rc1 These patches are located at branch 20.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Abdullah Ömer Yamaç

[PATCH v3 7/7] vdpa/mlx5: make statistics counter persistent

2022-05-08 Thread Xueming Li
In order to speed-up the device suspend and resume, make the statistics counters persistent in reconfiguration until the device gets removed. Signed-off-by: Xueming Li Reviewed-by: Maxime Coquelin --- doc/guides/vdpadevs/mlx5.rst| 6 ++ drivers/vdpa/mlx5/mlx5_vdpa.c | 19

[PATCH v3 5/7] vdpa/mlx5: cache and reuse hardware resources

2022-05-08 Thread Xueming Li
. Signed-off-by: Xueming Li Reviewed-by: Maxime Coquelin --- drivers/vdpa/mlx5/mlx5_vdpa.c | 11 - drivers/vdpa/mlx5/mlx5_vdpa.h | 12 - drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 27 ++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 73 + 4 files changed, 99

[PATCH v3 6/7] vdpa/mlx5: support device cleanup callback

2022-05-08 Thread Xueming Li
This patch supports device cleanup callback API which is called when the device is disconnected from the VM. Cached resources like VM MR and VQ memory are released. Signed-off-by: Xueming Li Reviewed-by: Maxime Coquelin --- drivers/vdpa/mlx5/mlx5_vdpa.c | 23 +++ drivers

[PATCH v3 4/7] vdpa/mlx5: reuse resources in reconfiguration

2022-05-08 Thread Xueming Li
To speed up device resume, create reuseable resources during device probe state, release when device is removed. Reused resources includes TIS, TD, VAR Doorbell mmap, error handling event channel and interrupt handler, UAR, Rx event channel, NULL MR, steer domain and table. Signed-off-by: Xueming

[PATCH v3 3/7] vdpa/mlx5: no kick handling during shutdown

2022-05-08 Thread Xueming Li
install if VQ or device in middle of shutdown. Signed-off-by: Xueming Li Reviewed-by: Maxime Coquelin --- drivers/vdpa/mlx5/mlx5_vdpa.c | 17 ++--- drivers/vdpa/mlx5/mlx5_vdpa.h | 8 +++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 12 +++- 3 files changed, 28

[PATCH v3 2/7] vdpa/mlx5: fix dead loop when process interrupted

2022-05-08 Thread Xueming Li
could be set in next successful kick request. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: sta...@dpdk.org Signed-off-by: Xueming Li Reviewed-by: Maxime Coquelin --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[PATCH v3 1/7] vdpa/mlx5: fix interrupt trash that leads to segment fault

2022-05-08 Thread Xueming Li
Disable interrupt unregister timeout to avoid invalid FD caused interrupt thread segment fault. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: ma...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Xueming Li Reviewed-by: Maxime Coquelin --- drivers/vdpa/mlx5/mlx5_vdpa_vi

[PATCH v3 0/7] vdpa/mlx5: improve device shutdown time

2022-05-08 Thread Xueming Li
v1: - rebase with latest upstream code - fix coverity issues v2: - fix build issue on OS w/o flow DR API v3: - commit message update, thanks Maxime! Xueming Li (7): vdpa/mlx5: fix interrupt trash that leads to segment fault vdpa/mlx5: fix dead loop when process interrupted vdpa/mlx5

[PATCH v2 7/7] vdpa/mlx5: make statistics counter persistent

2022-02-24 Thread Xueming Li
To speed the device suspend and resume time, make counter persitent in reconfiguration until the device gets removed. Signed-off-by: Xueming Li --- doc/guides/vdpadevs/mlx5.rst| 6 ++ drivers/vdpa/mlx5/mlx5_vdpa.c | 19 +++-- drivers/vdpa/mlx5/mlx5_vdpa.h

[PATCH v2 6/7] vdpa/mlx5: support device cleanup callback

2022-02-24 Thread Xueming Li
This patch supports device cleanup callback API which called when device disconnected with VM. Cached resources like VM MR and VQ memory are released. Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 23 +++ drivers/vdpa/mlx5/mlx5_vdpa.h | 1 + 2 files changed

[PATCH v2 5/7] vdpa/mlx5: cache and reuse hardware resources

2022-02-24 Thread Xueming Li
-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 11 - drivers/vdpa/mlx5/mlx5_vdpa.h | 12 - drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 27 ++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 73 + 4 files changed, 99 insertions(+), 24 deletions

[PATCH v2 3/7] vdpa/mlx5: no kick handling during shutdown

2022-02-24 Thread Xueming Li
or device in middle of shutdown. Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 17 ++--- drivers/vdpa/mlx5/mlx5_vdpa.h | 8 +++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 12 +++- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a

[PATCH v2 4/7] vdpa/mlx5: reuse resources in reconfiguration

2022-02-24 Thread Xueming Li
To speed up device resume, create reuseable resources during device probe state, release when device remove. Reused resources includes TIS, TD, VAR Doorbell mmap, error handling event channel and interrupt handler, UAR, Rx event channel, NULL MR, steer domain and table. Signed-off-by: Xueming Li

[PATCH v2 2/7] vdpa/mlx5: fix dead loop when process interrupted

2022-02-24 Thread Xueming Li
could be set in next successful kick request. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/vdpa/mlx5/mlx5_vdpa_

[PATCH v2 1/7] vdpa/mlx5: fix interrupt trash that leads to segment fault

2022-02-24 Thread Xueming Li
Disable interrupt unregister timeout to avoid invalid FD caused interrupt thread segment fault. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: ma...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 20 1 fi

[PATCH v2 0/7] vdpa/mlx5: improve device shutdown time

2022-02-24 Thread Xueming Li
v1: - rebase with latest upstream code - fix coverity issues v2: - fix build issue on OS w/o flow DR API Xueming Li (7): vdpa/mlx5: fix interrupt trash that leads to segment fault vdpa/mlx5: fix dead loop when process interrupted vdpa/mlx5: no kick handling during shutdown vdpa/mlx5

[PATCH v1 7/7] vdpa/mlx5: make statistics counter persistent

2022-02-24 Thread Xueming Li
To speed the device suspend and resume time, make counter persitent in reconfiguration until the device gets removed. Signed-off-by: Xueming Li --- doc/guides/vdpadevs/mlx5.rst| 6 ++ drivers/vdpa/mlx5/mlx5_vdpa.c | 19 +++-- drivers/vdpa/mlx5/mlx5_vdpa.h

[PATCH v1 6/7] vdpa/mlx5: support device cleanup callback

2022-02-24 Thread Xueming Li
This patch supports device cleanup callback API which called when device disconnected with VM. Cached resources like VM MR and VQ memory are released. Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 23 +++ drivers/vdpa/mlx5/mlx5_vdpa.h | 1 + 2 files changed

[PATCH v1 5/7] vdpa/mlx5: cache and reuse hardware resources

2022-02-24 Thread Xueming Li
-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 11 - drivers/vdpa/mlx5/mlx5_vdpa.h | 12 - drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 27 ++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 73 + 4 files changed, 99 insertions(+), 24 deletions

[PATCH v1 3/7] vdpa/mlx5: no kick handling during shutdown

2022-02-24 Thread Xueming Li
or device in middle of shutdown. Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 17 ++--- drivers/vdpa/mlx5/mlx5_vdpa.h | 8 +++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 12 +++- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a

[PATCH v1 4/7] vdpa/mlx5: reuse resources in reconfiguration

2022-02-24 Thread Xueming Li
To speed up device resume, create reuseable resources during device probe state, release when device remove. Reused resources includes TIS, TD, VAR Doorbell mmap, error handling event channel and interrupt handler, UAR, Rx event channel, NULL MR, steer domain and table. Signed-off-by: Xueming Li

[PATCH v1 1/7] vdpa/mlx5: fix interrupt trash that leads to segment fault

2022-02-24 Thread Xueming Li
Disable interrupt unregister timeout to avoid invalid FD caused interrupt thread segment fault. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: ma...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 20 1 fi

[PATCH v1 2/7] vdpa/mlx5: fix dead loop when process interrupted

2022-02-24 Thread Xueming Li
could be set in next successful kick request. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/vdpa/mlx5/mlx5_vdpa_

[PATCH v1 0/7] vdpa/mlx5: improve device shutdown time

2022-02-24 Thread Xueming Li
v1: - rebase with latest upstream code - fix coverity issues Xueming Li (7): vdpa/mlx5: fix interrupt trash that leads to segment fault vdpa/mlx5: fix dead loop when process interrupted vdpa/mlx5: no kick handling during shutdown vdpa/mlx5: reuse resources in reconfiguration vdpa/mlx5

[PATCH 5/7] vdpa/mlx5: cache and reuse hardware resources

2022-02-24 Thread Xueming Li
-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 11 - drivers/vdpa/mlx5/mlx5_vdpa.h | 12 - drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 27 ++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 73 + 4 files changed, 99 insertions(+), 24 deletions

[PATCH 7/7] vdpa/mlx5: make statistics counter persistent

2022-02-24 Thread Xueming Li
To speed the device suspend and resume time, make counter persitent in reconfiguration until the device gets removed. Signed-off-by: Xueming Li --- doc/guides/vdpadevs/mlx5.rst| 6 ++ drivers/vdpa/mlx5/mlx5_vdpa.c | 19 +++-- drivers/vdpa/mlx5/mlx5_vdpa.h

[PATCH 6/7] vdpa/mlx5: support device cleanup callback

2022-02-24 Thread Xueming Li
This patch supports device cleanup callback API which called when device disconected with VM. Cached resources like VM MR and VQ memory are released. Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 23 +++ drivers/vdpa/mlx5/mlx5_vdpa.h | 1 + 2 files changed

[PATCH 4/7] vdpa/mlx5: reuse resources in reconfiguration

2022-02-24 Thread Xueming Li
To speed up device resume, create reuseable resources during device probe state, release when device remove. Reused resources includes TIS, TD, VAR Doorbell mmap, error handling event channel and interrupt handler, UAR, Rx event channel, NULL MR, steer domain and table. Signed-off-by: Xueming Li

[PATCH 3/7] vdpa/mlx5: no kick handling during shutdown

2022-02-24 Thread Xueming Li
or device in middle of shutdown. Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa.c | 17 ++--- drivers/vdpa/mlx5/mlx5_vdpa.h | 8 +++- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 12 +++- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a

[PATCH 2/7] vdpa/mlx5: fix dead loop when process interrupted

2022-02-24 Thread Xueming Li
could be set in next successful kick request. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/vdpa/mlx5/mlx5_vdpa_

[PATCH 1/7] vdpa/mlx5: fix interrupt trash that leads to segment fault

2022-02-24 Thread Xueming Li
Disable interrupt unregister timeout to avoid invalid FD caused interrupt thread segment fault. Fixes: 62c813706e41 ("vdpa/mlx5: map doorbell") Cc: ma...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 20 1 fi

[PATCH 0/7] vdpa/mlx5: improve device shutdown time

2022-02-24 Thread Xueming Li
Xueming Li (7): vdpa/mlx5: fix interrupt trash that leads to segment fault vdpa/mlx5: fix dead loop when process interrupted vdpa/mlx5: no kick handling during shutdown vdpa/mlx5: reuse resources in reconfiguration vdpa/mlx5: cache and reuse hardware resources vdpa/mlx5: support

[PATCH] examples/vdpa: fix disabled VirtQ statistics query

2022-02-24 Thread Xueming Li
Quit VirtQ statistics query instead of reporting error. Fixes: 6505865aa8ed ("examples/vdpa: add statistics show command") Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- examples/vdpa/main.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git

[PATCH v2] vhost: add vDPA resource cleanup callback

2022-01-27 Thread Xueming Li
This patch adds vDPA device cleanup callback to release resources on vhost user connection close. Signed-off-by: Xueming Li --- lib/vhost/vdpa_driver.h | 3 +++ lib/vhost/vhost_user.c | 6 ++ 2 files changed, 9 insertions(+) diff --git a/lib/vhost/vdpa_driver.h b/lib/vhost/vdpa_driver.h

DPDK 20.11.4 released

2022-01-25 Thread Xueming Li
nubani Also thanks for people who helped to reslove conflicts manually. Xueming Li --- VERSION| 2 +- app/test-compress-perf/comp_perf_test_cyclecount.c | 2 - app/test-crypto-perf/cperf_test_vectors.c | 4 + app/test-eventde

20.11.4 patches review and test

2021-12-06 Thread Xueming Li
validations will be added to the release notes. A release candidate tarball can be found at: https://dpdk.org/browse/dpdk-stable/tag/?id=v20.11.4-rc1 These patches are located at branch 20.11 of dpdk-stable repo: https://dpdk.org/browse/dpdk-stable/ Thanks. Xueming Li --- Ajit Khaparde (5

[PATCH] net/virtio: fix Tx queue 0 override by queue 128

2021-12-02 Thread Xueming Li
Both Rx queue and Tx queue are VirtQ in virtio, VQ index is 256 for Tx queue 128. Uint8 type of TxQ VQ index overflows and overrides Tx queue 0 data. This patch fixes VQ index type with uint16 type. Fixes: c1f86306a026 ("virtio: add new driver") Cc: sta...@dpdk.org Signed-off-by:

[PATCH v2] kvargs: fix device iterator match from arguments

2021-11-24 Thread Xueming Li
thout name specified. Fixes: 6aebb942907d ("kvargs: add function to get from key and value") Cc: olivier.m...@6wind.com Signed-off-by: Xueming Li --- 21.11 specific bug, no copy to stable.org --- drivers/bus/auxiliary/auxiliary_params.c | 14 +- drivers/bus/vdev/vdev_par

[PATCH] kvargs: fix device iterator match from arguments

2021-11-21 Thread Xueming Li
thout name specified. Fixes: 6aebb942907d ("kvargs: add function to get from key and value") Cc: olivier.m...@6wind.com Signed-off-by: Xueming Li --- 21.11 specific bug, no copy to stable.org --- drivers/bus/auxiliary/auxiliary_params.c | 3 +++ drivers/bus/vdev/vdev_params.c | 3 +++

[dpdk-dev] [PATCH v1] eal: fix random device arguments in device iterator

2021-10-27 Thread Xueming Li
Devargs used in device iterator initialization wasn't set to zero, random data like bus string lead to invalid address access. This patch initializes devargs. Fixes: c99a2d4c6b7f ("eal: implement device iteration initialization") Cc: sta...@dpdk.org Cc: Gaetan Rivet Signed-off

[dpdk-dev] [PATCH v1] test: fix devargs test case memory leak

2021-10-23 Thread Xueming Li
In layer argument test function, kvargs are parsed and checked without free. This patch calls rte_kvargs_free() function to avoid memory leak. Fixes: a4975cd20dca ("test: add devargs test cases") Signed-off-by: Xueming Li --- app/test/test_devargs.c | 2 ++ 1 file changed, 2

[dpdk-dev] [PATCH v4 6/8] net/mlx5: fix internal root table flow priroity

2021-10-22 Thread Xueming Li
/mlx5: enlarge maximal flow priority") Cc: sta...@dpdk.org Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow.c| 7 ++- drivers/net/mlx5/mlx5_flow.h| 4 ++-- drivers/net/mlx5/mlx5_flow_dv.c | 3 ++- 3 files changed, 10 insertions(+), 4 deletion

[dpdk-dev] [PATCH v4 7/8] net/mlx5: enable DevX Tx queue creation

2021-10-22 Thread Xueming Li
Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_os.c | 62 +- drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_devx.c | 10 ++--- drivers/net/mlx5/mlx5_devx.h | 2 + drivers/net/mlx5/mlx5_flow.c | 74

[dpdk-dev] [PATCH v4 8/8] net/mlx5: check DevX to support more Verbs ports

2021-10-22 Thread Xueming Li
Verbs API doesn't support device port number larger than 255 by design. To support more VF or SubFunction port representors, forces DevX API check when max Verbs device link ports larger than 255. Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5

[dpdk-dev] [PATCH v4 5/8] net/mlx5: supports flow item of normal Tx queue

2021-10-22 Thread Xueming Li
Extends txq flow pattern to support both hairpin and regular txq. Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow_dv.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5

[dpdk-dev] [PATCH v4 2/8] net/mlx5: use netlink when IB port greater than 255

2021-10-22 Thread Xueming Li
IB spec doesn't allow 255 ports on a single HCA, port number of 256 was cast to u8 value 0 which invalid to ibv_query_port() This patch invokes Netlink api to query port state when port number greater than 255. Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/net

[dpdk-dev] [PATCH v4 3/8] net/mlx5: improve Verbs flow priority discover for scalable

2021-10-22 Thread Xueming Li
To detect number flow Verbs flow priorities, PMD try to create Verbs flows in different priority. While Verbs is not designed to support ports larger than 255. When DevX supported by kernel driver, 16 Verbs priorities must be supported, no need to create Verbs flows. Signed-off-by: Xueming Li

[dpdk-dev] [PATCH v4 1/8] common/mlx5: add netlink API to get RDMA port state

2021-10-22 Thread Xueming Li
Introduce netlink API to get rdma port state. Port state is restrieved based on RDMA device name and port index. Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_nl.c | 136

[dpdk-dev] [PATCH v4 0/8] net/mlx5: support more than 255 representors

2021-10-22 Thread Xueming Li
compilation issue v4: - fix rebase issue - rebase on latest upstream Xueming Li (8): common/mlx5: add netlink API to get RDMA port state net/mlx5: use netlink when IB port greater than 255 net/mlx5: improve Verbs flow priority discover for scalable net/mlx5: support E-Switch manager egress

[dpdk-dev] [PATCH v4 4/8] net/mlx5: support E-Switch manager egress traffic match

2021-10-22 Thread Xueming Li
on E-Switch manager. E-Switch manager vport ID is 0xfffe on BlueField, 0 otherwise. Signed-off-by: Xueming Li Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow.h| 3 +++ drivers/net/mlx5/mlx5_flow_dv.c | 25 + 2 files changed, 28 insertions(+) diff

[dpdk-dev] [PATCH v13 7/7] app/testpmd: add forwarding engine for shared Rx queue

2021-10-21 Thread Xueming Li
To support shared Rx queue, this patch introduces dedicate forwarding engine. The engine groups received packets by mbuf->port into sub-group, updates stream statistics and simply frees packets. Signed-off-by: Xueming Li --- app/test-pmd/meson.build| 1 + app/test-

[dpdk-dev] [PATCH v13 6/7] app/testpmd: force shared Rx queue polled on same core

2021-10-21 Thread Xueming Li
Shared Rx queue must be polled on same core. This patch checks and stops forwarding if shared RxQ being scheduled on multiple cores. It's suggested to use same number of Rx queues and polling cores. Signed-off-by: Xueming Li Acked-by: Xiaoyun Li --- app/test-pmd/config.c

[dpdk-dev] [PATCH v13 5/7] app/testpmd: dump port info for shared Rx queue

2021-10-21 Thread Xueming Li
In case of shared Rx queue, source port mbuf from polling result isn't the Rx port of forwarding stream. To provide original port ID, this patch dumps mbuf->port for each packet in verbose mode if shared Rx queue enabled. Signed-off-by: Xueming Li Acked-by: Xiaoyun Li --- app/test-pm

[dpdk-dev] [PATCH v13 2/7] ethdev: get device capability name as string

2021-10-21 Thread Xueming Li
This patch adds API to return name of device capability. Signed-off-by: Xueming Li Reviewed-by: Andrew Rybchenko Acked-by: Ajit Khaparde Acked-by: Thomas Monjalon --- lib/ethdev/rte_ethdev.c | 25 + lib/ethdev/rte_ethdev.h | 14 ++ lib/ethdev/version.map

[dpdk-dev] [PATCH v13 3/7] app/testpmd: dump device capability and Rx domain info

2021-10-21 Thread Xueming Li
Dump device capability and Rx domain ID if shared Rx queue is supported by device. Signed-off-by: Xueming Li Acked-by: Andrew Rybchenko Acked-by: Xiaoyun Li Acked-by: Ajit Khaparde --- app/test-pmd/config.c | 29 + 1 file changed, 29 insertions(+) diff --git a

[dpdk-dev] [PATCH v13 0/7] ethdev: introduce shared Rx queue

2021-10-21 Thread Xueming Li
RxQ configuration v9: - fix some spelling v10: - add device capability name api v11: - remove macro from device capability name list v12: - rephrase - in forwarding core check, add global flag and RxQ enabled check v13: - update imports of new forwarding engine - rephrase Xueming Li (7): eth

[dpdk-dev] [PATCH v13 4/7] app/testpmd: new parameter to enable shared Rx queue

2021-10-21 Thread Xueming Li
D. Signed-off-by: Xueming Li Acked-by: Thomas Monjalon --- app/test-pmd/config.c | 7 ++- app/test-pmd/parameters.c | 13 + app/test-pmd/testpmd.c| 20 +--- app/test-pmd/testpmd.h| 2 ++ doc/guides/test

[dpdk-dev] [PATCH v13 1/7] ethdev: introduce shared Rx queue

2021-10-21 Thread Xueming Li
is responsible for shared Rx queue consistency checks to avoid member port's configuration contradict each other. Signed-off-by: Xueming Li Reviewed-by: Andrew Rybchenko Acked-by: Ajit Khaparde --- doc/guides/nics/features.rst | 13 ++ doc/guides/nics/features/def

[dpdk-dev] [PATCH v12 6/7] app/testpmd: force shared Rx queue polled on same core

2021-10-21 Thread Xueming Li
Shared Rx queue must be polled on same core. This patch checks and stops forwarding if shared RxQ being scheduled on multiple cores. It's suggested to use same number of Rx queues and polling cores. Signed-off-by: Xueming Li --- app/test-pmd/config.c

[dpdk-dev] [PATCH v12 7/7] app/testpmd: add forwarding engine for shared Rx queue

2021-10-21 Thread Xueming Li
To support shared Rx queue, this patch introduces dedicate forwarding engine. The engine groups received packets by mbuf->port into sub-group, updates stream statistics and simply frees packets. Signed-off-by: Xueming Li Acked-by: Xiaoyun Li Acked-by: Ajit Khaparde --- app/test-

[dpdk-dev] [PATCH v12 5/7] app/testpmd: dump port info for shared Rx queue

2021-10-21 Thread Xueming Li
In case of shared Rx queue, polling any member port returns mbufs for all members. This patch dumps mbuf->port for each packet. Signed-off-by: Xueming Li Acked-by: Xiaoyun Li --- app/test-pmd/util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/util.c b/app/test-

[dpdk-dev] [PATCH v12 0/7] ethdev: introduce shared Rx queue

2021-10-21 Thread Xueming Li
RxQ configuration v9: - fix some spelling v10: - add device capability name api v11: - remove macro from device capability name list v12: - rephrase - in forwarding core check, add global flag and RxQ enabled check Xueming Li (7): ethdev: introduce shared Rx queue ethdev: get device capability

[dpdk-dev] [PATCH v12 1/7] ethdev: introduce shared Rx queue

2021-10-21 Thread Xueming Li
is responsible for shared Rx queue consistency checks to avoid member port's configuration contradict each other. Signed-off-by: Xueming Li Reviewed-by: Andrew Rybchenko Acked-by: Ajit Khaparde --- doc/guides/nics/features.rst | 13 ++ doc/guides/nics/features/def

[dpdk-dev] [PATCH v12 4/7] app/testpmd: new parameter to enable shared Rx queue

2021-10-21 Thread Xueming Li
D. Signed-off-by: Xueming Li --- app/test-pmd/config.c | 7 ++- app/test-pmd/parameters.c | 13 + app/test-pmd/testpmd.c| 20 +--- app/test-pmd/testpmd.h| 2 ++ doc/guides/testpmd_app_ug/run_app.rst | 6

[dpdk-dev] [PATCH v12 3/7] app/testpmd: dump device capability and Rx domain info

2021-10-21 Thread Xueming Li
Dump device capability and Rx domain ID if shared Rx queue is supported by device. Signed-off-by: Xueming Li Acked-by: Andrew Rybchenko Acked-by: Xiaoyun Li --- app/test-pmd/config.c | 29 + 1 file changed, 29 insertions(+) diff --git a/app/test-pmd/config.c b/app

[dpdk-dev] [PATCH v12 2/7] ethdev: get device capability name as string

2021-10-21 Thread Xueming Li
This patch adds API to return name of device capability. Signed-off-by: Xueming Li Reviewed-by: Andrew Rybchenko Acked-by: Ajit Khaparde Acked-by: Thomas Monjalon --- lib/ethdev/rte_ethdev.c | 25 + lib/ethdev/rte_ethdev.h | 14 ++ lib/ethdev/version.map

[dpdk-dev] [PATCH v5 1/3] devargs: support path value for global device arguments

2021-10-20 Thread Xueming Li
Slash is used to split global device arguments. To support path value which contains slash, this patch parses devargs by locating both slash and layer name key: bus=a,name=/some/path/class=b,k1=v1/driver=c,k2=v2 "/class=" and "/driver" are valid start of a layer. Signe

[dpdk-dev] [PATCH v5 3/3] test/devargs: add devargs test cases

2021-10-20 Thread Xueming Li
Initial version to test global devargs syntax. Signed-off-by: Xueming Li --- app/test/meson.build| 2 + app/test/test_devargs.c | 214 2 files changed, 216 insertions(+) create mode 100644 app/test/test_devargs.c diff --git a/app/test/meson.build

  1   2   3   4   5   6   7   8   9   10   >