er add queue_state field, the 'struct rte_eth_rxq_info' size
remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
V2->V3:
- rewrite the commit log and delete the part Note
- r
er add queue_state field, the 'struct rte_eth_rxq_info' size
remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
devtools/libabigail.abignore | 12 +++-
doc/guid
From: Chengchang Tang
Add support for Hisilicon kunpeng920 cross target.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
Acked-by: Jerin Jacob
Reviewed-by: Ruifeng Wang
---
config/arm/arm64_kunpeng920_linux_gcc | 16
1 file changed, 16 insertions(+)
create mode
From: Chengchang Tang
Add support for Hisilicon kunpeng930 cross target.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
Acked-by: Jerin Jacob
Reviewed-by: Ruifeng Wang
---
config/arm/arm64_kunpeng930_linux_gcc | 16
1 file changed, 16 insertions(+)
create mode
This series add meson build for Hisilicon kunpeng CPU.
v3->v4:
1. rebase the work based on the merged patch series
Arm build options rework
v2->v3:
1. merge [1/4] and [2/4] patch into one
2. rewrite some titles
3. rewrite commit logs for [2/3] [3/3]
4. add Acked-by and Reviewed-by
v1->v2:
1.
From: Chengchang Tang
Here adds configs for Kunpeng server.
Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
Acked-by: Jerin Jacob
Reviewed-by: Ruifeng Wang
---
config/arm/meson.
er add queue_state field, the 'struct rte_eth_rxq_info' size
remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
Acked-by: Konstantin Ananyev
---
V4->V5:
- Add acked-by
- add a note
er add queue_state field, the 'struct rte_eth_rxq_info' size
remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
Acked-by: Konstantin Ananyev
---
V5->V6:
- add updated update libab
er add queue_state field, the 'struct rte_eth_rxq_info' size
remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
Acked-by: Konstantin Ananyev
---
V6->V7:
- reword the note title
: Chengwen Feng
Signed-off-by: Lijun Ou
---
V3->V4:
- revert the V3 scheme.
V2->V3:
- The command implementation is changed so that the queuestate does
not depend on the command execution.
V1->V2:
- use Tx instead of TX
- add note in doc
---
app/test-pmd/cmdline.c
From: Chengwen Feng
This patch supports cleanup txq mbufs command:
port cleanup (port_id) txq (queue_id) (free_cnt)
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
V4->V5:
- rewrite patch title
- define the new cmd.
- Fix the comments given by Ferruh.yigit
V3->V4:
- revert
From: Chengwen Feng
This patch supports cleanup txq mbufs command:
port cleanup (port_id) txq (queue_id) (free_cnt)
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
V5->V6:
- use Tx/Rx instead of RX/TX
- update 'cmd_help_long_parsed'
V4->V5:
- rewrite patch title
- de
: Chengwen Feng
Signed-off-by: Lijun Ou
---
V2->V3:
- The command implementation is changed so that the queuestate does
not depend on the command execution.
V1->V2:
- use Tx instead of TX
- add note in doc
---
app/test-pmd/cmdline.c | 85 +
doc/
):
net/hns3: encapsulate dfx stats in Rx/Tx datapatch
net/hns3: move queue stats to xstats
Lijun Ou (9):
net/hns3: use array instead of switch-case
net/hns3: move judgment conditions to separated functions
net/hns3: extract common judgments for all FDIR type
net/hns3: refactor reset event
From: Chengchang Tang
For Kunpeng930, the NIC engine support 1280 tqps being taken over by
a PF. In this case, a maximum of 1281 interrupt resources are also
supported in this PF. To support the maximum number of queues, several
patches are made. But the interrupt related modification are missing
Rename some function about RSS implement functions
in order to make the functions naming style more
reasonable and consistency.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 2 +-
drivers/net/hns3/hns3_ethdev_vf.c | 2 +-
drivers/net/hns3/hns3_flow.c | 2 +-
drivers
When parse flow director with all types, it needs to judge the spec
of item and mask of item for all packet types. The judgement is the
same for all types. Therefore, we move it into the conccentrated
location.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_flow.c | 84
Here encapsulate the process code of the imp reset report and
global reset report into function in order to reduce the
complexity of the hns3_check_event_cause function.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c | 69 +++---
1 file changed
Here uses %d as printing output for enumeration member.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index e9d0a0b..3e387ac 100644
--- a/drivers/net/hns3
Remove unnecessary parentheses as well as keep a reasonable
blank line.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_flow.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index f2bff1e..e9d0a0b 100644
--- a
the secondary process is applied a memory for the process_private
during initialization. Therefore, the memory needs to be released
when exiting.
Fixes: c203571b3602 ("net/hns3: register and add log interface")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns
Fixe some error comments and remove some meaningless comments.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_flow.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index 8a5179d..f2bff1e
-off-by: Lijun Ou
---
drivers/net/hns3/hns3_flow.c | 69 ++--
1 file changed, 48 insertions(+), 21 deletions(-)
diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c
index f303df4..889fa2f 100644
--- a/drivers/net/hns3/hns3_flow.c
+++ b
From: Chengchang Tang
This patch reconstruct the Rx interrupt map to reduce the cyclic
complexity and improve readability and maintainability.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 59 +++
drivers
Heres uses errno array instead of switch-case for refactor
the hns3_cmd_convert_err_code function.
Besides, we add a type for ROH(RDMA Over HCCS) check
cmdq return error in Kunpeng930 NIC hardware.
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 54
From: Chengwen Feng
This patch support LSC(Link Status Change) event report.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 52 +++
drivers/net/hns3/hns3_ethdev.h| 4 ++-
drivers/net/hns3/hns3_ethdev_vf.c
responding item in rte_eth_stats.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 2 -
drivers/net/hns3/hns3_ethdev_vf.c | 2 -
drivers/net/hns3/hns3_rxtx.c | 2 +
drivers/net/hns3/hns3_rxtx.h | 13 ++
drivers/net/hns3/hns3_stats.c
maintainability to encapsulate error stats
and dfx stats.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_rxtx.c | 30 ++---
drivers/net/hns3/hns3_rxtx.h | 134 ++-
drivers/net/hns3/hns3_rxtx_vec_neon.h | 2 +-
drivers/net/hns3
Here series add some updates for hns3 rst and TM feature
note for hns3 as well as FEC feature notes.
v2:
1. fix a meson build warning for patch[4/5]
2. add a new patch for update hns3.ini and cxgbe.ini
3. add Fixes for all patches.
Lijun Ou (4):
net/hns3: add FEC feature for hns3.ini
net
Add TM(Traffic Management) feature with hns3 in release notes.
It includes:
1. configure port's peak rate with PF
2. configure TC's peak rate with PF
Fixes: c09c7847d892 ("net/hns3: support traffic management")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
doc/guides/rel
The cxgbe PMD add FEC features implementation in 20.11.
Therefore, need to update the cxgbe.ini for supporting.
Fixes: 62aafe035896 ("net/cxgbe: support configuring link FEC")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
doc/guides/nics/features/cxgbe.ini | 1 +
1 file changed, 1
The hns3 PMD add FEC features implementation in 20.11.
Therefore, need to update the hns3.ini for supporting.
Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
doc/guides/nics/features/hns3.ini | 1 +
1 file changed, 1 insertion(+)
diff -
From: "Min Hu (Connor)"
Document FEC in NIC features, add information about FEC and add
implementation related support.
Fixes: b7ccfb09da95 ("ethdev: introduce FEC API")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
V1->V2:
- Add Fixes
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
all patches.
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/nics/features/cxgbe.ini | 1 +
doc/guides/nics/features/default.ini | 1 +
doc
Add TM(Traffic Management) feature with hns3 in release notes.
It includes:
1. configure port's peak rate with PF
2. configure TC's peak rate with PF
Fixes: c09c7847d892 ("net/hns3: support traffic management")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
V2->V3:
-
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
port configuring link FEC")
Cc: sta...@dpdk.org
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
V2->V3:
- merge patch 2 and patch 3 into patch 1 according to Thomas Monjalon's
advice.
- fix format errors in hns3.ini and cxgbe.ini
V1->V2:
- add Fixes for indicating that t
for max pkt length of Rx
Lijun Ou (1):
net/hns3: fix RSS indirection table size
Min Hu (Connor) (1):
net/hns3: add enhance stats function
doc/guides/nics/features/hns3.ini | 2 +
doc/guides/nics/features/hns3_vf.ini | 1 +
doc/guides/rel_notes/release_21_02.rst | 1 +
drivers
From: Chengwen Feng
This patch add support tx_done_cleanup ops, which could support for
the API rte_eth_tx_done_cleanup to free consumed mbufs on Tx ring.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
Depends-on: series-1 ("update doc for hns3")
---
doc/guides/nic
From: Chengchang Tang
This patch makes more registers dumped in the dump_reg API to help
loacte the fault.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h | 13
drivers/net/hns3/hns3_regs.c | 171 ++-
2
ats was in implemented in this patch.
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h | 7 ++
drivers/net/hns3/hns3_ethdev.c| 7 ++
drivers/net/hns3/hns3_ethdev.h| 1 +
drivers/net/hns3/hns3_rxtx.c | 24 ++
driver
From: Chengchang Tang
This patch add support for dumping module EEPROM.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
Depends-on: series-1 ("update doc for hns3")
---
doc/guides/nics/features/hns3.ini | 1 +
doc/guides/rel_notes/release_21_02.rst | 1 +
d
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_tm.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c
index d1639d4..bcae57a 100644
--- a/drivers/net/hns3/hns3_tm.c
+++ b/drivers/net/hns3/hns3_tm.c
@@
ned-off-by: Lijun Ou
---
drivers/net/hns3/hns3_stats.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hns3/hns3_stats.c b/drivers/net/hns3/hns3_stats.c
index e58ebea..58cce35 100644
--- a/drivers/net/hns3/hns3_stats.c
+++ b/drivers/net/hns3/hn
will all fail.
This patch disable the command only after the MBX message is
successfully.
Fixes: 2790c6464725 ("net/hns3: support device reset")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev_vf.c | 6 --
1 file
From: Chengchang Tang
Replace all the atomic type with C11 atomic builtins in hns3
PMD.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 13 +++--
drivers/net/hns3/hns3_ethdev.c| 21 -
drivers/net/hns3
From: Chengwen Feng
The Kunpeng920 and Kunpeng930 don't support parse MPLS packet, so
remove the type from supported flow items.
Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/h
supports the feature is not loaded.
Fixes: 109e4dd1bd7a ("net/hns3: get link state change through mailbox")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h| 10 ++
drivers/net/hns3/hns3_ethdev.c | 31
the driver should not use the fixed value as the validity check of
RSS indirection table size with HW supported. As a result, it will
cause misjudgment when the RSS reta size with HW supported have
changed.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by
From: Huisong Li
When rate of port changes, the rate limit of the port needs to
be updated. So it is necessary to encapsulate an interface that
configures the rate limit based on the rate.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c| 22
existing
basic features for electrical device.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h| 37 +
drivers/net/hns3/hns3_ethdev.c | 115 ++---
drivers/net/hns3/hns3_ethdev.h | 5 ++
3 files changed, 151
that the MTU size is inconsistent with jumbo frame offload.
Fixes: 19a3ca4c99cf ("net/hns3: add start/stop and configure operations")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 19 +--
drivers/
From: Chengwen Feng
After FD rule config success, driver will malloc fdir_fule to hold the
rule info, if malloc fail the FD rule in hardware was not cleanup.
Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by
d-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index bd998f6..13f78f2 100644
--- a/drivers/net/hns3
ng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 14 +-
drivers/net/hns3/hns3_cmd.h | 1 +
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_cmd.c b/drivers/net/hns3/hns3_cmd.c
index 3d6ffc0..32cd56b 100644
--- a/drivers/net/hns3/hns3_c
d-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c
index 221e008..8c57b63 100644
--- a/drivers/net/hns3
: add check for max pkt length of Rx
Lijun Ou (1):
net/hns3: fix RSS indirection table size
drivers/net/hns3/hns3_cmd.c | 36 ++--
drivers/net/hns3/hns3_cmd.h | 18 +-
drivers/net/hns3/hns3_dcb.c | 2 +-
drivers/net/hns3/hns3_ethdev.c| 116
the driver should not use the fixed value as the validity check of
RSS indirection table size with HW supported. As a result, it will
cause misjudgment when the RSS reta size with HW supported have
changed.
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: sta...@dpdk.org
Signed-off-by
supports the feature is not loaded.
Fixes: 109e4dd1bd7a ("net/hns3: get link state change through mailbox")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h| 10 ++
drivers/net/hns3/hns3_ethdev.c | 31
that the MTU size is inconsistent with jumbo frame offload.
Fixes: 19a3ca4c99cf ("net/hns3: add start/stop and configure operations")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c| 19 +--
drivers/
obtained by subtracting the number of
software error packets from the number of HW received packets.
This patch verifies the calculation and returns 0 when overflow
may occur.
Fixes: 8839c5e202f3 ("net/hns3: support device stats")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off
will all fail.
This patch disable the command only after the MBX message is
successfully.
Fixes: 2790c6464725 ("net/hns3: support device reset")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev_vf.c | 6 --
1 file
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_tm.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c
index d1639d4..bcae57a 100644
--- a/drivers/net/hns3/hns3_tm.c
+++ b/drivers/net/hns3/hns3_tm.c
@@
From: Chengwen Feng
The Kunpeng920 and Kunpeng930 don't support parse MPLS packet, so
remove the type from supported flow items.
Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/h
ng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 14 +-
drivers/net/hns3/hns3_cmd.h | 1 +
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/net/hns3/hns3_cmd.c b/drivers/net/hns3/hns3_cmd.c
index 3d6ffc0..32cd56b 100644
--- a/drivers/net/hns3/hns3_c
From: Chengwen Feng
After FD rule config success, driver will malloc fdir_rule to hold the
rule info, if malloc fail the FD rule in hardware was not cleanup.
Fixes: fcba820d9b9e ("net/hns3: support flow director")
Cc: sta...@dpdk.org
Signed-off-by: Chengwen Feng
Signed-off-by
From: Chengchang Tang
Replace all the atomic type with C11 atomic builtins in hns3
PMD.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 13 +++--
drivers/net/hns3/hns3_ethdev.c| 21 -
drivers/net/hns3
ig/arm: isolate generic build")
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
config/arm/arm64_kunpeng930_linux_gcc | 19 +++
config/arm/meson.build | 7 +++
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 1 +
ig/arm: isolate generic build")
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
config/arm/arm64_kunpeng920_linux_gcc | 19 +++
config/arm/meson.build | 20
doc/guides/linux_gsg/cross_build_dpdk_for_ar
This series fix meson build for kunpeng920 and
kunpeng930 boards.
Chengchang Tang (2):
config/arm: fix Hisilicon kunpeng920 SoC build
config/arm: fix Hisilicon kunpeng930 Soc build
config/arm/arm64_kunpeng920_linux_gcc | 19 +++
config/arm/arm64_kunpeng930_linux_gcc
From: Huisong Li
The mbufs of rx queue will be allocated in "hns3_do_start" function.
But these mbufs are not released when "hns3_dev_start" executes
failed.
Fixes: c4ae39b2cfc5 ("net/hns3: fix Rx interrupt after reset")
Cc: sta...@dpdk.org
Signed-off-by: Huiso
From: Huisong Li
All input parameters in the "hns3_dev_xstats_get_by_id" API are used,
so the rte_unused flag of some variables should be deleted.
Fixes: 3213d584b698 ("net/hns3: fix xstats with id and names")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Li
t;net/hns3: add initialization")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c | 24
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3
This series add three features according to the
21.05 roadmap as well as fix some bugs.
Chengchang Tang (4):
net/hns3: support module EEPROM dump
net/hns3: add more registers to dump
net/hns3: fix maximum frame size update after buffer alloc
net/hns3: fix imprecise statistics
Chengwen Fen
From: Huisong Li
When rate of port changes, the rate limit of the port needs to
be updated. So it is necessary to encapsulate an interface that
configures the rate limit based on the rate.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c| 22
directly read from the bar
instead of the firmware, and all the statistics of a queue include HW
and SW are read at a time to reduce inconsistency.
Fixes: 8839c5e202f3 ("net/hns3: support device stats")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
d
existing
basic features for electrical device.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
doc/guides/rel_notes/release_21_05.rst | 1 +
drivers/net/hns3/hns3_cmd.h| 37 +++
drivers/net/hns3/hns3_ethdev.c | 115 +++--
drivers/net
From: "Min Hu (Connor)"
This patch implement Rx imissed stats by querying cmdq.
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h| 7 +++
drivers/net/hns3/hns3_ethdev.c | 7 +++
drivers/net/hns3/hns3_ethdev.h | 1 +
drivers/net/hns3/hn
From: Hongbo Zheng
Enable the interrupt report of MAC when MAC state changes
and log the hardware MAC state value.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h| 3 +++
drivers/net/hns3/hns3_ethdev.c | 57
ned-off-by: Lijun Ou
---
drivers/net/hns3/hns3_rxtx.c | 24
drivers/net/hns3/hns3_rxtx_vec_neon.h | 15 +++
drivers/net/hns3/hns3_rxtx_vec_sve.c | 11 +++
drivers/net/hns3/hns3_stats.c | 22 ++
4 files changed, 68
From: Chengwen Feng
This patch add support tx_done_cleanup ops, which could support for
the API rte_eth_tx_done_cleanup to free consumed mbufs on Tx ring.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
doc/guides/nics/features/hns3.ini | 1 +
doc/guides/nics/features
From: Chengchang Tang
This patch makes more registers dumped in the dump_reg API to help
loacte the fault.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h | 13
drivers/net/hns3/hns3_regs.c | 171 ++-
2
orted.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 8 +-
drivers/net/hns3/hns3_cmd.h | 5 +
drivers/net/hns3/hns3_ethdev.c| 2 +
drivers/net/hns3/hns3_ethdev.h| 16 +++
drivers/net/hns3/hns3_ethdev_vf.c | 2 +
drivers/net
From: Chengchang Tang
This patch add support for dumping module EEPROM.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
doc/guides/rel_notes/release_21_05.rst | 4 +
drivers/net/hns3/hns3_cmd.h| 16
drivers/net/hns3/hns3_ethdev.c | 159
This series add three features according to the
21.05 roadmap as well as fix some bugs.
v1->v2:
- fix the commit log for patch[8/14].
- add more comit log information for patch[13/14].
- add a fix patch[7/14] because the version will not suport
for copper phy before merge patch[8/14].
Chengcha
From: Huisong Li
When rate of port changes, the rate limit of the port needs to
be updated. So it is necessary to encapsulate an interface that
configures the rate limit based on the rate.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_dcb.c| 22
ned-off-by: Lijun Ou
---
drivers/net/hns3/hns3_rxtx.c | 24
drivers/net/hns3/hns3_rxtx_vec_neon.h | 15 +++
drivers/net/hns3/hns3_rxtx_vec_sve.c | 11 +++
drivers/net/hns3/hns3_stats.c | 22 ++
4 files changed, 68
From: Chengwen Feng
This patch add support tx_done_cleanup ops, which could support for
the API rte_eth_tx_done_cleanup to free consumed mbufs on Tx ring.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
doc/guides/nics/features/hns3.ini | 1 +
doc/guides/nics/features
existing basic features for PF device with copper phys.
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
V1->V2:
- rewrite commit log
---
doc/guides/rel_notes/release_21_05.rst | 1 +
drivers/net/hns3/hns3_cmd.c| 8 +--
drivers/net/hns3/hns3_cmd.h|
From: Huisong Li
All input parameters in the "hns3_dev_xstats_get_by_id" API are used,
so the rte_unused flag of some variables should be deleted.
Fixes: 3213d584b698 ("net/hns3: fix xstats with id and names")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Li
From: Huisong Li
The configuration operation for PHY is implemented by firmware. And
a capability flag will be report to driver, which means the firmware
supports the PHY driver. However, the current implementation only
supports obtaining the capability bit, but some basic functions of
copper po
t;net/hns3: add initialization")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_ethdev.c | 24
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3
orted.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.c | 8 +-
drivers/net/hns3/hns3_cmd.h | 5 +
drivers/net/hns3/hns3_ethdev.c| 2 +
drivers/net/hns3/hns3_ethdev.h| 16 +++
drivers/net/hns3/hns3_ethdev_vf.c | 2 +
drivers/net
From: "Min Hu (Connor)"
This patch implement Rx imissed stats by querying cmdq.
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h| 7 +++
drivers/net/hns3/hns3_ethdev.c | 7 +++
drivers/net/hns3/hns3_ethdev.h | 1 +
drivers/net/hns3/hn
status when
the interrupt is received, then clear the MAC interrupt
status. Because this interrupt uses the same interrupt
as RAS, the interrupt log is adjusted.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun Ou
---
V1->V2:
- add more information for commit log
---
drivers/net/hns3/hns3_cm
From: Chengchang Tang
This patch makes more registers dumped in the dump_reg API to help
loacte the fault.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
drivers/net/hns3/hns3_cmd.h | 13
drivers/net/hns3/hns3_regs.c | 171 ++-
2
From: Chengchang Tang
This patch add support for dumping module EEPROM.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
doc/guides/rel_notes/release_21_05.rst | 4 +
drivers/net/hns3/hns3_cmd.h| 16
drivers/net/hns3/hns3_ethdev.c | 159
From: Huisong Li
The mbufs of rx queue will be allocated in "hns3_do_start" function.
But these mbufs are not released when "hns3_dev_start" executes
failed.
Fixes: c4ae39b2cfc5 ("net/hns3: fix Rx interrupt after reset")
Cc: sta...@dpdk.org
Signed-off-by: Huiso
directly read from the bar
instead of the firmware, and all the statistics of a queue include HW
and SW are read at a time to reduce inconsistency.
Fixes: 8839c5e202f3 ("net/hns3: support device stats")
Cc: sta...@dpdk.org
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
d
1 - 100 of 258 matches
Mail list logo