239 Commits

Author SHA1 Message Date
Dengdui Huang
12a2bd4a62 sync some patch from upstreaming
Support more VLAN fields matching for hns3 and sync a bugfix,
modifications are as follow:
 - net/hns3: add Rx DMA address align check
 - net/hns3: support more VLAN fields matching

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 9d553ba53d06d2f78efeac5a4b2b71f368a0696d)
2024-07-26 11:22:46 +08:00
openeuler-ci-bot
8007ffc41b
!585 [sync] PR-584: change dpdk-* in dpdk-tools from dynamic build to static build
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-05-17 07:32:37 +00:00
yinbin6
be4cf3d28f change dpdk-* in dpdk-tools from dynamic build to static build
(cherry picked from commit e9485986a97b66670666ff44fa3bfdf6f006919e)
2024-05-17 11:04:32 +08:00
openeuler-ci-bot
04f5d0090b
!583 [sync] PR-581: sync some patch from upstreaming
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-05-11 08:31:42 +00:00
Dengdui Huang
d92b3ae9d6 sync some patch from upstreaming
Sync some patchs from upstreaming for hns3 pmd and modifications
are as follow:
 - dma/hisilicon: remove support for HIP09 platform
 - net/hns3: disable SCTP verification tag for RSS hash input
 - net/hns3: fix variable overflow
 - net/hns3: fix double free for Rx/Tx queue
 - net/hns3: fix read Rx timestamp handle
 - net/hns3: fix offload flag of IEEE 1588
In addition, the following patch synchronizes the latest version
 - ethdev: fix strict aliasing lead to link cannot be up

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 60fad33c2a49d948d5816889cb40f0184f826149)
2024-05-11 15:10:10 +08:00
openeuler-ci-bot
5fbf00af56
!580 [sync] PR-578: mem: require at least two segs per memseg lists in map-perfect mode
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-05-10 08:15:51 +00:00
jiangheng
a8d85f7d2a mem: require at least two segs per memseg lists in map-perfect mode
(cherry picked from commit 54ce0b901c694c7fc3753c776935ebcd4d5bdd3b)
2024-05-10 16:15:09 +08:00
openeuler-ci-bot
3e775225e4
!576 [sync] PR-575: 【轻量级 PR】:riscv64: Remove unsupported rte_net_i40e for gazelle-pdump
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-05-06 02:56:20 +00:00
laokz
93a6e0d3ed riscv64: Remove unsupported rte_net_i40e for gazelle-pdump
Driver i40e was not supported for RISC-V by this version. Remove it.

Signed-off-by: laokz <zhangkai@iscas.ac.cn>
(cherry picked from commit 9162fedb33afb444fd6736a09eb25611c2c1c18d)
2024-05-06 10:53:34 +08:00
openeuler-ci-bot
6f2e1034e7
!574 [sync] PR-572: package some examples to dpdk-tools
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-04-29 05:54:24 +00:00
Dengdui Huang
fcd5e147ca package some examples to dpdk-tools
Package the following example to dpdk-tools:
dpdk-l3fwd, dpdk-l3fwd-power, dpdk-ethtool, dpdk-dma, dpdk-ptpclient

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 3b932c4fea9ae5dfba1d9105b4b602c50e12c671)
2024-04-29 11:17:04 +08:00
openeuler-ci-bot
f7eed7ea12
!570 [sync] PR-569: 修改spec文件中loongarch架构的判断条件
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-25 08:04:59 +00:00
Huang Yang
d0f7eb29de Modify the writing of loongarch64 judgments
(cherry picked from commit 93c3edbe00cb6b26895b284499e6f737eb23f5a4)
2024-04-24 15:23:47 +08:00
openeuler-ci-bot
787efdfd24
!566 [sync] PR-565: add gazelle-pdump
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-22 14:33:40 +00:00
yinbin6
865f62881c add gazelle-pdump
(cherry picked from commit 3d1793ba0dc7dec730a8f15cefc6c6948ed7afd0)
2024-04-22 21:43:02 +08:00
openeuler-ci-bot
d662526208
!563 [sync] PR-562: remove dpdk-pmds directory to prevent unnecessary pmd so files load
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-22 07:59:48 +00:00
yinbin6
bb8f2c78e7 remove dpdk-pmds directory to prevent unnecessary pmd so files load
(cherry picked from commit b080d97559839a18021b1f8db0b27f489a9df5a6)
2024-04-22 15:14:51 +08:00
openeuler-ci-bot
f9ba49b2fb
!561 [sync] PR-555: Sync some patches for hns3 about PFC and RSS
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-04-13 00:51:49 +00:00
Dengdui Huang
f9cfb3ab1d sync some patch from upstreaming
Sync some patches for hns3 about PFC and RSS
 - net/hns3: support new device
 - app/testpmd: fix RSS algorithm choice
 - net/hns3: enable PFC for all user priorities

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit d4966134474f40a98ddbdab4c281ef20bcc1e691)
2024-04-12 22:44:04 +08:00
openeuler-ci-bot
6fb8eb1035
!559 [sync] PR-544: ethdev: fix strict aliasing lead to link cannot be up
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-04-12 14:41:49 +00:00
Dengdui Huang
74977784f5 ethdev: fix strict aliasing lead to link cannot be up
Fix a problem introduced by a compiler upgrade (from gcc10 to gcc12.3),
which will lead the hns3 NIC can't link up. The root cause is strict
aliasing violation in rte_eth_linkstatus_set() with hns3 driver, see
[1] for more details.

