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
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
: 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
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
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
---
V4->V5:
- Add acked-by
- add a note
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.
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
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
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
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
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
: 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/
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
---
V2->V3:
- rewrite title
- rewrite commit log
- add Acked-by and Reviewed-by
---
config/arm/arm64_kunpeng930_linux_
This series add meson build for Hisilicon kunpeng CPU.
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. split [1/2] into two.
Lijun Ou (3):
config/arm: add Hisilicon kunpeng imple
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
---
V2->V3:
- rewrite title
- rewrite commit log
- add Acked-by and Reviewed-by
---
config/arm/arm64_kunpeng920_linux_
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
---
V2->V3:
- refined the commit
- merge [1/4] and [2/4] into
ns 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
V1->V2:
- move queue state defines to public file
---
doc/guides/rel_notes/release_21_05.rst | 6 ++
lib/librte_ethdev/ethdev_driver.h | 7 ---
lib/librte_ethdev/rte_ethdev.c
ns 64B, so
it could be ABI compatible.
Signed-off-by: Chengwen Feng
Signed-off-by: Lijun Ou
---
doc/guides/rel_notes/release_21_05.rst | 6 ++
lib/librte_ethdev/rte_ethdev.c | 3 +++
lib/librte_ethdev/rte_ethdev.h | 4
3 files changed, 13 insertions(+)
diff --
This series add meson build for Hisilicon kunpeng CPU.
Lijun Ou (4):
config/arm: add Hisilicon kunpeng920 implementer
config/arm: add Hisilicon kunpeng930 implementer
config/arm: add kunpeng920 meson cross compile target
config/arm: add kunpeng930 meson cross compile target
config/arm
Here add arm64 cross compile support for Hisilicon kunpeng920.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
config/arm/arm64_kunpeng920_linux_gcc | 19 +++
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 4
2 files changed, 23 insertions
Here addes Kunpeng920 config back which was deleted.
Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
V1->V2:
- rewrite patch title.
- split the patch into two.
---
config/arm/mes
Here add arm64 cross compile support for Hisilicon kunpeng930.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
config/arm/arm64_kunpeng930_linux_gcc | 19 +++
doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 1 +
2 files changed, 20 insertions
Here add Hisilicon kunpeng930 config back which was deleted.
Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables")
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
-rewrite the patch title.
-split the patch into two.
---
config/arm/meson.build | 7
wthresh=0
13: TX offloads=0x1 - TX RS bit threshold=32
We can see RX/Rx/TX/Tx is mixed used. Also in other places in testpmd,
RX/Rx/TX/Tx is mixed used.
This patch fix the mixed use of RX/Rx/TX/Tx in testpmd by change
to unified use Rx/Tx.
Signed-off-by: Hongbo Zheng
Signed-off-by: Lijun O
c: sta...@dpdk.org
Signed-off-by: Huisong Li
Signed-off-by: Lijun Ou
---
V1->V2:
- use stream instead of flow
---
app/test-pmd/cmdline.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 4df0c32..e316f5c 100644
--- a/app/tes
quot;start_port"
function, dcb_test is set to 1 based on dcb_config. So it also
should be cleared when dcb_config is 0.
Fixes: 900550de04a7 ("app/testpmd: add dcb support")
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: H
This series add two test bug fixes and a print style.
Hongbo Zheng (1):
app/testpmd: use of Rx/Tx in testpmd
Huisong Li (2):
app/testpmd: fix forwarding configuration when DCB test
app/testpmd: remove forwarding config from parsing Rx and Tx
app/test-pmd/cmdline.c | 106 ++
: Chengwen Feng
Signed-off-by: Lijun Ou
---
V1->V2:
- use Tx instead of TX
- add note in doc
---
app/test-pmd/cmdline.c | 91 +
doc/guides/rel_notes/release_21_05.rst | 2 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11
3 files changed,
: Chengwen Feng
Signed-off-by: Lijun Ou
---
app/test-pmd/cmdline.c | 91 +
doc/guides/rel_notes/release_21_05.rst | 2 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
3 files changed, 100 insertions(+)
diff --git a/app/test-pmd
-procs=2 --proc-id=1
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
app/test-pmd/cmdline.c| 12 +++-
app/test-pmd/config.c | 9 ++-
app/test-pmd/parameters.c | 11
app/test-pmd/testpmd.c| 138 ++
app/test-pmd/testpmd.h
: Chengwen Feng
Signed-off-by: Lijun Ou
---
app/test-pmd/cmdline.c | 91 +
doc/guides/rel_notes/release_21_05.rst | 2 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++
3 files changed, 100 insertions(+)
diff --git a/app/test-pmd
pointer may be accessed.
Like:
set nbcore 4
port stop all
port config 0 dcb vt off 4 pfc on
port start all
port stop all
port config all rxq 8
port config all txq 8
At the moment, a segmentation fault occurs.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta.
wthresh=0
13: TX offloads=0x1 - TX RS bit threshold=32
In line 4, RX/Tx is mixed used. Also in other lines, RX/Rx/TX/Tx is
mixed used.
This patch fix the mixed use of RX/Rx/TX/Tx in testpmd command
"show config rxtx" output by change to unified use Rx/Tx.
Signed-off-by: Hongbo Zhen
This series add a API implementation for testpmd as
well as fix two bugs.
Chengwen Feng (1):
app/testpmd: support Tx mbuf free on demand cmd
Hongbo Zheng (1):
app/testpmd: fix mixed use of RX/Rx/TX/Tx in testpmd
Huisong Li (1):
app/testpmd: remove forwarding config from parsing Rx and Tx
From: "Min Hu (Connor)"
In current HNS3 PMD, Rx/Tx bytes from packet stats are not
implemented.
This patch implemented Rx/Tx bytes using soft counters.
Signed-off-by: Min Hu (Connor)
Signed-off-by: Lijun Ou
---
V2->V3:
- remote the macro RTE_LIBRTE_HNS3_PMD_SOFT_COUNTER
- upda
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
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
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: "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: 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
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: 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
---
V2->V3:
- rewrite the patch title according to Ferruh Yigit's advice
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
From: Chengchang Tang
This patch add support for dumping module EEPROM.
Signed-off-by: Chengchang Tang
Signed-off-by: Lijun Ou
---
V2->V3:
- add "Module EEPROM dump" feature to hns3.ini and hns3_vf.ini
- fix the release notes location with Hisilicon hns3
---
doc/guides/nics/feat
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
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: 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
---
V2->V3:
- rewrite the patch title
---
drivers/net/hns3/hns3_ethdev.c | 24
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/drivers/n
This series add three features according to the
21.05 roadmap as well as fix some bugs.
v2->v3:
- fix some patchs title.
- delete the macro with patch[4/14].
v1->v2:
- fix the commit log for patch[8/14].
- add more commit log information for patch[13/14].
- add a fix patch[7/14] because the versi
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
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: 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
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: "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
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
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
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
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
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: 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
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: 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
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: 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
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 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: 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
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: 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
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
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
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
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
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
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
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 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
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
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
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 +
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
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
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
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
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
@@
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
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
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/
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
: 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
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
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 bd998f6..13f78f2 100644
--- a/drivers/net/hns3
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
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/
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
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
1 - 100 of 258 matches
Mail list logo