240 Commits

Author SHA1 Message Date
openeuler-ci-bot
6cc7d918a8
!607 [sync] PR-606: sync some patchs from upstreaming
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-07-29 01:30:08 +00:00
Dengdui Huang
e06a17955f 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:44 +08:00
openeuler-ci-bot
f58ea7c264
!586 [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-20 03:03:38 +00:00
yinbin6
6ef8413989 change dpdk-* in dpdk-tools from dynamic build to static build
(cherry picked from commit e9485986a97b66670666ff44fa3bfdf6f006919e)
2024-05-17 11:04:35 +08:00
openeuler-ci-bot
c39b6336f2
!582 [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:32:33 +00:00
Dengdui Huang
dd30deb610 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:07 +08:00
openeuler-ci-bot
2285972cda
!579 [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:54 +00:00
jiangheng
039ea609ce mem: require at least two segs per memseg lists in map-perfect mode
(cherry picked from commit 54ce0b901c694c7fc3753c776935ebcd4d5bdd3b)
2024-05-10 16:15:06 +08:00
openeuler-ci-bot
c03464b26f
!575 【轻量级 PR】:riscv64: Remove unsupported rte_net_i40e for gazelle-pdump
From: @laokz 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-05-06 02:53:29 +00:00
laokz
9162fedb33
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>
2024-05-05 06:30:21 +00:00
openeuler-ci-bot
29999fcafc
!573 [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:39 +00:00
Dengdui Huang
6bf0a08439 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:01 +08:00
openeuler-ci-bot
4903ee266d
!571 [sync] PR-569: 修改spec文件中loongarch架构的判断条件
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-24 14:24:06 +00:00
Huang Yang
0fbcf094eb Modify the writing of loongarch64 judgments
(cherry picked from commit 93c3edbe00cb6b26895b284499e6f737eb23f5a4)
2024-04-24 15:23:50 +08:00
openeuler-ci-bot
6259790eee
!567 [sync] PR-565: add gazelle-pdump
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-22 14:33:35 +00:00
yinbin6
ce890946a4 add gazelle-pdump
(cherry picked from commit 3d1793ba0dc7dec730a8f15cefc6c6948ed7afd0)
2024-04-22 21:43:05 +08:00
openeuler-ci-bot
8493201f1d
!564 [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:42 +00:00
yinbin6
e05fa649fc remove dpdk-pmds directory to prevent unnecessary pmd so files load
(cherry picked from commit b080d97559839a18021b1f8db0b27f489a9df5a6)
2024-04-22 15:14:57 +08:00
openeuler-ci-bot
c386f7bfac
!560 [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:20 +00:00
Dengdui Huang
7e5197e80d 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:01 +08:00
openeuler-ci-bot
248b2d18dc
!558 [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:20 +00:00
Dengdui Huang
b83616ad92 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:20 +08:00
openeuler-ci-bot
2cf2675fe0
!557 [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:00 +00:00
yinbin6
b2a4fae375 move patch0031 to self developed patch
(cherry picked from commit 18b0886aace1ce2a6781c3f710831836ceddd313)
2024-04-12 17:06:27 +08:00
openeuler-ci-bot
c68caed3aa
!553 [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:45 +00:00
zhangmengxuan
ff0d77d821 add rte_eth_bond_link_monitoring_get in map
(cherry picked from commit 78109146395283d72976c9c0c5c98371ea6676d7)
2024-04-12 16:26:10 +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