Re: [PATCH v7 0/7] app/procinfo: add some extended features

2022-09-24 Thread Dongdong Liu
I made a mistake, The subtile shoud be [PATCH v4]. Others is ok. Thanks, Dongdong On 2022/9/24 16:13, Dongdong Liu wrote: This patchset is to add some extended features for dpdk-proc-info. Thanks to Reshma and Stephen help to review the patchset and give many useful comments. v3->v4: -

Re: [PATCH v4 3/3] app/procinfo: support descriptor dump

2022-09-24 Thread Dongdong Liu
Hi Reshma Many thanks for your view. On 2022/9/23 20:18, Pattan, Reshma wrote: -Original Message- From: Dongdong Liu Subject: [PATCH v4 3/3] app/procinfo: support descriptor dump From: "Min Hu (Connor)" This patch support HW Rx/Tx descriptor dump The command is like:

Re: [PATCH RESEND 00/13] some bugfixes and clean code for hns3

2022-09-28 Thread Dongdong Liu
Hi Andrew Kindly ping. Could you have a look at these patches? Thanks, Dongdong On 2022/9/5 16:59, Dongdong Liu wrote: This patchset consists of two parts that have been sent out before. 1. [PATCH 0/5] some bugfixes and clean code for hns3 https://lore.kernel.org/all/20220713115002.8959-2

[PATCH 02/19] net/hns3: fix RSS filter restore

2022-09-30 Thread Dongdong Liu
ist can be used to restore. The modification of RSS function may introduce new problem. So this patch fix it. Fixes: eb158fc756a5 ("net/hns3: fix config when creating RSS rule after flush") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/h

[PATCH 00/19] some bugfixes and clean code for hns3 - part2

2022-09-30 Thread Dongdong Liu
Feng (5): net/hns3: fix header file self contained net/hns3: remove unused structure definition net/hns3: do not use reserved identifier macro net/hns3: revert fix mailbox communication with HW net/hns3: fix VF mark wrong message processed Dongdong Liu (1): net/hns3: fix gcov compile

[PATCH 01/19] net/hns3: fix have no valid RSS rule

2022-09-30 Thread Dongdong Liu
ix flushing RSS rule") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_flow.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c index b84f2

[PATCH 03/19] net/hns3: fix the lock protection of RSS flow rule

2022-09-30 Thread Dongdong Liu
27 ("net/hns3: support RSS") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_flow.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c index

[PATCH 04/19] net/hns3: fix RSS flow rule restore failed

2022-09-30 Thread Dongdong Liu
inked list to restore RSS flow rule. Fixes: 920be799dbc3 ("net/hns3: fix RSS indirection table configuration") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c| 11 ++- drivers/net/hns3/hns3_ethdev_vf.c | 11 +

[PATCH 07/19] net/hns3: fix gcov compile warning

2022-09-30 Thread Dongdong Liu
off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index 330a913cb8..bbc086f21d 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -2808,6 +280

[PATCH 09/19] net/hns3: fix magic numbers

2022-09-30 Thread Dongdong Liu
From: Jie Hai Removing magic numbers with macros. Signed-off-by: Jie Hai Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index bbc086f21d

[PATCH 08/19] net/hns3: fix incorrect packet type report for GENEVE

2022-09-30 Thread Dongdong Liu
ssing outer L4 UDP flag for VXLAN") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index fc304e1efd..

[PATCH 06/19] net/hns3: fix hns3 restore filter function input

2022-09-30 Thread Dongdong Liu
e_eth_devices[]'. So this patch fix the input of this function. Fixes: 920be799dbc3 ("net/hns3: fix RSS indirection table configuration") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c| 3 +-- drivers/net/hns3/hns

[PATCH 05/19] net/hns3: move flow direction rule recovery position

2022-09-30 Thread Dongdong Liu
Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c | 4 drivers/net/hns3/hns3_fdir.c | 3 +++ drivers/net/hns3/hns3_flow.c | 7 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/net/hns3/hns3_et

[PATCH 11/19] net/hns3: remove unused structure definition

2022-09-30 Thread Dongdong Liu
From: Chengwen Feng This patch removes unused structure definition. Signed-off-by: Chengwen Feng Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_cmd.h | 19 --- drivers/net/hns3/hns3_rss.h | 4 2 files changed, 23 deletions(-) diff --git a/drivers/net/hns3

