222 Commits

Author SHA1 Message Date
yangchen
e47a558717 af_xdp: support tx multi-buffer 2024-12-18 20:07:38 +08:00
openeuler-ci-bot
69810ac3ac
!680 fix CVE-2024-11614
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-12-25 06:41:49 +00:00
jiangheng
0a6798b3ea fix CVE-2024-11614 2024-12-24 09:45:51 +08:00
openeuler-ci-bot
92344de7af
!676 Change %post script to %posttrans
From: @ccdxx 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-12-18 09:04:39 +00:00
chendexi
3c5d105b38
Change %post script to %posttrans
Signed-off-by: chendexi <chendexi@kylinos.cn>
2024-12-18 01:46:45 +00:00
openeuler-ci-bot
a2378a2f47
!661 net/af_xdp: fix getsockopt ENOTSOCK error
From: @yangchen555 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-11-01 02:20:06 +00:00
yangchen
25582a62dd net/af_xdp: fix getsockopt ENOTSOCK error 2024-11-01 09:13:20 +08:00
openeuler-ci-bot
fa02ee709c
!657 Sync DPDK upstream patch about bugfix
From: @chenyi211 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-10-25 02:18:50 +00:00
chenyi
69981042e0 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
2024-10-24 09:21:47 +08:00
openeuler-ci-bot
0843e2ac6f
!648 af_xdp: fix mbuf ol_flags not init
From: @jiangheng12 
Reviewed-by: @LemmyHuang, @compile_success 
Signed-off-by: @compile_success
2024-10-10 03:47:16 +00:00
jiangheng
77dd3a2184 af_xdp: fix mbuf ol_flags not init 2024-10-10 10:28:57 +08:00
openeuler-ci-bot
02dc5d1cd3
!640 create weak dependency for ko files
From: @lff11111 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-10-08 03:00:02 +00:00
lifeifei
cbc69cefa1 create weak dependency for ko files 2024-09-30 13:59:23 +08:00
openeuler-ci-bot
cea217a07f
!637 af_xdp: build XDP_USE_SG and XDP_PKT_CONTD require kernel-headers
From: @yangchen555 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-09-29 14:34:57 +00:00
openeuler-ci-bot
406b6663bc
!628 af_xdp: del XDP_USE_SG and XDP_PKT_CONTD definition
From: @yangchen555 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-29 11:49:30 +00:00
openeuler-ci-bot
c5ecaf1ae7
!618 af_xdp: add interrupt mode support
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-09-29 06:26:02 +00:00
jiangheng
0a212e28f8 net/af_xdp: add interrupt support 2024-09-29 11:10:16 +08:00
openeuler-ci-bot
71ea37d609
!627 af_xdp: support recv multi-buffer
From: @yangchen555 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-09-27 13:58:12 +00:00
openeuler-ci-bot
de5f96181c
!626 config: arm adapt RTE_MAX_LCORE to 640
From: @yangchen555 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-09-27 12:43:42 +00:00
yangchen
9740fe3fcd af_xdp: build XDP_USE_SG and XDP_PKT_CONTD require kernel-headers 2024-09-27 16:01:43 +08:00
yangchen
7d0f478b50 af_xdp: del XDP_USE_SG and XDP_PKT_CONTD definition 2024-09-27 12:54:13 +08:00
yangchen
cf4507174c af_xdp: support recv multi-buffer 2024-09-27 09:19:27 +08:00
yangchen
49911f0a33 config: arm adapt RTE_MAX_LCORE to 640 2024-09-27 05:21:15 +08:00
openeuler-ci-bot
10e8a65517
!622 [sync] Synchronize DPDK upstream patches about af_xdp
From: @yinbin6 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-09-26 00:59:16 +00:00
hkk
66d7cd4728 Synchronize DPDK upstream patches about af_xdp 2024-09-25 20:17:19 +08:00
openeuler-ci-bot
9a47acaa17
!609 sync some patch from upstream about bugfix
From: @chenyi211 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-08-15 12:42:27 +00:00
chenyi
e05deaac78 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-08-14 17:00:54 +08:00
openeuler-ci-bot
5014df94f8
!603 [sync] PR-601: sync some patches from upstream about bond4
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-07-13 06:31:31 +00:00
hkk
f9110bfafb sync some patches from upstream about bond4
(cherry picked from commit d517244ac25df6b18799ce724cc2be3df68eaa84)
2024-07-12 17:44:47 +08:00
openeuler-ci-bot
34ebea8740
!593 sync some patches from upstream about bugfix
From: @chenyi211 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-06-04 06:31:19 +00:00
chenyi
06d6bbebf3 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
2024-06-03 15:04:51 +08:00
openeuler-ci-bot
8b1da3c048
!587 sync some patches from upstream about bugfix
From: @chenyi211 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-05-30 02:34:40 +00:00
chenyi
7573bb9b6f 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
2024-05-30 09:39:48 +08:00
openeuler-ci-bot
e4f8bbb3d5
!543 add rte_eth_bond_link_monitoring_get in map
From: @yinbin6 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-04-10 06:21:03 +00:00
zhangmengxuan
d8fbc2d080 add rte_eth_bond_link_monitoring_get in map 2024-04-10 11:55:57 +08:00
openeuler-ci-bot
0ae67e2b88
!534 Add support for ppc64le
From: @peng_zou 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2024-03-12 07:07:48 +00:00
peng.zou
9580d07038 Add support for ppc64le 2024-02-02 14:12:43 +08:00
openeuler-ci-bot
6c6636702b
!524 [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-01 11:20:59 +00:00
Dengdui Huang
f55ad35986 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:08 +08:00
openeuler-ci-bot
b8977f0e29
!518 [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-18 07:05:19 +00:00
Dengdui Huang
6d07a1f8c8 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:11 +08:00
openeuler-ci-bot
258e6d9baf
!508 [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:39 +00:00
Dengdui Huang
ab5939fabf 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:25 +08:00
openeuler-ci-bot
f9b027e81a
!503 [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 11:55:34 +00:00
Dengdui Huang
e156be98f7 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:17 +08:00
openeuler-ci-bot
ddab303f2f
!489 [sync] sync master branch
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-11-23 10:21:58 +00:00
Dengdui Huang
bc76778e92 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 21:38:03 +08:00
Dengdui Huang
b0dbcead43 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-21 21:32:35 +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