Use C11 atomic builtins with explicit ordering instead of
rte_atomic ops with the resetting member of hns3_reset_data
structure.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c | 5 +++--
drivers/net/hns3/hns3_ethdev.c| 8
drivers/net/hns3/hns3_ethdev.h| 2
is also added to avoid a parsing error.
Fixes: 936eda25e8da ("net/hns3: support dump register")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_regs.c | 70 +---
1 file changed, 40 inserti
("net/hns3: support VF")
Fixes: 958edf6627d5 ("net/hns3: fix VF link status")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev_vf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/hns3
clearing hardware resource
Lijun Ou (2):
net/hns3: use C11 atomics builtins for resetting
net/hns3: remove unused assignment for RSS key
drivers/net/hns3/hns3_cmd.h |2 +-
drivers/net/hns3/hns3_dcb.c | 221 ---
drivers/net/hns3/hns3_dcb.h |3 +
drivers/net/hns3
From: Hongbo Zheng
The original command opcode '0x700A' may cause firmware error,
so '0x700A' is deserted, now use '0x700B' to replace it.
Fixes: 223d9eceaeee ("net/hns3: clear residual hardware configurations on init")
Cc: sta...@dpdk.org
Signed-off-b
From: Chengwen Feng
This patch support RTE TM ops function for PF, which could
used to:
1. config port's peak rate.
2. config TC's peak rate.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c| 216 ---
drivers/net/hns3/hns3_dcb.h
Because Wei Hu has changed to a new job and the
email address(xavier.hu...@huawei.com) has
expired, we remove him from the hns3 maintainer
list.
All patches signed-off-by Wei Hu will be copied
to Lijun Ou.
Signed-off-by: Lijun Ou
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git
Here fixes the Kunpeng introduction address link with hns3.rst
Fixes: 565829db8b8f ("net/hns3: add build and doc infrastructure")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
doc/guides/nics/hns3.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides
From: "Min Hu (Connor)"
Document FEC in NIC features, add information about FEC and add
implementation related support.
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
doc/guides/nics/features.rst | 14 ++
doc/guides/nic
Here series add some updates for hns3 rst and TM feature
note for hns3 as well as FEC feature notes.
Lijun Ou (2):
doc: update release notes for hns3
doc: fix hns3 rst
Min Hu (Connor) (1):
doc: add FEC in NIC features
doc/guides/nics/features.rst | 14 ++
doc/guides
Add TM(Traffic Management) feature with hns3 in release notes.
Signed-off-by: Lijun Ou
---
doc/guides/rel_notes/release_21_02.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_02.rst
b/doc/guides/rel_notes/release_21_02.rst
index ae36b6a..e51277d
-procs=2 --proc-id=1
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
app/test-pmd/cmdline.c| 6 ++-
app/test-pmd/config.c | 9 +++-
app/test-pmd/parameters.c | 9
app/test-pmd/testpmd.c| 135 +-
app/test-pmd/testpmd.h
Here adds a check for the return value when calling
rte_pci_wirte_config.
Coverity issue: 363714
Fixes: cea37e513329 ("net/hns3: fix FLR reset")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev_vf.c | 10 +++---
1 file changed, 7 insertions(+), 3
From: Hongbo Zheng
In current driver print log function, some print format
symbols does not match with the actual variable types.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c | 10 +-
drivers/net/hns3/hns3_ethdev.c| 32
patch fix it by add a queue enabling status restore
function to the reset handler.
Fixes: fa29fe45a7b4 ("net/hns3: support queue start and stop")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 5 +
driver
Lijun Ou (1):
net/hns3: check PCI config space writes
drivers/net/hns3/hns3_cmd.c | 1 -
drivers/net/hns3/hns3_dcb.c | 10 +-
drivers/net/hns3/hns3_ethdev.c| 39 +-
drivers/net/hns3/hns3_ethdev.h| 1 -
drivers/net/hns3/hns3_ethdev_vf.c | 33
From: Hongbo Zheng
According to bit operator reliability style, variables in
the right expression participating int bit operation
cannot be of unsigned type.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev_vf.c | 2 +-
drivers/net/hns3
From: Hongbo Zheng
Here adjusts some code style for making the lines more
compact and removes some static check tool warnings.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c| 1 -
drivers/net/hns3/hns3_ethdev.c | 2 -
drivers/net/hns3
pes for bit operator
net/hns3: adjust some code style
Lijun Ou (1):
net/hns3: check PCI config space writes
drivers/net/hns3/hns3_cmd.c | 1 -
drivers/net/hns3/hns3_dcb.c | 10 +-
drivers/net/hns3/hns3_ethdev.c| 43 +-
drivers/net/hns3/hns3_ethdev.h|
From: Hongbo Zheng
According to bit operator reliability style, variables in
the right expression participating int bit operation
cannot be of unsigned type.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev_vf.c | 2 +-
drivers/net/hns3
From: Hongbo Zheng
In current driver print log function, some print format
symbols does not match with the actual variable types.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c | 10 +-
drivers/net/hns3/hns3_ethdev.c| 32
patch fix it by add a queue enabling status restore
function to the reset handler.
Fixes: fa29fe45a7b4 ("net/hns3: support queue start and stop")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 5 +
driver
From: Hongbo Zheng
Here adjusts some code style for making the lines more
compact and removes some static check tool warnings.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
V1->V2:
- fix checkpatch warning
---
drivers/net/hns3/hns3_cmd.c| 1 -
drivers/net/hns3/hns3_ethde
Here adds a check for the return value when calling
rte_pci_write_config.
Coverity issue: 363714
Fixes: cea37e513329 ("net/hns3: fix FLR reset")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V1->V2:
- rte_pci_wirte_config -> rte_pci_write_config
---
drivers/net/hns3/hns3_
Here adds a check for the return value when calling
rte_pci_write_config.
Coverity issue: 363714
Fixes: cea37e513329 ("net/hns3: fix FLR reset")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V2->V3:
- drop the un-related change
V1->V2:
- no fix
---
drivers/net/hns3/hns3
From: Hongbo Zheng
According to bit operator reliability style, variables in
the right expression participating int bit operation
must be an unsigned type.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
V2->V3:
- fix commit log for correct descriptions
- fix unnecessary varia
for initial struct
Lijun Ou (2):
net/hns3: check PCI config space writes
net/hns3: remove some unnecessary blank lines
drivers/net/hns3/hns3_cmd.c | 1 -
drivers/net/hns3/hns3_dcb.c | 10 +-
drivers/net/hns3/hns3_ethdev.c| 43 +-
drivers/net/hns3/hns3_ethdev_vf.
From: Hongbo Zheng
According to the rule of the used static check tool,
each member is initialized on a separate lines when
struct and union members are initialized, here is
tempting to adjust some code lines in order to remove
the warning.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
patch fix it by add a queue enabling state restore
function to the reset handler.
Fixes: fa29fe45a7b4 ("net/hns3: support queue start and stop")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
V2->V3:
- rewrite commit log
V1->V2:
- no fix
---
According to the rule of the static check tools
that arrange blank lines properly to keep the
code compact, here remove some unncessary blank
line to fix the above rule warning.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c| 1 -
drivers/net/hns3/hns3_ethdev.c | 6
From: Hongbo Zheng
In current driver print log function, some print format
symbols does not match with the actual variable types.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c | 10 +-
drivers/net/hns3/hns3_ethdev.c| 32
chang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_rxtx.c | 35 +++
1 file changed, 27 insertions(+), 8 deletions(-)
diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c
index c76e635..88d3bab 100644
--- a/drivers/net/hns3/hns3_rxtx.c
+++
not be updated.
And then accessing the released queue resource in
"hns3_init_tx_ring_tc" will trigger a segment fault.
Fixes: 62e3ccc2b94c ("net/hns3: support flow control")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.
Here series are fixes for hns3 PMD driver.
Chengchang Tang (1):
net/hns3: fix unused queues with not disabled
Huisong Li (1):
net/hns3: fix segment fault with the multi-TC
Lijun Ou (1):
net/hns3: adjust printing MAC addresses in log
Min Hu (Conor) (1):
net/hns3: fix FEC state query
Here the printing of MAC addresses is adjusted. After the
modification, only some bytes of the MAC address are
displayed.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 53 +++
drivers/net/hns3/hns3_ethdev.h
dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c | 38 --
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index d6d3f03..faa7b0a
Since the hns3 NIC hardware features are not counted
and it is supported in fact. Besides, the flow director
is not supported and need to delete it.
Signed-off-by: Lijun Ou
---
doc/guides/nics/features/hns3.ini | 8
doc/guides/nics/hns3.rst | 3 ++-
2 files changed, 10
636698316 ("net/hns3: support Rx/Tx and related operations")
Fixes: 936eda25e8da ("net/hns3: support dump register")
Fixes: 53b9f2b9a560 ("doc: update feature list in hns3 guide")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V1->V2:
- delete the wrong counte
t FEC")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
V1->V2:
- use the related macro instead of magic number
- fix rte_eth_device access way.
---
drivers/net/hns3/hns3_ethdev.c | 40 ++--
drivers/net/hns3/hns3_ethdev.h |
Here series are fixes for hns3 PMD driver.
Change from V1:
1. fix the comments given by Ferruh Yigit for 4/4
Lijun Ou (1):
net/hns3: adjust printing MAC addresses in log
Min Hu (Connor) (1):
net/hns3: fix FEC state query
drivers/net/hns3/hns3_ethdev.c| 93
Here the printing of MAC addresses is adjusted. After the
modification, only some bytes of the MAC address are
displayed.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 53 +++
drivers/net/hns3/hns3_ethdev.h
rom one in primary process.
This patch saved eth_dev in dev_private only in
primary process, as dev_private is shared by primary
process and secondary process.
Fixes: 8929efbc1c46 ("net/hns3: fix FEC state query")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun
The hns3_cmd_desc has memset when setup and the memset
for req is unnecessary.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_rss.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/hns3/hns3_rss.c b/drivers/net/hns3/hns3_rss.c
index e2f0468..b5df374 100644
--- a/drivers
Here series fix some hns3 PMD bugs.
Huisong Li (3):
net/hns3: fix xstats statistics with id
net/hns3: fix abnormal return value in xstats
net/hns3: fix Rx/Tx abnormal errors stats
Lijun Ou (2):
net/hns3: fix incorrect interception with filter director
net/hns3: remove unnecessary
1ab3e93361 ("net/hns3: add simple Rx path")
Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_stats.c | 59 ---
1 file
ned-off-by: Lijun Ou
---
drivers/net/hns3/hns3_flow.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index ee6ec15..f303df4 100644
--- a/drivers/net/hns3/hns3_flow.c
+++ b/drivers/net/hns3/hns3_flow.c
@@ -1208,
ng Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_stats.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hns3/hns3_stats.c b/drivers/net/hns3/hns3_stats.c
index b43143b..94d34bc 100644
--- a/drivers/net/hns3/hns3_stats.c
+++ b/drivers/net/hns3/hns3_stat
.@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_stats.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/hns3/hns3_stats.c b/drivers/net/hns3/hns3_stats.c
index 91168ac..b43143b 100644
--- a/drivers/net/hns3/hns3_stats.c
+++ b/drivers/net/hns3/hn
: 1265b5372d9d ("net/hns3: add some definitions for data structure and
macro")
Fixes: 521ab3e93361 ("net/hns3: add simple Rx path")
Fixes: a3d4f4d291d7 ("net/hns3: support NEON Rx")
Fixes: 952ebacce4f2 ("net/hns3: support SVE Rx")
Cc: sta...@dpd
ration in flow API")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
Reviewed-by: Phil Yang
---
V4->V5:
-rewrite the commit log
-add reviewed-by
V3->V4:
-fix checkpatch warning and shorter commit content.
V2->V3:
-fix checkpatch warning.
V1->V2:
-fix the commit.
---
app/test-pmd
ration in flow API")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
Reviewed-by: Phil Yang
---
V4->V5:
-rewrite the commit log
-add reviewed-by
V3->V4:
-fix checkpatch warning and shorter commit content.
V2->V3:
-fix checkpatch warning.
V1->V2:
-fix the commit.
---
app/test-pmd
I am a new hns3 pmd developer and reviewer for upstreaming hns3
pmd driver. So I want to help out here as well.
Signed-off-by: Lijun Ou
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f7ecb53..2bd2d63 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
For Kunpeng930 NIC hardware, it supports to use dst/src port to
RSS hash for ipv6-sctp packet type. However, the Kunpeng920 NIC
hardware is different with it. The Kunpeng920 NIC only supports
dst/src ip to RSS hash for ipv6-sctp packet type.
Signed-off-by: Lijun Ou
---
drivers/net/hns3
y: Ophir Munk
Signed-off-by: Ferruh Yigit
Signed-off-by: Lijun Ou
---
app/test-pmd/cmdline_flow.c | 19 ++-
lib/librte_ethdev/rte_flow.c | 2 +-
2 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index cd35
he step 3 with RSS key and the step 1 RSS key
is not the same. The patch[1] to solve the above problems.
Lijun Ou (1):
app/testpmd: fix the default RSS key configuration
app/test-pmd/cmdline_flow.c | 8
1 file changed, 8 insertions(+)
--
2.7.4
on in flow API")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V3->V4:
-fix checkpatch warning and shorter commit content.
V2->V3:
-fix checkpatch warning.
V1->V2:
-fix the commit.
---
app/test-pmd/cmdline_flow.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test
atten RSS configuration in flow API")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V1->V2:
fix the commit.
---
app/test-pmd/cmdline_flow.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 6263d30..e6
uot;ethdev: flatten RSS configuration in flow API")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V2->V3:
-fix checkpatch warning.
V1->V2:
-fix the commit.
---
app/test-pmd/cmdline_flow.c | 8
1 file changed, 8 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmd
201 - 258 of 258 matches
Mail list logo