227 Commits

Author SHA1 Message Date
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
openeuler-ci-bot
700228ad5f
!533 Add support for riscv64
From: @shafeipaozi 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-02-01 09:26:02 +00:00
shafeipaozi
61d05628cf support riscv64 2024-01-25 21:58:25 +08:00
openeuler-ci-bot
aaf390e873
!532 add supprot for loongarch64
From: @yinbin6 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2024-01-23 06:16:55 +00:00
yinbin6
98b0b0e24a add supprot for loongarch64 2024-01-23 10:22:28 +08:00
openeuler-ci-bot
9c5f5dcf40
!528 Add support for ppc64le
From: @peng_zou 
Reviewed-by: @LemmyHuang, @jiangheng12 
Signed-off-by: @jiangheng12
2024-01-23 01:55:44 +00:00
peng.zou
f0f6b53eae Add support for ppc64le 2024-01-16 17:37:48 +08:00
openeuler-ci-bot
c33ab01bb4
!530 add self-developed patches
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-01-13 09:17:52 +00:00
jinag12
ea65d9df08 add self-developed patches 2024-01-13 14:55:02 +08:00
openeuler-ci-bot
2f47ec2a85
!529 upgrade to dpdk-23.11
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2024-01-11 08:47:41 +00:00
jiangheng
5826f05bad upgrade to dpdk-23.11 2024-01-11 15:28:18 +08:00
openeuler-ci-bot
629f945a40
!522 hns3 don't support QinQ insert for VF
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-29 09:35:19 +00:00
Dengdui Huang
0183d0ca4a 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>
2023-12-29 16:55:30 +08:00
openeuler-ci-bot
d5a9c3c74a
!516 Sync some patches for hns3 about mbx refactor and some reste bugfix
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-15 07:56:45 +00:00
Dengdui Huang
de38802427 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>
2023-12-15 11:45:40 +08:00
openeuler-ci-bot
f69dc3b118
!501 sync some bugfix from upstreaming about testpmd and doc
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 11:46:59 +00:00
Dengdui Huang
7868d4e3ae 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>
2023-12-08 18:05:52 +08:00
openeuler-ci-bot
eaa829bb49
!500 sync some bugfix for hns3 reset
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 09:58:51 +00:00
Dengdui Huang
2199d0077d 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>
2023-12-08 17:18:31 +08:00
openeuler-ci-bot
51f11839bc
!498 add support for sw_64
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-12-08 01:58:46 +00:00
herengui
204f624819 添加申威架构支持
Signed-off-by: herengui <herengui@kylinsec.com.cn>
(cherry picked from commit 27cddfd3069a2fbbdc0d091de8cf21944b650afa)
2023-12-07 20:46:05 +08:00
openeuler-ci-bot
0fb876d20f
!487 sync some patchs from upstreaming
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-11-21 07:33:19 +00:00
Dengdui Huang
7730be2444 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 11:45:25 +08:00
openeuler-ci-bot
5aea2c44dd
!482 backport some patch from DPDKcommunity
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-10-30 07:35:53 +00:00
Dengdui Huang
b898ee646a 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-10-30 09:20:31 +08:00
openeuler-ci-bot
100d9070de
!466 fix setting default MAC address duplicately
From: @huangdengdui 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-08-24 11:25:00 +00:00
Dengdui Huang
c46b089b73 fix patch-287 duplicate address setting
This patch fix patch-287 duplicate address setting.

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
2023-08-23 17:37:42 +08:00
openeuler-ci-bot
22a3b4ddaf
!440 net/hns3: add FDIR VLAN match mode runtime config and fix doc format
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-07-18 02:07:59 +00:00
chenjiji09
4f1d694e3c 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
2023-07-17 16:42:18 +08:00
openeuler-ci-bot
6cb2247b93
!454 kni:fix build with Linux 6.3/6.5
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2023-07-17 06:59:31 +00:00
jiangheng12
ed3c390d80 kni:fix build with Linux 6.3/6.5
remove unused patch intruduced by"fix build with GCC 12"
2023-07-17 10:49:12 +08:00
openeuler-ci-bot
138206a240
!447 fix build with GCC 12
From: @jiangheng12 
Reviewed-by: @kircher 
Signed-off-by: @kircher
2023-07-12 11:47:58 +00:00
jiangheng12
d1c19aae07 fix build with GCC 12 2023-07-12 17:05:57 +08:00
openeuler-ci-bot
93cfca9efd
!439 添加对 LoongArch 架构的支持
From: @choumin0930 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-07-07 02:13:00 +00:00
Min Zhou
53eeb4c6d0 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>
2023-07-06 17:16:31 +08:00
openeuler-ci-bot
db6f85caa7
!431 remove gazelle-proc-info, it function the same as gazellectl -x
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2023-07-04 11:44:08 +00:00