262 Commits

Author SHA1 Message Date
openeuler-ci-bot
f922fea40c
!721 [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:23 +00:00
Dengdui Huang
ca6918627c 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:18 +08:00
openeuler-ci-bot
eef61cf1eb
!696 net/xsc: add yunsilicon PMD
From: @martinshare 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2025-03-14 12:06:43 +00:00
Rong Qian
56bf053e0a add xsc PMD 2025-03-14 15:00:47 +08:00
openeuler-ci-bot
36fd990a72
!703 add sw_64 support
From: @hailianguniontech 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2025-03-13 13:02:04 +00:00
Hailiang
f6fc24cd8a add sw_64 support 2025-03-13 17:54:46 +08:00
openeuler-ci-bot
244f1ded69
!698 config: arm adapt RTE_MAX_LCORE to 640
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2025-03-13 08:41:59 +00:00
jiangheng
ea2b36f4ec config: arm adapt RTE_MAX_LCORE to 640 2025-03-13 09:47:29 +08:00
openeuler-ci-bot
cb90b8d5b7
!683 [sync] PR-679: fix CVE-2024-11614
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2025-01-06 01:51:57 +00:00
jiangheng
efcf46f0d5 fix CVE-2024-11614
(cherry picked from commit fb083cb389efd504c49cbd9b1a4529775425db1c)
2024-12-25 14:41:33 +08:00
openeuler-ci-bot
d0751851df
!672 Change %post script to %posttrans
From: @ccdxx 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-18 01:32:37 +00:00
chendexi
6dedbbd815 Change %post script to %posttrans 2024-12-17 10:16:21 +08:00
openeuler-ci-bot
66a1b7f36a
!669 [sync] PR-665: Sync some patchs from upstreaming
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-11-25 02:53:32 +00:00
Dengdui Huang
e782454207 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:08 +08:00
openeuler-ci-bot
afddb4701e
!656 [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:03 +00:00
Dengdui Huang
fab31f6693 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:59 +08:00
openeuler-ci-bot
40e7b0db0b
!650 [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:48 +00:00
lifeifei
46f84423d9 create weak dependency for ko files
(cherry picked from commit 44f23cf1af8ffbae9b171cde2273ff16edae0636)
2024-10-10 10:10:51 +08:00
openeuler-ci-bot
abe69b4cc3
!646 [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:56 +00:00
jiangheng
7ca1f97a98 disable _lto_cflags to fix build failed
(cherry picked from commit f4e9cdea415ec1cfbb614e692e54668801c9c0e6)
2024-10-09 20:26:35 +08:00
openeuler-ci-bot
3294e438b4
!615 [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:46 +00:00
yinbin
45945448c9 add static library & remove unused requires/buildrequires
(cherry picked from commit 41be5e3080ab09316cb1f13193c2391f83cd3fbc)
2024-08-20 19:23:29 +08:00
openeuler-ci-bot
34eb3564dd
!608 [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:31:00 +00:00
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