262 Commits

Author SHA1 Message Date
openeuler-ci-bot
37fec782c1
!719 [sync] PR-718: sync some bugfixes from upstreaming
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2025-04-28 09:18:49 +00:00
Dengdui Huang
37c95ab89b sync some bugfixes from upstreaming
- net/hns3: fix unrelease some resources on reset case
 - net/hns3: fix divide by zero
 - net/hns3: fix incorrect failed rollback
 - net/hns3: fix memory leakage for indirect action
 - net/hns3: fix extra waiting for link up
 - net/hns3: fix variable overflow
 - net/hns3: fix memory leakage in failure path
 - devtools: fix symbol listing
 - net/hns3: remove weak symbols
 - net/hns3: fix reset timeout
 - net/hns3: fix copper port inialization
 - net/hns3: rename RAS module
 - net/hns3: remove PVID info dump for VF
 - net/hns3: fix mbuf freeing in simple Tx path

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 4f2a5e819346fb5bf12b9de68352782319e4a2a6)
2025-04-28 15:33:14 +08:00
openeuler-ci-bot
ce556948c5
!709 [sync] PR-696: net/xsc: add yunsilicon PMD
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2025-03-15 08:45:37 +00:00
Rong Qian
7dc59912ef add xsc PMD
(cherry picked from commit 56bf053e0ae8c5b90defec1bf06a9ded3f8525d7)
2025-03-14 20:08:43 +08:00
openeuler-ci-bot
9b4a96cebb
!706 [sync] PR-703: add sw_64 support
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2025-03-13 13:59:25 +00:00
Hailiang
1e2836cb53 add sw_64 support
(cherry picked from commit f6fc24cd8a835873bd4df42f34519a1c0f2f42c4)
2025-03-13 21:02:16 +08:00
openeuler-ci-bot
a3c7ea0776
!701 [sync] PR-698: config: arm adapt RTE_MAX_LCORE to 640
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2025-03-13 12:59:35 +00:00
jiangheng
47e785a6d0 config: arm adapt RTE_MAX_LCORE to 640
(cherry picked from commit ea2b36f4ec5b39467bfb0f3b61cebd27182c21e1)
2025-03-13 17:26:47 +08:00
openeuler-ci-bot
010828bd0e
!682 [sync] PR-679: fix CVE-2024-11614
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-26 03:30:46 +00:00
jiangheng
a1f2bd7794 fix CVE-2024-11614
(cherry picked from commit fb083cb389efd504c49cbd9b1a4529775425db1c)
2024-12-25 14:41:30 +08:00
openeuler-ci-bot
20874e83d3
!675 [sync] PR-672: Change %post script to %posttrans
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-18 07:59:45 +00:00
chendexi
6a15e1cf24 Change %post script to %posttrans
(cherry picked from commit 6dedbbd8153e9d3f594cb3d6d58d8833bb521d45)
2024-12-18 09:36:12 +08:00
openeuler-ci-bot
828e61f563
!667 [sync] PR-665: Sync some patchs from upstreaming
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-18 01:35:08 +00:00
Dengdui Huang
b27def5172 sync some patchs from upstreaming
Sync some patchs from upstreaming, includind some bugfixes, hns3 pmd
flow rule priority feature, hns3 pmd outer VLAN flow match feature,
and support dump reigser names and filter.
This patch set is modified as follows:
- net/hns3: fix cannot fully use hardware flow director table
- net/hns3: fix error code for repeatedly create counter
- net/hns3: support flow rule priority
- common/nfp: use new kvargs process API
- net/tap: use new kvargs process API
- net/sfc: use new kvargs process API
- kvargs: rework process API
- net/hns3: fix variable type
- net/hns3: fix pointer offset
- net/hns3: fix error log
- net/hns3: support filtering registers by module names
- net/hns3: support reporting names of registers
- net/hns3: refactor register dump
- net/hns3: remove separators between register module
- net/hns3: fix dump counter of registers
- net/hns3: remove some basic address dump
- telemetry: register command with private argument
- ethdev: fix race on ports in telemetry endpoints
- ethdev: add telemetry command for registers
- ethdev: add report of register names and filter
- net/hns3: support outer VLAN flow match
- net/hns3: register VLAN flow match mode parameter
- net/hns3: support general tunnel flow match
- net/hns3: restrict tunnel flow rule to one header
- net/hns3: remove ROH devices
- net/hns3: dump queue head and tail pointer info
- dmadev: fix potential null pointer access
- net/hns3: verify reset type from firmware
- ethdev: verify queue ID in Tx done cleanup

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit a1c828e1eb9cf716187d2a7656023e95bdce9b55)
2024-11-22 10:06:01 +08:00
openeuler-ci-bot
b897507875
!655 [sync] PR-654: fix UIO resource mapping in secondary process
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-10-14 02:59:27 +00:00
Dengdui Huang
c0a187635f fix UIO resource mapping in secondary process
Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit 995630c7cd13b2dd46372cc3ebe094c662723660)
2024-10-12 09:17:56 +08:00
openeuler-ci-bot
2088b9623f
!651 [sync] PR-649: create weak dependency for ko files
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-10-10 02:55:42 +00:00
lifeifei
17347be3eb create weak dependency for ko files
(cherry picked from commit 44f23cf1af8ffbae9b171cde2273ff16edae0636)
2024-10-10 10:10:54 +08:00
openeuler-ci-bot
33511854b8
!647 [sync] PR-645: disable _lto_cflags to fix build failed
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-10-09 13:42:54 +00:00
jiangheng
8463baa6d3 disable _lto_cflags to fix build failed
(cherry picked from commit f4e9cdea415ec1cfbb614e692e54668801c9c0e6)
2024-10-09 20:26:38 +08:00
openeuler-ci-bot
b4f7d0516a
!613 [sync] PR-612: add static library & remove unused requires/buildrequires
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-08-21 01:53:53 +00:00
yinbin
8336404325 add static library & remove unused requires/buildrequires
(cherry picked from commit 41be5e3080ab09316cb1f13193c2391f83cd3fbc)
2024-08-20 19:23:23 +08:00
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