198 Commits

Author SHA1 Message Date
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
openeuler-ci-bot
84ccdd6970
!470 [sync] PR-466: fix setting default MAC address duplicately
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-08-25 10:40:37 +00:00
Dengdui Huang
8aa4ae2b40 fix patch-287 duplicate address setting
This patch fix patch-287 duplicate address setting.

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
(cherry picked from commit c46b089b736f2573391d7c02b1a8b518b217a12c)
2023-08-24 20:39:33 +08:00
openeuler-ci-bot
c11a48ecd8
!459 [sync] PR-440: net/hns3: add FDIR VLAN match mode runtime config and fix doc format
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-07-19 01:34:32 +00:00
chenjiji09
57abe28191 net/hns3: add FDIR VLAN match mode runtime config and fix doc format
Sync some patchs from upstreaming about add FDIR VLAN match
mode runtime config and fix doc format for hns3 pmd. Patchs
are as follow:
- doc: unify sections of networking drivers guide
- net/hns3: delete duplicate macro definition
- net/hns3: add FDIR VLAN match mode runtime config
- doc: fix kernel patch link in hns3 guide
- doc: fix syntax in hns3 guide
- doc: fix number of leading spaces in hns3 guide

(cherry picked from commit 4f1d694e3c761058a337ccd95f6c91f113710cab)
2023-07-18 10:53:21 +08:00
openeuler-ci-bot
951fc89168
!455 [sync] PR-454: kni:fix build with Linux 6.3/6.5
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-07-18 02:27:26 +00:00
jiangheng12
6aa9087b57 kni:fix build with Linux 6.3/6.5
remove unused patch intruduced by"fix build with GCC 12"

(cherry picked from commit ed3c390d8025d3d75813e30be22b26bf0fb6861c)
2023-07-17 16:07:20 +08:00
openeuler-ci-bot
d01d8c6a0d
!448 [sync] PR-447: fix build with GCC 12
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-07-14 03:03:53 +00:00
jiangheng12
7b9cc4c5a2 fix build with GCC 12
(cherry picked from commit d1c19aae07fc1940cea32a797e9bc9b23377f317)
2023-07-12 19:51:01 +08:00
openeuler-ci-bot
695deba9d9
!442 [sync] PR-439: 添加对 LoongArch 架构的支持
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-07-10 02:03:24 +00:00
Min Zhou
3a63a918ed eal/loongarch: support LoongArch architecture
This patch adds the support for LoongArch architecture. Meanwhile,
backports bugfixes for ixgbe driver needed by LoongArch, and removes
linking to i40e driver for LoongArch because it was not supported in
this version.

Signed-off-by: Min Zhou <zhoumin@loongson.cn>
(cherry picked from commit 53eeb4c6d07277ff13cd526606d63b08e02b8d38)
2023-07-07 11:33:11 +08:00
openeuler-ci-bot
deb33fc7a5
!433 [sync] PR-431: remove gazelle-proc-info, it function the same as gazellectl -x
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-07-05 03:38:23 +00:00
jiangheng
530cc952ae remove gazelle-proc-info, it function the same as gazellectl -x
(cherry picked from commit 21f5e2a2ff67b4a1a388f6c7bec5537c9b4ba8e2)
2023-07-04 20:02:04 +08:00
openeuler-ci-bot
4bbdca09e7
!422 [sync] PR-416: gro:fix gro with tcp push flag
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-06-20 03:07:14 +00:00
jiangheng
a1845e7985 gro:fix gro with tcp push flag
(cherry picked from commit ecfff64811c179cb4205184dd1f7bf9d35baf699)
2023-06-20 08:59:16 +08:00
openeuler-ci-bot
c4258271f0
!419 [sync] PR-409: pdump: fix pcap_dump coredump caused by incorrect pkt_len
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-06-20 00:57:00 +00:00
jiangheng12
ab0b07958b pdump: fix pcap_dump coredump caused by incorrect pkt_len
(cherry picked from commit 0c8e235e9551e8d2323b264f2f2d4628189f1173)
2023-06-19 22:12:21 +08:00
openeuler-ci-bot
55cfaca2a7
!414 [sync] PR-412: distinguish self and upstream patches number
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-06-19 12:31:50 +00:00
jiangheng12
d4055b132d distinguish self and upstream patches number
(cherry picked from commit 0ab339a4091e230de22358f217d28e0e89a274ac)
2023-06-19 15:35:59 +08:00
openeuler-ci-bot
2dfba4c232
!403 [sync] PR-398: fix testpmd segment fault and hns3 IMP reset trigger
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-06-09 06:18:55 +00:00
chenjiji09
8f6a9dec60 fix testpmd segment fault and hns3 IMP reset trigger
Sync some patchs from upstreaming about a segment fault for
testpmd app and a IMP reset trigger for hns3 pmd. Patchs are
as follow:
- ethdev: add API to check if queue is valid
- app/testpmd: fix segment fault with invalid queue ID
- net/hns3: fix IMP reset trigger

(cherry picked from commit 06e0b2741afcd87d686d24608ecb3c974ea83f6d)
2023-06-09 09:30:50 +08:00
openeuler-ci-bot
538b98e1d7
!395 [sync] PR-392: net/hns3: fix Rx ring mbuf leakage
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-06-09 01:12:41 +00:00
chenjiji09
6112eef767 net/hns3: fix Rx ring mbuf leakage
Sync some patchs from upstreaming for hns3 pmd and modifies
are as follow:
1. fix RTC time after reset
2. fix Rx ring mbuf leakage at reset process
3. fix uninitialized variable
4. modify the code that violates the coding standards

(cherry picked from commit f98940e02a12dc752a60e786009ee44cb6b32132)
2023-06-06 21:42:16 +08:00
openeuler-ci-bot
b2475af37f
!389 [sync] PR-386: net/hns3: add LLRS FEC mode support for 200G ports
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-06-06 06:25:01 +00:00
chenjiji09
3c37f75e18 net/hns3: add LLRS FEC mode support for 200G ports
Sync some patchs from upstreaming about FEC feature. Patchs
are as follow:
- net/hns3: fix FEC mode for 200G ports
- net/hns3: fix FEC mode check error
- net/hns3: fix missing FEC capability
- ethdev: introduce low latency RS FEC
- app/testpmd: add setting and querying of LLRS FEC mode
- net/hns3: add LLRS FEC mode support for 200G ports
- net/hns3: get current FEC capability from firmware

(cherry picked from commit 9266c3e618cf38cde9cd630c88a1a571064f825f)
2023-06-05 10:39:55 +08:00