222 Commits

Author SHA1 Message Date
yangchen
0076eefd85 af_xdp: support tx multi-buffer
(cherry picked from commit e47a558717b57db304b77a063bdf2a4c359ef2cd)
2025-01-18 15:30:41 +08:00
openeuler-ci-bot
5dc5d3cba6
!684 [sync] PR-680: fix CVE-2024-11614
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-27 01:20:41 +00:00
jiangheng
3cd268223a fix CVE-2024-11614
(cherry picked from commit 0a6798b3ea9bc4e9992610381437a61aaeefed32)
2024-12-25 14:41:52 +08:00
openeuler-ci-bot
d20bc65473
!677 [sync] PR-676: Change %post script to %posttrans
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-20 01:02:46 +00:00
chendexi
7b5ba118ed Change %post script to %posttrans
Signed-off-by: chendexi <chendexi@kylinos.cn>
(cherry picked from commit 3c5d105b38caae8a2bda412fd505abaadccc0ef4)
2024-12-18 17:05:05 +08:00
openeuler-ci-bot
70637e0743
!662 [sync] PR-661: net/af_xdp: fix getsockopt ENOTSOCK error
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-11-27 02:10:22 +00:00
yangchen
56e67cddc1 net/af_xdp: fix getsockopt ENOTSOCK error
(cherry picked from commit 25582a62ddb8ce9dc560b07614da81fe45ad172f)
2024-11-07 09:21:04 +08:00
openeuler-ci-bot
d785f482df
!659 [sync] PR-657: Sync DPDK upstream patch about bugfix
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-10-28 06:51:08 +00:00
chenyi
0c314da339 Sync DPDK upstream patch about bugfix
Sync a patch from upstream about bugfix, modifies are as follow:
- bus/pci: fix UIO resource mapping in secondary process

(cherry picked from commit 69981042e0fb15cdbf505c51dfb466cde96f87e7)
2024-10-28 10:10:00 +08:00
openeuler-ci-bot
e03766491c
!652 [sync] PR-648: af_xdp: fix mbuf ol_flags not init
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-10-10 03:50:45 +00:00
jiangheng
89be2528ca af_xdp: fix mbuf ol_flags not init
(cherry picked from commit 77dd3a21848c6a223fdb589f1cc5a6c2bf58cf63)
2024-10-10 11:47:20 +08:00
openeuler-ci-bot
1775bb5faf
!643 [sync] PR-640: create weak dependency for ko files
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-10-08 14:40:09 +00:00
lifeifei
b1ffb705d6 create weak dependency for ko files
(cherry picked from commit cbc69cefa11cfabea0838211e05dede22dcfc12e)
2024-10-08 14:28:25 +08:00
openeuler-ci-bot
8fbc49ec90
!639 [sync] PR-637: af_xdp: build XDP_USE_SG and XDP_PKT_CONTD require kernel-headers
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-30 03:42:59 +00:00
yangchen
f44e8ace27 af_xdp: build XDP_USE_SG and XDP_PKT_CONTD require kernel-headers
(cherry picked from commit 9740fe3fcd9732f9b68313253685b5b3df2c86f9)
2024-09-30 09:25:27 +08:00
openeuler-ci-bot
8940a8f385
!635 [sync] PR-628: af_xdp: del XDP_USE_SG and XDP_PKT_CONTD definition
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-30 01:24:51 +00:00
yangchen
954ae72bb7 af_xdp: del XDP_USE_SG and XDP_PKT_CONTD definition
(cherry picked from commit 7d0f478b5096ea8832b36d43ad6694558d8b4f59)
2024-09-29 20:08:50 +08:00
openeuler-ci-bot
0a194c05f0
!633 [sync] PR-618: af_xdp: add interrupt mode support
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-29 12:08:17 +00:00
jiangheng
e1bca2e2d9 net/af_xdp: add interrupt support
(cherry picked from commit 0a212e28f8403f10cf3010848d81e3b259f389d7)
2024-09-29 20:07:31 +08:00
openeuler-ci-bot
585149920c
!632 [sync] PR-627: af_xdp: support recv multi-buffer
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-29 12:06:23 +00:00
yangchen
89e4105c87 af_xdp: support recv multi-buffer
(cherry picked from commit cf4507174c716b42b2719908f43014f20daf02d7)
2024-09-29 20:05:43 +08:00
openeuler-ci-bot
bf2fe05763
!629 [sync] PR-626: config: arm adapt RTE_MAX_LCORE to 640
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-29 12:04:22 +00:00
yangchen
a0edec1270 config: arm adapt RTE_MAX_LCORE to 640
(cherry picked from commit 49911f0a3363b99e3675fa5b60568842be0da519)
2024-09-29 20:00:05 +08:00
openeuler-ci-bot
477de534a4
!625 sync some patch from upstream about bugfix
From: @yinbin6 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-26 00:59:09 +00:00
chenyi
35e5a9a419 sync some patch from upstream about bugfix
Sync some patch from upstream about bugfix, modifies are as follow:
- net/hns3: check Rx DMA address alignmnent
2024-09-25 20:21:40 +08:00
openeuler-ci-bot
7d90428ff6
!617 Synchronize DPDK upstream patches about af_xdp
From: @hantwofish 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-09-25 08:15:14 +00:00
hkk
aba5a9adce Synchronize DPDK upstream patches about af_xdp 2024-09-24 20:28:02 +08:00
openeuler-ci-bot
bf241b92b6
!601 sync some patches from upstream about bond4
From: @hantwofish 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-07-12 09:36:22 +00:00
hkk
d517244ac2 sync some patches from upstream about bond4 2024-07-12 16:52:28 +08:00
openeuler-ci-bot
52055cfab9
!596 [sync] PR-593: sync some patches from upstream about bugfix
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-06-04 11:12:25 +00:00
chenyi
06e9a57467 sync some patches from upstream about bugfix
Sync some patches from upstream about bugfix, modifies
are as follow:
 - net/hns3: support new device
 - dma/hisilicon: remove support for HIP09 platform