This commit use union to avoid such aliasing violation.

[1] Strict aliasing problem with rte_eth_linkstatus_set()
    https://marc.info/?l=dpdk-dev&m=171274148514777&w=3

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 776b3090fb193bc8abe55d7a0ea19e44601b7607)
2024-04-12 17:09:26 +08:00
openeuler-ci-bot
2898b1760a
!556 [sync] PR-542: move patch0031 to self developed patch
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-12 09:07:03 +00:00
yinbin6
59391bdb5f move patch0031 to self developed patch
(cherry picked from commit 18b0886aace1ce2a6781c3f710831836ceddd313)
2024-04-12 17:06:24 +08:00
openeuler-ci-bot
e284f083e9
!554 [sync] PR-538: 添加rte_eth_bond_link_monitoring_get至version.map中,使其全局可见
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-12 09:04:44 +00:00
zhangmengxuan
2f1fd6733a add rte_eth_bond_link_monitoring_get in map
(cherry picked from commit 78109146395283d72976c9c0c5c98371ea6676d7)
2024-04-12 16:26:14 +08:00
openeuler-ci-bot
6f8de3c6ed
!535 sync some patchs from upstreaming
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-03-05 09:15:27 +00:00
Dengdui Huang
1f34bd76e4 sync some patchs from upstreaming
Sync some patches for hns3 about refactor mailbox, add new API for RSS,
support power monitor and some bugfix, modifies are as follow:
 - app/testpmd: fix crash in multi -process forwarding
 - net/hns3: support power monitor
 - net/hns3: remove QinQ insert support for VF
 - net/hns3: fix reset level comparison
 - net/hns3: fix disable command with firmware
 - net/hns3: fix VF multiple count on one reset
 - net/hns3: refactor handle mailbox function
 - net/hns3: refactor send mailbox function
 - net/hns3: refactor PF mailbox message struct
 - net/hns3: refactor VF mailbox message struct
 - app/testpmd: set RSS hash algorithm
 - ethdev: get RSS hash algorithm by name
 - ring: add telemetry command for ring info
 - ring: add telemetry command to list rings
 - eal: introduce more macros for bit definition
 - dmadev: add tracepoints in data path API
 - dmadev: add telemetry capability for m2d auto free
 - maintainers: update for DMA device performance tool

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2024-03-05 16:15:56 +08:00
openeuler-ci-bot
700228ad5f
!533 Add support for riscv64
From: @shafeipaozi 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-02-01 09:26:02 +00:00
shafeipaozi
61d05628cf support riscv64 2024-01-25 21:58:25 +08:00
openeuler-ci-bot
aaf390e873
!532 add supprot for loongarch64
From: @yinbin6 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-01-23 06:16:55 +00:00
yinbin6
98b0b0e24a add supprot for loongarch64 2024-01-23 10:22:28 +08:00
openeuler-ci-bot
9c5f5dcf40
!528 Add support for ppc64le
From: @peng_zou 
Reviewed-by: @LemmyHuang, @jiangheng12 
Signed-off-by: @jiangheng12
2024-01-23 01:55:44 +00:00
peng.zou
f0f6b53eae Add support for ppc64le 2024-01-16 17:37:48 +08:00
openeuler-ci-bot
c33ab01bb4
!530 add self-developed patches
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-01-13 09:17:52 +00:00
jinag12
ea65d9df08 add self-developed patches 2024-01-13 14:55:02 +08:00
openeuler-ci-bot
2f47ec2a85
!529 upgrade to dpdk-23.11
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-01-11 08:47:41 +00:00
jiangheng
5826f05bad upgrade to dpdk-23.11 2024-01-11 15:28:18 +08:00
openeuler-ci-bot
629f945a40
!522 hns3 don't support QinQ insert for VF
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-29 09:35:19 +00:00
Dengdui Huang
0183d0ca4a net/hns3: don't support QinQ insert for VF
This patch declare that the VF driver don't support QinQ insert.

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-12-29 16:55:30 +08:00
openeuler-ci-bot
d5a9c3c74a
!516 Sync some patches for hns3 about mbx refactor and some reste bugfix
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-15 07:56:45 +00:00
Dengdui Huang
de38802427 Sync some patches for hns3 about refactor and bugfix
Sync some patches for hns3 about refactor mailbox and bugfix, modifies
are as follow:
net/hns3: fix reset level comparison
net/hns3: fix disable command with firmware
net/hns3: fix VF multiple count on one reset
net/hns3: refactor handle mailbox function
net/hns3: refactor send mailbox function
net/hns3: refactor PF mailbox message struct
net/hns3: refactor VF mailbox message struct

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-12-15 11:45:40 +08:00
openeuler-ci-bot
f69dc3b118
!501 sync some bugfix from upstreaming about testpmd and doc
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 11:46:59 +00:00
Dengdui Huang
7868d4e3ae sync some bugfix from upstreaming about testpmd and doc
Sync some bugfix from upstreaming about testpmd and doc, modifies
are as follow:
- support set RSS hash algorithm
- ethdev: add new API to get RSS hash algorithm by name
- doc: fix description of RSS features
- doc: fix RSS flow description in hns3 guide
- doc: update features in hns3 guide
- doc: fix hns3 build option about max queue number
- app/testpmd: check port and queue Rx/Tx offloads
- app/testpmd: fix Tx offload command
- app/testpmd: allow offload config for all ports
- app/testpmd: fix tunnel TSO configuration
- app/testpmd: add explicit check for tunnel TSO
- app/testpmd: fix tunnel TSO capability check
- app/testpmd: remove useless check in TSO command

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-12-08 18:05:52 +08:00
openeuler-ci-bot
eaa829bb49
!500 sync some bugfix for hns3 reset
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 09:58:51 +00:00
Dengdui Huang
2199d0077d sync some bugfix for hns3 reset
Sync some bugfix from upstreaming about hns3 reset and modifies
are as follow:
- net/hns3: fix VF reset handler interruption
- net/hns3: fix reset event status
- net/hns3: fix ignored reset event

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-12-08 17:18:31 +08:00
openeuler-ci-bot
51f11839bc
!498 add support for sw_64
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 01:58:46 +00:00
herengui
204f624819 添加申威架构支持
Signed-off-by: herengui <herengui@kylinsec.com.cn>
(cherry picked from commit 27cddfd3069a2fbbdc0d091de8cf21944b650afa)
2023-12-07 20:46:05 +08:00
openeuler-ci-bot
0fb876d20f
!487 sync some patchs from upstreaming
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-11-21 07:33:19 +00:00
Dengdui Huang
7730be2444 sync some patchs from upstreaming
Sync some patchs from upstreaming and modifies are as follow:
- net/hns3: fix mailbox sync
- net/hns3: report maximum buffer size
- ethdev: add maximum Rx buffer size
- app/procinfo: show RSS hash algorithm
- ethdev: get RSS algorithm names
- app/procinfo: adjust format of RSS info
- app/procinfo: fix RSS info
- net/hns3: support setting and querying RSS hash function
- net/hns3: report RSS hash algorithms capability
- ethdev: set and query RSS hash algorithm
- ethdev: clarify RSS related fields usage
- net/hns3: fix uninitialized hash algo value
- net/hns3: keep set/get algo key functions local
- net/hns3: fix some error logs
- net/hns3: fix some return values
- net/hns3: fix LRO offload to report
- net/hns3: fix setting DCB capability
- app/testpmd: ease configuring all offloads
- net/hns3: refactor interrupt state query
- net/hns3: fix IMP or global reset
- net/hns3: fix multiple reset detected log
- net/hns3: remove reset log in secondary
- net/hns3: fix double stats for IMP and global reset
- net/hns3: fix crash for NEON and SVE
- net/hns3: fix unchecked Rx free threshold
- net/hns3: fix typo in function name
- net/hns3: fix build warning
- telemetry: fix repeat display when callback don't init dict

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-11-21 11:45:25 +08:00
openeuler-ci-bot
5aea2c44dd
!482 backport some patch from DPDKcommunity
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-10-30 07:35:53 +00:00