[PATCH 10/19] net/hns3: fix header file self contained

2022-09-30 Thread Dongdong Liu
From: Chengwen Feng Header files should be self contained and should not be cyclically dependent. This patch fixed it. Signed-off-by: Chengwen Feng Signed-off-by: Min Hu Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_cmd.h| 3 +++ drivers/net/hns3/hns3_common.c | 2 +- drivers

[PATCH 12/19] net/hns3: do not use reserved identifier macro

2022-09-30 Thread Dongdong Liu
Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_cmd.h | 6 +++--- drivers/net/hns3/hns3_common.h| 6 +++--- drivers/net/hns3/hns3_dcb.h | 6 +++--- drivers/net/hns3/hns3_dump.h | 6 +++--- drivers/net/hns3/hns3_ethdev.h| 6 +++--- drivers/net

[PATCH 13/19] net/hns3: fix fail to enable IPV4 or IPV6 packet RSS

2022-09-30 Thread Dongdong Liu
os. Fixes: 806f1d5ab0e3 ("net/hns3: set RSS hash type input configuration") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rss.c | 14 ++ drivers/net/hns3/hns3_rss.h | 2 ++ 2 files changed, 16 insertions(+) diff --gi

[PATCH 14/19] net/hns3: fix some spelling errors

2022-09-30 Thread Dongdong Liu
From: Huisong Li This patch fixes spelling errors about IPV6-SCTP macro. Fixes: 1bc633c34008 ("net/hns3: enable RSS for IPv6-SCTP dst/src port fields") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rss.c | 12 ++-- 1 fi

[PATCH 16/19] net/hns3: add check for L3 and L4 type

2022-09-30 Thread Dongdong Liu
From: Huisong Li When user set 'L3_SRC/DST_ONLY' or 'L4_SRC/DST_ONLY' to 'rss_hf' and do not specify the packet type, these types will be set to hardware. So this patch adds a check for them. Fixes: 806f1d5ab0e3 ("net/hns3: set RSS hash type input configuration") Cc: sta...@dpdk.org Signed-off-

[PATCH 15/19] net/hns3: fix inconsistent RSS behavior

2022-09-30 Thread Dongdong Liu
or 'ipv4' flow. So this patch fixes this problem. Fixes: 806f1d5ab0e3 ("net/hns3: set RSS hash type input configuration") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rss.c | 266 1 fi

[PATCH 17/19] net/hns3: revert fix mailbox communication with HW

2022-09-30 Thread Dongdong Liu
ommunication with HW") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_mbx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_mbx.c b/drivers/net/hns3/hns3_mbx.c index 02028dcd9c..910a16c999

[PATCH 19/19] net/hns3: fix the obtaination of minimum Tx frame length

2022-09-30 Thread Dongdong Liu
. Fixes: 395b5e08ef8d ("net/hns3: add Tx short frame padding compatibility") Cc: sta...@dpdk.org Signed-off-by: Jie Hai Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_cmd.h | 6 ++ drivers/net/hns3/hns3_ethdev.c| 4 +++- drivers/net/hns3/hns3_ethdev.h| 3 +-- driver

[PATCH 18/19] net/hns3: fix VF mark wrong message processed

2022-09-30 Thread Dongdong Liu
ndary process") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_mbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_mbx.c b/drivers/net/hns3/hns3_mbx.c index 910a16c999..8e0a58aa02 100644 ---

Re: [PATCH v4 1/3] ethdev: introduce ethdev desc dump API

2022-10-06 Thread Dongdong Liu
Hi Ferruh Many thanks for your review. On 2022/10/4 6:40, Ferruh Yigit wrote: On 9/23/2022 8:43 AM, Dongdong Liu wrote: From: "Min Hu (Connor)" Added the ethdev Rx/Tx desc dump API which provides functions for query descriptor from device. HW descriptor info differs in different

[PATCH v5 0/3] support ethdev Rx/Tx descriptor dump

2022-10-06 Thread Dongdong Liu
entation and procinfo part Dongdong Liu (3): ethdev: introduce ethdev desc dump API net/hns3: support Rx/Tx bd dump app/procinfo: support descriptor dump app/proc-info/main.c | 80 +++ doc/guides/rel_notes/release_22_11.rst | 6 ++ drivers/net/hns3/