(cherry picked from commit 06d6bbebf391f87cf420a165009f4488941bec8b)
2024-06-04 14:34:33 +08:00
openeuler-ci-bot
f7467fde21
!591 [sync] PR-587: sync some patches from upstream about bugfix
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-05-30 07:40:44 +00:00
chenyi
d3702c9156 sync some patches from upstream about bugfix
Sync some patches from upstream about bugfix, modifies
are as follow:
 - app/testpmd: fix crash in multi-process forwarding
 - net/hns3: fix offload flag of IEEE 1588
 - net/hns3: fix read Rx timestamp handle
 - net/hns3: fix double free for Rx/Tx queue
 - net/hns3: fix variable overflow
 - net/hns3: enable PFC for all user priorities
 - ring: add telemetry command for ring info
 - ring: add telemetry command to list rings
 - net/hns3: support power monitor
 - net/hns3: disable SCTP verification tag for RSS hash input
 - app/testpmd: fix RSS algorithm choice

(cherry picked from commit 7573bb9b6fcae9a50b008d7a6e95ac495b84c59e)
2024-05-30 10:43:05 +08:00
openeuler-ci-bot
b3fd6e34a2
!549 [sync] PR-543: add rte_eth_bond_link_monitoring_get in map
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-12 06:43:19 +00:00
zhangmengxuan
001a186460 add rte_eth_bond_link_monitoring_get in map
(cherry picked from commit d8fbc2d080043cb3b1045adc9caf1e59a08672b5)
2024-04-12 14:42:38 +08:00
openeuler-ci-bot
54270cfdc7
!547 [sync] PR-534: Add support for ppc64le
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-12 06:40:59 +00:00
peng.zou
b1cb798e4e Add support for ppc64le
(cherry picked from commit 9580d070382fa926491256c28c452e10a2b78d41)
2024-04-12 14:39:59 +08:00
openeuler-ci-bot
f5c4d479a7
!525 [sync] PR-522: hns3 don't support QinQ insert for VF
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-01-09 01:22:05 +00:00
Dengdui Huang
4a4134a5d5 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>
(cherry picked from commit 0183d0ca4a670691f11acc28259cfa29a0e63b00)
2023-12-29 17:36:12 +08:00
openeuler-ci-bot
77b9a74fad
!519 [sync] PR-516: Sync some patches for hns3 about mbx refactor and some reste bugfix
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-19 01:13:30 +00:00
Dengdui Huang
43634499f0 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>
(cherry picked from commit de38802427dd9f95f5ad5505969f582598e366b4)
2023-12-15 15:58:17 +08:00
openeuler-ci-bot
77546264ff
!509 [sync] PR-501: sync some bugfix from upstreaming about testpmd and doc
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-09 08:28:54 +00:00
Dengdui Huang
14ee645518 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>
(cherry picked from commit 7868d4e3ae469277d4b47241e84c77f53e09423b)
2023-12-09 10:35:28 +08:00
openeuler-ci-bot
a0159c037b
!504 [sync] PR-500: sync some bugfix for hns3 reset
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 12:31:40 +00:00
Dengdui Huang
c78e851bf1 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>
(cherry picked from commit 2199d0077da75744fc56a92a534607f5583205ee)
2023-12-08 18:51:21 +08:00
openeuler-ci-bot
29e967701c
!497 sync some patchs for hns3 from master
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-07 11:10:18 +00:00
Dengdui Huang
123299abb4 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-24 17:54:21 +08:00
Dengdui Huang
0554b03feb sync some patchs from upstreaming
Sync some patchs from upstreaming and modifies are as follow:
- maintainers: update for hns3 driver
- app/testpmd: add command to flush multicast MAC addresses
- app/testpmd: fix help string
- app/testpmd: fix multicast address pool leak
- net/hns3: optimize SVE Rx performance
- net/hns3: optimize rearm mbuf for SVE Rx
- net/hns3: optimize free mbuf for SVE Tx
- net/hns3: fix order in NEON Rx
- net/hns3: fix traffic management dump text alignment
- net/hns3: fix traffic management thread safety
- net/hns3: fix flushing multicast MAC address
- net/hns3: fix error code for multicast resource
- net/hns3: fix VF default MAC modified when set failed
- net/hns3: fix index to look up table in NEON Rx
- net/hns3: fix non-zero weight for disabled TC
- config/arm: add HiSilicon HIP10

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-11-24 17:54:13 +08:00
openeuler-ci-bot
02e26a6cf6
!475 [sync] PR-474: 添加申威架构支持
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-10-19 13:35:17 +00:00
herengui
288d7da0a0 添加申威架构支持
Signed-off-by: herengui <herengui@kylinsec.com.cn>
(cherry picked from commit 27cddfd3069a2fbbdc0d091de8cf21944b650afa)
2023-09-08 16:01:49 +08:00