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
chenjiji09
cf6fe7cb51
Fix a m_buf pool was not freed bug for test and support CPPC cpufreq for l3fwd-power.
...
Patchs are as follow:
- test/mbuf: fix mbuf reset test
- examples/l3fwd-power: support CPPC cpufreq
2023-03-23 16:49:24 +08:00
openeuler-ci-bot
3139ab2af0
!320 fix some RSS bugs and reimplement hash flow function for hns3
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2023-03-23 03:41:00 +00:00
chenjiji09
651fc55df0
Fix some RSS bugs and reimplement hash flow function for hns3.
...
1. fix some RSS bugs and optimize RSS codes for hns3
2. reimplement hash flow function for hns3 to satisfy the mainstream usage of rte flow hash in the community
2023-03-23 10:30:51 +08:00
openeuler-ci-bot
e7741e4701
!313 Support flow rule keeping capability for hns3 PMD and testpmd
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2023-03-06 02:24:59 +00:00
chenjiji09
f8c9d4f3cb
Support flow rule keeping capability for hns3 PMD and testpmd.
...
Patchs are as follow:
- net/hns3: declare flow rule keeping capability
- app/testpmd: add --disable-flow-flush option
2023-03-03 17:34:31 +08:00
openeuler-ci-bot
362ed93fc4
!300 refactor Rx/Tx function of hns3 PMD
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2023-03-02 09:18:45 +00:00
chenjiji09
571fd96353
refactor Rx/Tx function of hns3 PMD
...
And patchs are as follows:
- net/hns3: fix burst mode query with dummy function
- net/hns3: add debug info for Rx/Tx dummy function
- net/hns3: remove debug condition for Tx prepare
- net/hns3: separate Tx prepare from getting Tx function
- net/hns3: make getting Tx function static
- net/hns3: extract common functions to set Rx/Tx
2023-02-23 19:10:04 +08:00
openeuler-ci-bot
4a4528fd7e
!296 Sync some patches for hns3 PMD
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2023-02-21 07:13:24 +00:00
chenjiji09
d1d2e1e3f1
Sync some RSS bugfix for hns3 PMD. And patchs are as follows:
...
- net/hns3: fix log about indirection table size
- net/hns3: extract common function to query device
- net/hns3: refactor set RSS hash algorithm and key interface
- net/hns3: fix RSS key size compatibility
- net/hns3: fix clearing RSS configuration
- net/hns3: use RSS filter list to check duplicated rule
- net/hns3: remove useless code when destroy valid RSS rule
- net/hns3: fix warning on flush or destroy rule
- net/hns3: fix config struct used for conversion
- net/hns3: fix duplicate RSS rule check
2023-02-16 11:03:53 +08:00
openeuler-ci-bot
6175fd3650
!291 fix build with kernel 5.18+
...
From: @jiangheng12
Reviewed-by: @kircher
Signed-off-by: @kircher
2023-02-07 07:03:52 +00:00
jiangheng
87a23c168f
fix build with kernel 5.18+
2023-02-06 10:06:30 +08:00
openeuler-ci-bot
aed45c1862
!290 net/hns3: fix inaccurate RTC time to read
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2023-02-04 03:51:44 +00:00
chenjiji09
546a1a2337
net/hns3: fix inaccurate RTC time to read
...
The sequence of reading current RTC time register doesn't meet
the hardware requirements, which causes this time obtained is
the one before modifying RTC time.
2023-02-03 16:37:01 +08:00
openeuler-ci-bot
4893be7a99
!289 remove unused patch
...
From: @jiangheng12
Reviewed-by: @kircher
Signed-off-by: @kircher
2023-02-01 02:10:31 +00:00
jiangheng
23e0b6926a
remove unused patch
2023-01-31 19:43:46 +08:00
openeuler-ci-bot
6dbf5bb7e5
!285 修复内核升级导致的编译报错
...
From: @jiangheng12
Reviewed-by: @wu-changsheng
Signed-off-by: @wu-changsheng
2023-01-30 08:34:17 +00:00
jiangheng
691c139fe8
fix build failed due to kernel to upgrade 6.1
2023-01-30 14:16:25 +08:00
openeuler-ci-bot
7bbc3f59e9
!280 dma/hisilicon: support vchan status query
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2022-12-14 09:43:48 +00:00
chenjiji09
24c8f50508
dma/hisilicon: support vchan status query
...
This patch adds support for vchan-status ops.
2022-12-14 16:58:38 +08:00
openeuler-ci-bot
8380525d19
!271 Add dumping features for proc-info
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2022-11-17 06:22:15 +00:00
chenjiji09
b5fa0e5ece
proc-info adds dumping the following features:
...
- dpdk version
- firmware version
- RSS RETA
- module eeprom information
- Rx/Tx burst mode
- Rx/Tx descriptor
2022-11-17 12:05:11 +08:00
openeuler-ci-bot
86482ce075
!268 Sync some patches for bonding PMD and testpmd
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2022-11-16 06:56:24 +00:00
chenjiji09
e33f71a887
Sync some patches for bonding PMD and testpmd. And patchs
...
are as follows:
- app/testpmd: revert MAC update in checksum forwarding
- net/bonding: fix bond4 drop valid MAC packets
- net/bonding: fix slave device Rx/Tx offload configuration
- app/testpmd: fix MAC header in csum forward engine
- app/testpmd: update bond port configurations when add slave
- app/testpmd: fix GENEVE parsing in checksum mode
- net: add UDP/TCP checksum in mbuf segments
- app/testpmd: add SW L4 checksum in multi-segments
- app/testpmd: fix L4 checksum in multi-segments
- net/bonding: fix mbuf fast free handling
2022-11-16 11:09:39 +08:00
openeuler-ci-bot
b1cd3eecd9
!263 add gaelle-proc-info support in dpdk
...
From: @jiangheng12
Reviewed-by: @wu-changsheng
Signed-off-by: @wu-changsheng
2022-11-15 12:41:15 +00:00
jiangheng
278a92c3c9
add gazelle-proc-info support in dpdk
2022-11-15 17:44:29 +08:00
openeuler-ci-bot
b0833d9e31
!260 [sync] PR-259: add gazelle-pdump support in dpdk
...
From: @openeuler-sync-bot
Reviewed-by: @wu-changsheng
Signed-off-by: @wu-changsheng
2022-11-14 16:09:55 +00:00
kircher
404073f16f
dpdk: build gazelle-pdump for pmd_pcap
...
(cherry picked from commit c10915e05b07c31d80889db2fad63087a9361fb8)
2022-11-14 20:22:41 +08:00
openeuler-ci-bot
ca44bffd10
!253 set platform to generic for compatibility
...
From: @jiangheng12
Reviewed-by: @wu-changsheng
Signed-off-by: @wu-changsheng
2022-11-07 11:16:32 +00:00
jiangheng
fe8837319c
set platform to generic for compatibility
2022-11-07 17:31:58 +08:00
openeuler-ci-bot
2c39ddac4f
!248 Sync some patches for bonding PMD and testpmd
...
From: @chenjiji09
Reviewed-by: @li-huisong
Signed-off-by: @li-huisong
2022-11-01 03:35:58 +00:00