197 Commits

Author SHA1 Message Date
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
jiangheng
21f5e2a2ff remove gazelle-proc-info, it function the same as gazellectl -x 2023-06-28 05:40:48 +08:00
openeuler-ci-bot
2316ee19d7
!416 gro:fix gro with tcp push flag
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2023-06-19 13:06:21 +00:00
openeuler-ci-bot
a77a5ef7b9
!409 pdump: fix pcap_dump coredump caused by incorrect pkt_len
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2023-06-19 03:36:00 +00:00
jiangheng12
0c8e235e95 pdump: fix pcap_dump coredump caused by incorrect pkt_len 2023-06-19 10:25:20 +08:00
jiangheng
ecfff64811 gro:fix gro with tcp push flag 2023-06-19 01:02:11 +08:00
openeuler-ci-bot
309217fe62
!405 distinguish self and upstream patches number
From: @jiangheng12 
Reviewed-by: @LemmyHuang 
Signed-off-by: @LemmyHuang
2023-06-09 08:29:36 +00:00
jiangheng12
6361acf3c4 distinguish self and upstream patches number 2023-06-09 14:25:43 +08:00
openeuler-ci-bot
5a13e8ce17
!400 [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:17:02 +00:00
chenjiji09
e94c1efdc4 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:38 +08:00
openeuler-ci-bot
d262df49a1
!393 [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:11:35 +00:00
chenjiji09
27a6500a3d 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:09 +08:00
openeuler-ci-bot
a94781efd9
!387 [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:20 +00:00
chenjiji09
2ea9a774ef 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:46 +08:00
openeuler-ci-bot
cafad72496
!380 examples use static libraries to avoid unlinked dynamic libraries
From: @jiangheng12 
Reviewed-by: @kircher 
Signed-off-by: @kircher
2023-05-27 11:03:19 +00:00
jiangheng12
9b0839cefd examples use static libraries to avoid unlinked dynamic libraries 2023-05-27 17:59:16 +08:00
openeuler-ci-bot
6eadece282
!379 [sync] PR-373: support flow control autoneg for fiber port
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-05-25 12:16:52 +00:00
chenjiji09
41555f32b9 support flow control autoneg for fiber port
Sync some patchs from upstreaming for hns3 pmd and modifies
are as follow:
1. support flow control autoneg for fiber port
2. support simplify hardware checksum offloading
3. support dump media type
4. add Tx Rx descriptor logs
5. fix Rx multiple firmware reset interrupts
6. ethdev: fix one address occupies two entries in MAC addrs

(cherry picked from commit 2af7e093f8ec2ca13cf5b3f372c484b500e07aea)
2023-05-25 15:49:50 +08:00
openeuler-ci-bot
c3d628dec6
!365 fix empty devargs parsing
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-04-28 09:37:49 +00:00
chenjiji09
dfaed15bf9 fix empty devargs parsing
Sync some patchs from upstreaming and modifies are as
follow:
1. The rte_kvargs_process() was used to parse KV pairs, it
also supports to parse 'only keys' type. And the callback
function parameter 'value' is NULL when parsed 'only keys'.
This patch fixes segment fault when parse input args with
'only keys'.
2. The MAP_FAILED should be used to determine whether the
mapping is successful but not NULL. This patch fix it.
2023-04-27 15:25:46 +08:00
openeuler-ci-bot
aa5f42bdbc
!347 telemetry: support display as hexadecimal
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-04-26 12:29:12 +00:00
chenjiji09
9e45664c52 telemetry: support display as hexadecimal
Sync some patchs from upstreaming for telemetry and modifies
are as follow:
1. Support dispaly integer as hexadecimal.
2. Fix data truncation for some u64 accept as int.
3. Add JSON pretty print.
2023-04-25 16:00:44 +08:00
openeuler-ci-bot
34b6e253af
!339 fix a error drivers can not been loaded
From: @bigclouds99 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2023-04-15 11:46:10 +00:00
yuelg
6512723969 Create a softlink to dpdk default driver path
Signed-off-by: yuelg <yuelg@chinaunicom.cn>
2023-04-11 17:55:07 +08:00
openeuler-ci-bot
aaa544526b
!329 add private dump for bonding, virtio, and vhost
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-04-04 03:05:23 +00:00
chenjiji09
cf2e60ea25 add private dump for bonding, virtio and vhost
Sync some patchs from upstreaming branch and modifies
are as follow:
1. Add private dump for bonding, virtio and vhost.
2. Support LACP info dump for bonding.
3. Display RSS hash key of flow rule in testpmd.
2023-04-04 10:19:35 +08:00
openeuler-ci-bot
fabc979549
!328 build as shared libraries to reduce the size of debug packet
From: @jiangheng12 
Reviewed-by: @kircher 
Signed-off-by: @kircher
2023-04-03 13:42:08 +00:00
jiangheng12
b8e46952e0 build as shared libraries to reduce the size of debug packet 2023-04-01 22:34:34 +08:00
openeuler-ci-bot
317bfaeda4
!327 hinic: free tx mbuf use rte_pktmbuf_free_seg
From: @jiangheng12 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2023-04-01 14:32:52 +00:00
jiangheng12
5ab3035fb1 hinic: free tx mbuf use rte_pktmbuf_free_seg 2023-04-01 21:58:00 +08:00
openeuler-ci-bot
20abaa9cf4
!321 Fix a m_buf pool was not freed bug for test and support CPPC cpufreq for l3fwd-power.
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-03-24 10:04:30 +00:00