[PATCH v5 1/3] ethdev: introduce ethdev desc dump API

2022-10-06 Thread Dongdong Liu
-by: Min Hu (Connor) Signed-off-by: Dongdong Liu --- doc/guides/rel_notes/release_22_11.rst | 6 +++ lib/ethdev/ethdev_driver.h | 53 + lib/ethdev/rte_ethdev.c| 52 lib/ethdev/rte_ethdev.h| 55

[PATCH v5 2/3] net/hns3: support Rx/Tx bd dump

2022-10-06 Thread Dongdong Liu
This patch support query HW descriptor from hns3 device. HW descriptor is also called BD(buffer description) which is shared memory between software and hardware. Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_dump.c | 88

[PATCH v5 3/3] app/procinfo: support descriptor dump

2022-10-06 Thread Dongdong Liu
. offset: The offset of the descriptor starting from tail. num: The number of the descriptors to dump. Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu --- app/proc-info/main.c | 80 1 file changed, 80 insertions(+) diff --git a/app/proc-info

[PATCH v8 0/8] app/procinfo: add some extended features

2022-10-08 Thread Dongdong Liu
ome comments from Reshma. Dongdong Liu (4): app/procinfo: add firmware version dump app/procinfo: fix some wrong doxygen syntax app/procinfo: support descriptor dump doc: add some extended features in procinfo guide Jie Hai (1): app/procinfo: add dump of Rx/Tx burst mode Min Hu (Connor

[PATCH v8 1/8] app/procinfo: add dpdk version dump

2022-10-08 Thread Dongdong Liu
From: "Min Hu (Connor)" Add support for dump dpdk version. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --version Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 19 ++- 1 fi

[PATCH v8 4/8] app/procinfo: add module eeprom info dump

2022-10-08 Thread Dongdong Liu
From: "Min Hu (Connor)" This patch add support for module eeprom info dump. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-eeprom Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/m

[PATCH v8 3/8] app/procinfo: add RSS RETA dump

2022-10-08 Thread Dongdong Liu
From: "Min Hu (Connor)" This patch add support for RSS reta dump. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-rss-reta Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/m

[PATCH v8 2/8] app/procinfo: add firmware version dump

2022-10-08 Thread Dongdong Liu
Add support for dump ethdev firmware version. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --firmware-version Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 35 +++ 1

[PATCH v8 5/8] app/procinfo: add dump of Rx/Tx burst mode

2022-10-08 Thread Dongdong Liu
: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 90e7e41e38..67217ab68b 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -845,6 +845,7 @@ show_port(void

[PATCH v8 6/8] app/procinfo: fix some wrong doxygen syntax

2022-10-08 Thread Dongdong Liu
This code is to do cleanup for the wrong doxygen syntax comments The DPDK API is documented using doxygen comment annotations in the header files. The procinfo code seems no need to use doxygen comment. Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 40

[PATCH v8 7/8] app/procinfo: support descriptor dump

2022-10-08 Thread Dongdong Liu
. offset: The offset of the descriptor starting from tail. num: The number of the descriptors to dump. Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu --- app/proc-info/main.c | 81 1 file changed, 81 insertions(+) diff --git a/app/proc-info

[PATCH v8 8/8] doc: add some extended features in procinfo guide

2022-10-08 Thread Dongdong Liu
Add the below extended features in procinfo guide. --show-port-private --version --firmware-version --show-rss-reta --show-module-eeprom --show-rx-descriptor --show-tx-descriptor Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- doc/guides/tools/proc_info.rst | 36

Re: [PATCH v5 3/3] app/procinfo: support descriptor dump

2022-10-08 Thread Dongdong Liu
Hi Reshma Many thanks for your review. I have sent out the below patchset. this patchset have fixed the comments. [v8,7/8] app/procinfo: support descriptor dump https://patches.dpdk.org/project/dpdk/list/?series=25047 Thanks, Dongdong. On 2022/10/7 22:43, Pattan, Reshma wrote: -Original

[PATCH v9 0/8] app/procinfo: add some extended features

2022-10-08 Thread Dongdong Liu
Delete some unnecessary code. v1->v2: Fix some comments from Reshma. Dongdong Liu (4): app/procinfo: add firmware version dump app/procinfo: fix some wrong doxygen syntax app/procinfo: support descriptor dump doc: add some extended features in procinfo guide Jie Hai (1): app/procinfo:

[PATCH v9 1/8] app/procinfo: add dpdk version dump

2022-10-08 Thread Dongdong Liu
From: "Min Hu (Connor)" Add support for dump dpdk version. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --version Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 19 ++- 1 fi

[PATCH v9 2/8] app/procinfo: add firmware version dump

2022-10-08 Thread Dongdong Liu
Add support for dump ethdev firmware version. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --firmware-version Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 35 +++ 1

[PATCH v9 3/8] app/procinfo: add RSS RETA dump

2022-10-08 Thread Dongdong Liu
From: "Min Hu (Connor)" This patch add support for RSS reta dump. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-rss-reta Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/m

[PATCH v9 4/8] app/procinfo: add module eeprom info dump

2022-10-08 Thread Dongdong Liu
From: "Min Hu (Connor)" This patch add support for module eeprom info dump. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-eeprom Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/m

[PATCH v9 6/8] app/procinfo: fix some wrong doxygen syntax

2022-10-08 Thread Dongdong Liu
This code is to do cleanup for the wrong doxygen syntax comments The DPDK API is documented using doxygen comment annotations in the header files. The procinfo code seems no need to use doxygen comment. Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 40

[PATCH v9 5/8] app/procinfo: add dump of Rx/Tx burst mode

2022-10-08 Thread Dongdong Liu
: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 90e7e41e38..67217ab68b 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -845,6 +845,7 @@ show_port(void

[PATCH v9 7/8] app/procinfo: support descriptor dump

2022-10-08 Thread Dongdong Liu
. offset: The offset of the descriptor starting from tail. num: The number of the descriptors to dump. Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu --- app/proc-info/main.c | 80 1 file changed, 80 insertions(+) diff --git a/app/proc-info

[PATCH v9 8/8] doc: add some extended features in procinfo guide

2022-10-08 Thread Dongdong Liu
Add the below extended features in procinfo guide. --show-port-private --version --firmware-version --show-rss-reta --show-module-eeprom --show-rx-descriptor --show-tx-descriptor Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- doc/guides/tools/proc_info.rst | 36

Re: [PATCH v5 0/3] support ethdev Rx/Tx descriptor dump

2022-10-08 Thread Dongdong Liu
On 2022/10/7 0:42, Ferruh Yigit wrote: On 10/6/2022 1:05 PM, Dongdong Liu wrote: Support ethdev Rx/Tx descriptor dump by using procinfo tool. Thanks to Ferruh, Andrew and Reshma help to review the patchset. NOTE: October 1st to October 7th is China's National Day holiday. I don

Re: [PATCH v11 4/5] net/hns3: support proactive error handling mode

2022-10-09 Thread Dongdong Liu
On 2022/10/9 17:10, Chengwen Feng wrote: This patch supports proactive error handling mode. Signed-off-by: Chengwen Feng Acked-by: Dongdong Liu --- drivers/net/hns3/hns3_common.c | 2 ++ drivers/net/hns3/hns3_intr.c | 24 2 files changed, 26 insertions

Re: [PATCH v9 7/8] app/procinfo: support descriptor dump

2022-10-10 Thread Dongdong Liu
Hi Reshma Many thanks for your review. On 2022/10/10 17:08, Pattan, Reshma wrote: -Original Message- From: Dongdong Liu +static void +nic_descriptor_display(uint16_t port_id, struct desc_param *desc, + desc_dump_t desc_dump) +{ + static const char

[PATCH v10 1/8] app/procinfo: add dpdk version dump

2022-10-11 Thread Dongdong Liu
From: "Min Hu (Connor)" Add support for dump dpdk version. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --version Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 19 ++- 1 fi

[PATCH v10 0/8] app/procinfo: add some extended features

2022-10-11 Thread Dongdong Liu
option to show firmware. - Use errors on stderr, not stdout. - Delete some unnecessary code. v1->v2: Fix some comments from Reshma. Dongdong Liu (4): app/procinfo: add firmware version dump app/procinfo: fix some wrong doxygen syntax app/procinfo: support descriptor dump doc: add some ex

[PATCH v10 2/8] app/procinfo: add firmware version dump

2022-10-11 Thread Dongdong Liu
Add support for dump ethdev firmware version. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --firmware-version Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 35 +++ 1

[PATCH v10 4/8] app/procinfo: add module eeprom info dump

2022-10-11 Thread Dongdong Liu
From: "Min Hu (Connor)" This patch add support for module eeprom info dump. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-eeprom Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/m

[PATCH v10 3/8] app/procinfo: add RSS RETA dump

2022-10-11 Thread Dongdong Liu
From: "Min Hu (Connor)" This patch add support for RSS reta dump. The command is like: dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-rss-reta Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/m

[PATCH v10 5/8] app/procinfo: add dump of Rx/Tx burst mode

2022-10-11 Thread Dongdong Liu
: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 90e7e41e38..67217ab68b 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -845,6 +845,7 @@ show_port(void

[PATCH v10 6/8] app/procinfo: fix some wrong doxygen syntax

2022-10-11 Thread Dongdong Liu
This code is to do cleanup for the wrong doxygen syntax comments The DPDK API is documented using doxygen comment annotations in the header files. The procinfo code seems no need to use doxygen comment. Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- app/proc-info/main.c | 40

[PATCH v10 7/8] app/procinfo: support descriptor dump

2022-10-11 Thread Dongdong Liu
. offset: The offset of the descriptor starting from tail. num: The number of the descriptors to dump. Signed-off-by: Min Hu (Connor) Signed-off-by: Dongdong Liu --- app/proc-info/main.c | 104 +++ 1 file changed, 104 insertions(+) diff --git a/app/proc-info

[PATCH v10 8/8] doc: add some extended features in procinfo guide

2022-10-11 Thread Dongdong Liu
Add the below extended features in procinfo guide. --show-port-private --version --firmware-version --show-rss-reta --show-module-eeprom --show-rx-descriptor --show-tx-descriptor Signed-off-by: Dongdong Liu Acked-by: Reshma Pattan --- doc/guides/tools/proc_info.rst | 36

Re: [PATCH v10 0/8] app/procinfo: add some extended features

2022-11-04 Thread Dongdong Liu
Hi Thomas Kindly ping. Can this patchset be applied? Thanks, Dongdong On 2022/10/11 19:18, Dongdong Liu wrote: This patchset is to add some extended features for dpdk-proc-info. Thanks to Reshma and Stephen help to review the patchset. v9->v10: - Fix some comments for Rx/Tx descriptor d

Re: [PATCH v10 0/8] app/procinfo: add some extended features

2022-11-15 Thread Dongdong Liu
On 2022/11/15 17:52, David Marchand wrote: On Tue, Oct 11, 2022 at 1:20 PM Dongdong Liu wrote: This patchset is to add some extended features for dpdk-proc-info. Thanks to Reshma and Stephen help to review the patchset. v9->v10: - Fix some comments for Rx/Tx descriptor dump. v8-

Re: [PATCH 1/2] net/hns3: declare support rule keep capability

2022-12-14 Thread Dongdong Liu
Acked-by: Dongdong Liu Thanks, Dongdong On 2022/12/15 9:41, Chengwen Feng wrote: The driver supports create flow rules when device is stopped, and re-setup flow rules when restarting, so declare support RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP. The driver also supports to create indirect actions

Re: [PATCH v11 3/6] memarea: support alloc/free/refcnt-update API

2023-01-09 Thread Dongdong Liu
On 2022/12/13 17:13, Chengwen Feng wrote: This patch supports rte_memarea_alloc()/rte_memarea_free()/ rte_memarea_refcnt_update() API. Signed-off-by: Chengwen Feng --- doc/guides/prog_guide/memarea_lib.rst | 10 ++ lib/memarea/memarea_private.h | 3 + lib/memarea/rte_memarea.c

Re: [PATCH v11 0/6] introduce memarea library

2023-01-09 Thread Dongdong Liu
Hi Chengwen Except for a minor comments, this patchset looks good to me. Reviewed-by: Dongdong Liu Thanks, Dongdong On 2022/12/13 17:13, Chengwen Feng wrote: The memarea library is an allocator of variable-size object which based on a memory region. The main features are as follows: - The

<    1   2   3