From: Huisong Li
Currently, reta_query() API reports the redirection table from software.
This patch uses the one in hardware to report.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/
ave current algorithm for restoring algorithm during reset
phase.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 60 +---
drivers/net/hns
this field to save, they has a global flow_rss_list to maintain all
rules which save hash key. And hash key can be restored by this rule
information during the reset phase.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rss.c | 5 +++--
1 file
rte_flow API no need to use this field to save, they has a global
RSS flow list to maintain all rules which can be used to restore the
table during the reset phase.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 2 --
drivers/net/hns3
the saved rule.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 3 ++-
drivers/net/hns3/hns3_rss.c | 22 ++
drivers/net/hns3/hns3_rss.h | 1 +
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a
From: Huisong Li
Separate the setting and clearing of RSS rule.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 46 +---
1 file changed, 22 insertions(+), 24 deletions(-)
diff --git a/drivers/net
y: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rss.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_rss.h b/drivers/net/hns3/hns3_rss.h
index 21b90789d0..cc0bb8431d 100644
--- a/drivers/net/hns3/hns3_rss.h
+++ b/drivers/net/hns3/
ned-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 52 ++--
1 file changed, 20 insertions(+), 32 deletions(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index 4da98d7adc..3700d073b1 100644
--- a/drivers/net/hns3/hns3_flow.c
+++
From: Huisong Li
Save hash algo from rte flow RSS rule to RSS filter list node
instead of struct hns3_rss_conf.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions
flow
RSS filter list node element.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 23 ---
drivers/net/hns3/hns3_flow.h | 10 +-
drivers/net/hns3/hns3_rss.h | 5 -
3 files changed, 21 insertions(+), 17
rc/dst but hasn't supported packet type and hasn't IP
packet type.
Fixes: 13c3993240c8 ("net/hns3: add L3 and L4 RSS types")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_flow.c | 12 +++---
dri
a...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.h | 9 -
drivers/net/hns3/hns3_flow.c | 966 +++--
drivers/net/hns3/hns3_flow.h | 15 +-
drivers/net/hns3/hns3_rss.c| 144 ++---
drivers/net/hns3/hns3_r
This patchset is to support setting and querying RSS algorithms.
Huisong Li (1):
net/hns3: support setting and querying RSS hash function
Jie Hai (4):
ethdev: support setting and querying rss algorithm
app/proc-info: fix never show RSS info
app/proc-info: show RSS types with strings
app
set. Do the same for rte_eth_dev_rss_hash_update
and rte_eth_dev_configure.
To check whether the drivers report the func field, it is set to default
value before querying.
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
doc/guides/rel_notes/release_23_03.rst | 4 ++--
lib/ethdev/rte_ethdev.c
From: Huisong Li
Support setting and querying RSS hash function by ethdev ops.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rss.c | 47 +
1 file changed, 27 insertions(+), 20 deletions(-)
diff --git a/drivers/net/hns3
ff-by: Jie Hai
Signed-off-by: Dongdong Liu
---
app/proc-info/main.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index 53e852a07c..878ce37e8b 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
):
6d5a56da255b0ec24167253d43a38fb0d0ca2bcbae7b30b477cb2da38030f20c6a42b73bbeac01fa
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
app/proc-info/main.c | 120 ---
1 file changed, 113 insertions(+), 7 deletions(-)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index 878ce37e8b..7b6f8f1228 100644
From: Jie Hai
Display RSS hash algorithm with command show-port as below.
- RSS info
-- hash algorithm: toeplitz
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
app/proc-info/main.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/app/proc-info
From: Huisong Li
There are two ways to set RSS hash key with rte flow rule:
1. 'key_len' isn't zero and 'key' is NULL.
2. 'key_len' isn't zero and 'key' isn't NULL.
This patch adds displaying for the hash key of rte flow rule.
Signed-of
Hi Ivan
Many thanks for your review.
On 2023/3/15 19:28, Ivan Malov wrote:
Hi,
On Wed, 15 Mar 2023, Dongdong Liu wrote:
From: Jie Hai
Currently, rte_eth_rss_conf supports configuring rss hash
functions, rss key and it's length, but not rss hash algorithm.
The structure ``rte_eth_rss
Hi Thomas
On 2023/3/15 21:43, Thomas Monjalon wrote:
15/03/2023 12:00, Dongdong Liu:
From: Jie Hai
--- a/doc/guides/rel_notes/release_23_03.rst
+++ b/doc/guides/rel_notes/release_23_03.rst
-* No ABI change that would break compatibility with 22.11.
-
+* ethdev: Added "func"
File Options" section to "Compilation Options"
- Rename "Runtime Config Options" section to "Runtime Configuration"
Signed-off-by: Ferruh Yigit
Acked-by: Dongdong Liu
Thanks,
Dongdong
---
doc/guides/nics/hns3.rst | 30 +++---
1 file c
Acked-by: Dongdong Liu
Thanks,
Dongdong
Fixes: 64308555d5bf ("net/hns3: fix link status when port is stopped")
Cc: sta...@dpdk.org
Signed-off-by: Jerin Jacob
---
drivers/net/hns3/hns3_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_
This patchset include some bugfixes for hns3 fec and add setting and
querying of LLRS FEC mode.
Jie Hai (7):
net/hns3: fix fec mode for 200G ports
net/hns3: fix fec mode check error
net/hns3: fix missing FEC capability
ethdev: introduce low latency RS FEC
app/testpmd: add setting and que
From: Jie Hai
The hardware does not support NOFEC for 200G ports. So delete this
bit.
Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
Cc: sta...@dpdk.org
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2
o extracts the code for verifying mode parameter into
a function.
Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
Cc: sta...@dpdk.org
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.c | 50 --
1 file changed, 24 inserti
of other rates are not reported. So this patch
reports the FEC capabilities by the speed capabilities of the
network port.
Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
Cc: sta...@dpdk.org
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethd
From: Jie Hai
This patch introduces LLRS (low latency Reed Solomon FEC).
LLRS supports for 25 Gbps, 50 Gbps, 100 Gbps, 200 Gbps and
400 Gbps Ethernet networks.
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
doc/guides/rel_notes/release_23_07.rst | 3 +++
lib/ethdev/rte_ethdev.h
From: Jie Hai
This patch supports setting and querying of LLRS FEC mode.
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
app/test-pmd/cmdline.c | 5 -
app/test-pmd/config.c | 4
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +-
3
From: Jie Hai
Obtain the supported FEC capability from the firmware to
enhance code compatibility.
Cc: sta...@dpdk.org
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_cmd.h| 9 -
drivers/net/hns3/hns3_ethdev.c | 29
From: Jie Hai
This patch supports the query and configuration of LLRS FEC mode.
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_cmd.c| 1 +
drivers/net/hns3/hns3_cmd.h| 2 ++
drivers/net/hns3/hns3_ethdev.c | 21 -
3 files changed, 15
From: Chengwen Feng
The media type information helps locate faults such as AN or rate
switching, so add dump media type in eth_dev_priv_dump ops.
Signed-off-by: Chengwen Feng
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_dump.c | 2 ++
drivers/net/hns3/hns3_ethdev.c | 2 +-
drivers
This patchset is to add some features for hns3 pmd.
Chengwen Feng (1):
net/hns3: support dump media type
Dongdong Liu (1):
net/hns3: simplify for hardware csum offloading
drivers/net/hns3/hns3_cmd.c| 3 ++
drivers/net/hns3/hns3_cmd.h| 1 +
drivers/net/hns3/hns3_dump.c | 3
L4.
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_cmd.c| 3 ++
drivers/net/hns3/hns3_cmd.h| 1 +
drivers/net/hns3/hns3_dump.c | 1 +
drivers/net/hns3/hns3_ethdev.h | 1 +
drivers/net/hns3/hns3_rxtx.c | 52 +-
drivers/net/hns3/hns3_rxtx.h
Hi Ferruh
On 2023/6/3 4:19, Ferruh Yigit wrote:
On 3/16/2023 1:16 PM, Dongdong Liu wrote:
Hi Thomas
On 2023/3/15 21:43, Thomas Monjalon wrote:
15/03/2023 12:00, Dongdong Liu:
From: Jie Hai
--- a/doc/guides/rel_notes/release_23_03.rst
+++ b/doc/guides/rel_notes/release_23_03.rst
-* No ABI
Hi Ferruh
On 2023/6/3 4:19, Ferruh Yigit wrote:
On 3/15/2023 11:00 AM, Dongdong Liu wrote:
From: Jie Hai
Command show-port shows rss info only if rss_conf.rss_key
is not null but it will never be true. This patch allocates
memory for rss_conf.rss_key and makes it possible to show
rss info
Hi Stephen
On 2023/6/3 5:19, Stephen Hemminger wrote:
On Wed, 15 Mar 2023 19:00:31 +0800
Dongdong Liu wrote:
+ rss_key = rte_malloc(NULL,
+ dev_info.hash_key_size * sizeof(uint8_t), 0);
+ if (rss_key == NULL)
+ return
Hi Ferruh
On 2023/6/3 4:22, Ferruh Yigit wrote:
On 3/15/2023 11:00 AM, Dongdong Liu wrote:
From: Jie Hai
show RSS types details and adjust RSS info display format as following:
- RSS info
-- hf:
ipv4 ipv4-frag ipv4-other ipv6 ipv6-frag ipv6-other
/hns3: support device reset")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index
Deprecation notice to add "func" field to ``rte_eth_rss_conf``
structure for RSS hash algorithm.
Signed-off-by: Dongdong Liu
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides
Adding support for HiSilicon hip10 platform.
Signed-off-by: Dongdong Liu
---
config/arm/arm64_hip10_linux_gcc | 16
config/arm/meson.build | 19 +++
2 files changed, 35 insertions(+)
create mode 100644 config/arm/arm64_hip10_linux_gcc
diff --git a
l uses 'strict' mode as
the default mode. Please select 'nostrict' mode if you request all same
ethertype packets with and without VLAN to a specified queue.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
doc/guides/nics/hns3.rst | 20 +
From: Huisong Li
This patch delete some duplicate macro definitions.
Fixes: a4c7152d0581 ("net/hns3: extract common code to its own file")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.h | 7 ---
1 file changed, 7
This patchset contains two patches:
The first one is to delete duplicate macro definition for hns3.
The second one is to add FDIR VLAN match mode runtime config for hns3.
Huisong Li (2):
net/hns3: delete duplicate macro definition
net/hns3: add FDIR VLAN match mode runtime config
doc/guides/
This patchset contains two patches:
The first one is to delete duplicate macro definition for hns3.
The second one is to add FDIR VLAN match mode runtime config for hns3
v1->v2:
- Fix the hns3.rst doc build warining.
Huisong Li (2):
net/hns3: delete duplicate macro definition
net/hns3: add FD
l uses 'strict' mode as
the default mode. Please select 'nostrict' mode if you request all same
ethertype packets with and without VLAN to a specified queue.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
doc/guides/nics/hns3.rst | 26 +++
From: Huisong Li
This patch delete some duplicate macro definitions.
Fixes: a4c7152d0581 ("net/hns3: extract common code to its own file")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.h | 7 ---
1 file changed, 7
Hi Thomas
Many thanks for your review.
On 2023/6/28 7:12, Thomas Monjalon wrote:
27/06/2023 09:11, Dongdong Liu:
+- ``fdir_vlan_match_mode`` (default `strict`)
+
+ Used to select VLAN match mode. This runtime config can be `strict`
+ or `nostrict` and is only valid for PF drives.
drives
From: Huisong Li
This patch delete some duplicate macro definitions.
Fixes: a4c7152d0581 ("net/hns3: extract common code to its own file")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_ethdev.h | 7 ---
1 file changed, 7
This patchset contains two patches:
The first one is to delete duplicate macro definition for hns3.
The second one is to add FDIR VLAN match mode runtime config for hns3
v2->v3:
- Use double backquotes for values of the devargs and fix spelling errors.
v1->v2:
- Fix the hns3.rst doc build warini
l uses 'strict' mode as
the default mode. Please select 'nostrict' mode if you request all same
ethertype packets with and without VLAN to a specified queue.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
doc/guides/nics/hns3.rst | 26 +++
On 2023/6/29 19:08, Ferruh Yigit wrote:
On 6/28/2023 3:59 AM, Dongdong Liu wrote:
Hi Thomas
Many thanks for your review.
On 2023/6/28 7:12, Thomas Monjalon wrote:
27/06/2023 09:11, Dongdong Liu:
+- ``fdir_vlan_match_mode`` (default `strict`)
+
+ Used to select VLAN match mode. This
Hi Ferruh
On 2023/6/29 23:52, Ferruh Yigit wrote:
On 6/29/2023 2:21 PM, Dongdong Liu wrote:
diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst
index 5373ec5a8f..001ccbdb62 100644
--- a/doc/guides/nics/hns3.rst
+++ b/doc/guides/nics/hns3.rst
@@ -140,6 +140,32 @@ Runtime
This patchset is to fix some errors in hns3 guide doc.
Dongdong Liu (3):
doc: fix invalid link in hns3 guide
doc: fix wrong syntax in hns3 guide
doc: fix wrong number of spaces in hns3 guide
doc/guides/nics/hns3.rst | 33 +++--
1 file changed, 19 insertions
The LSC support of Vf driver depends on a patch link in kernel pf driver.
But current the link is invalid, so fixes it.
Add a blank line after the link.
Fixes: 80006b598730 ("doc: add link status event requirements in hns3 guide")
Cc: sta...@dpdk.org
Signed-off-by: Dongdong Liu
---
'::' doesn't provide pre-formatted text without an empty line after it,
so fixes it.
Fixes: cdf6a5fbc540 ("doc: add runtime option examples to hns3 guide")
Cc: sta...@dpdk.org
Signed-off-by: Dongdong Liu
---
doc/guides/nics/hns3.rst | 3 +++
1 file changed, 3 insert
The current description of 'mbx_time_limit_ms' has three spaces
at the beginning. Use two spaces to keep the same style with other
places and add a blank line after '::'.
Fixes: 2fc3e696a7f1 ("net/hns3: add runtime config for mailbox limit time")
Cc: sta...@dpdk.or
%. Actually, this operation is also redundant,
because these disabled TC will never be used. So this patch sets
the weight of all TC based on user's configuration.
Fixes: 62e3ccc2b94c ("net/hns3: support flow control")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-b
This patchset is to do some performance optimizations for hns3.
Huisong Li (5):
net/hns3: fix incorrect index to look up table in NEON Rx
net/hns3: fix the order of NEON Rx code
net/hns3: optimize free mbuf code for SVE Tx
net/hns3: optimize the rearm mbuf function for SVE Rx
net/hns3: o
truth.
Fixes: a3d4f4d291d7 ("net/hns3: support NEON Rx")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rxtx_vec_neon.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hns3/hns3_rxtx_vec_neon.h
VE
Tx performance.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rxtx_vec_sve.c | 42 +---
1 file changed, 1 insertion(+), 41 deletions(-)
diff --git a/drivers/net/hns3/hns3_rxtx_vec_sve.c
b/drivers/net/hns3/hns3_rxtx_vec_sve.c
index 8bfc3
From: Huisong Li
Use hns3_rxq_rearm_mbuf() to replace the hns3_rxq_rearm_mbuf_sve()
to optimize the performance of SVE Rx.
On the rxonly forwarding mode, the performance of a single queue
for 64B packet is improved by ~15%.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers
From: Huisong Li
This patch reorders the order of the NEON Rx for better maintenance
and easier understanding.
Fixes: a3d4f4d291d7 ("net/hns3: support NEON Rx")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rxtx_vec_n
tor.
On the rxonly forwarding mode, the performance of a single queue
or 64B packet is improved by ~40%.
Signed-off-by: Huisong Li
Signed-off-by: Dongdong Liu
---
drivers/net/hns3/hns3_rxtx_vec_sve.c | 138 ++-
1 file changed, 28 insertions(+), 110 deletions(-)
diff --g
Hi, Ferruh
On 2023/7/11 18:48, Ferruh Yigit wrote:
On 7/11/2023 11:24 AM, Dongdong Liu wrote:
This patchset is to do some performance optimizations for hns3.
Huisong Li (5):
net/hns3: fix incorrect index to look up table in NEON Rx
net/hns3: fix the order of NEON Rx code
net/hns3
Hi Pattan
Many thanks for you review.
On 2022/9/19 17:23, Pattan, Reshma wrote:
-Original Message-
From: Dongdong Liu
Subject: [PATCH 1/6] app/procinfo: add version dump
If this is V2 version of patch, please add V2 in the patch heading.
And can you mark the previous version of
This patchset is to add some extended features for dpdk-proc-info.
v1->v2: Fix some comments from Reshma.
Dongdong Liu (2):
app/procinfo: fix some wrong doxygen syntax
doc: add some extended features in procinfo guide
Jie Hai (1):
app/proc-info: add dump of Rx/Tx burst mode
Min
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
---
app/proc-info/main.c | 58 +
From: "Min Hu (Connor)"
This patch add support for dump dpdk version and ethdev firmware version.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-version
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
---
app/proc-info/m
: Dongdong Liu
---
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 bc93af51df..9f708421c5 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -838,6 +838,7 @@ show_port(void)
for (j
From: "Min Hu (Connor)"
This patch add support for module info dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-info
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
---
app/proc-info/m
This code is to do cleanup for the wrong doxygen syntax comments.
Signed-off-by: Dongdong Liu
---
app/proc-info/main.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index 9f708421c5
Add the below extended features in procinfo guide.
--show-port-private
--show-version
--show-rss-reta
--show-module-info
Signed-off-by: Dongdong Liu
---
doc/guides/tools/proc_info.rst | 12
1 file changed, 12 insertions(+)
diff --git a/doc/guides/tools/proc_info.rst b/doc/guides
Hi Stephen
Many thanks for your review.
On 2022/9/20 23:21, Stephen Hemminger wrote:
On Tue, 20 Sep 2022 18:51:42 +0800
Dongdong Liu wrote:
From: "Min Hu (Connor)"
This patch add support for dump dpdk version and ethdev firmware version.
The command is like:
dpdk-proc-info -a xx
On 2022/9/20 23:24, Stephen Hemminger wrote:
On Tue, 20 Sep 2022 18:51:43 +0800
Dongdong Liu wrote:
+ ret = rte_eth_dev_info_get(id, &dev_info);
+ if (ret < 0) {
+ printf("Error getting device info, ret = %d\n", ret);
Pr
On 2022/9/20 23:22, Stephen Hemminger wrote:
On Tue, 20 Sep 2022 18:51:44 +0800
Dongdong Liu wrote:
+
+ RTE_ETH_FOREACH_DEV(i) {
+ /* Skip if port is not in mask */
+ if ((enabled_port_mask & (1ul << i)) == 0)
+
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
---
app/proc-info/main.c | 19 ++-
1 file changed, 18 insert
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
---
app/proc-info/main.c | 35 +++
1 file changed, 35 insertions
From: "Min Hu (Connor)"
This patch add support for module info dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-prefix=xxx -- --show-module-info
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
---
app/proc-info/m
x some comments from Reshma.
Dongdong Liu (3):
app/procinfo: add firmware version dump
app/procinfo: fix some wrong doxygen syntax
doc: add some extended features in procinfo guide
Jie Hai (1):
app/procinfo: add dump of Rx/Tx burst mode
Min Hu (Connor) (3):
app/procinfo: add dpdk version dump
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
---
app/proc-info/main.c | 57 +
This code is to do cleanup for the wrong doxygen syntax comments.
Signed-off-by: Dongdong Liu
---
app/proc-info/main.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index e1a153c934
: Dongdong Liu
---
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 0e78f8b75f..e1a153c934 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -845,6 +845,7 @@ show_port(void)
for (j
Add the below extended features in procinfo guide.
--show-port-private
--version
--firmware-version
--show-rss-reta
--show-module-info
Signed-off-by: Dongdong Liu
---
doc/guides/tools/proc_info.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/guides/tools
Support ethdev Rx/Tx descriptor dump by using procinfo tool.
Note:
'[PATCH v4 1/3] net/hns3: support Rx/Tx bd dump' depend on [1] applied
first. Hope patchset [1] can be applied soon.
[1]: [PATCH RESEND 00/13] some bugfixes and clean code for hns3
https://patches.dpdk.org/project/dpdk/list/?serie
From: "Min Hu (Connor)"
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
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/main.c b/app/proc-info/main.c
index 1bfba5f60d..3907af3213 100644
--- a/app/proc-info/main.c
+++ b/app/proc-i
he new API is introduced.
Signed-off-by: Min Hu (Connor)
Signed-off-by: Dongdong Liu
Acked-by: Ray Kinsella
---
doc/guides/rel_notes/release_22_11.rst | 7
lib/ethdev/ethdev_driver.h | 46 +++
lib/ethdev/rte_ethdev.c| 52 +
Hi Reshma
Many thanks for your review.
On 2022/9/23 17:22, Pattan, Reshma wrote:
-Original Message-
From: Dongdong Liu
Subject: [PATCH v3 2/7] app/procinfo: add firmware version dump
Add support for dump ethdev firmware version.
The command is like:
dpdk-proc-info -a :xx:xx.x
On 2022/9/23 18:02, Pattan, Reshma wrote:
-Original Message-
From: Dongdong Liu
Subject: [PATCH v3 5/7] app/procinfo: add dump of Rx/Tx burst mode
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
+ if (rte_eth_rx_burst_mode_get(i, j, &mode)
On 2022/9/23 17:51, Pattan, Reshma wrote:
-Original Message-
From: Dongdong Liu
Subject: [PATCH v3 4/7] app/procinfo: add module info dump
From: "Min Hu (Connor)"
This patch add support for module info dump.
The command is like:
dpdk-proc-info -a :xx:xx.x --file-
On 2022/9/23 15:53, Pattan, Reshma wrote:
-Original Message-
From: Dongdong Liu
Sent: Wednesday, September 21, 2022 3:27 PM
To: dev@dpdk.org; Pattan, Reshma ;
tho...@monjalon.net; ferruh.yi...@xilinx.com;
andrew.rybche...@oktetlabs.ru
Cc: Dongdong Liu ; Maryam Tahhan
Subject
3: Fix some comments from Stephen.
- Use --version option for DPDK version.
- add --firmware-version option to show firmware.
- Use errors on stderr, not stdout.
- Delete some unnecessary code.
v1->v2: Fix some comments from Reshma.
Dongdong Liu (3):
app/procinfo: add firmware version d
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
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
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
---
app/proc-info/m
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
: 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 0e932f0245..be0e0c65f9 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -846,6 +846,7 @@ show_port(void
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
---
app/proc-info/main.c | 40
Add the below extended features in procinfo guide.
--show-port-private
--version
--firmware-version
--show-rss-reta
--show-module-eeprom
Signed-off-by: Dongdong Liu
Acked-by: Reshma Pattan
---
doc/guides/tools/proc_info.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a
101 - 200 of 264 matches
Mail list logo