129 Commits

Author SHA1 Message Date
chenjiji09
dc9da0240d 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

(cherry picked from commit 651fc55df087a9855b899eea5e5fda45a1316893)
2023-03-27 11:47:02 +08:00
openeuler-ci-bot
2ec70c0050
!314 [sync] PR-313: Support flow rule keeping capability for hns3 PMD and testpmd
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-03-15 01:52:09 +00:00
chenjiji09
9f0195e26d 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

(cherry picked from commit f8c9d4f3cb51c95bef01fa1737110eabd99c7c60)
2023-03-06 10:43:53 +08:00
openeuler-ci-bot
d3382547e7
!312 refactor Rc/Tx function of hns3 PMD
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-03-06 02:27:22 +00:00
chenjiji09
c9550b9870 refactor Rc/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-03-02 18:43:53 +08:00
openeuler-ci-bot
674339751f
!305 fix build with kernel 5.18+
From: @jiangheng12 
Reviewed-by: @kircher 
Signed-off-by: @kircher
2023-02-28 13:39:33 +00:00
jiangheng
5fc8a2786c fix build with kernel 5.18+ 2023-02-28 20:37:25 +08:00
openeuler-ci-bot
f12b47dbbc
!304 remove unused patch
From: @jiangheng12 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2023-02-28 12:24:36 +00:00
wu-changsheng
0d4454845a remove unused patch 2023-02-28 19:37:00 +08:00
openeuler-ci-bot
a52c7f3e21
!303 fix build failed due to kernel to upgrade 6.1
From: @jiangheng12 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2023-02-28 01:12:07 +00:00
jiangheng
d7e2cc9f49 fix build failed due to kernel to upgrade 6.1 2023-02-27 16:21:28 +08:00
openeuler-ci-bot
c9d8989db5
!295 Sync some patches for hns3 PMD
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-02-21 07:11:17 +00:00
chenjiji09
3380c3cba1 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:18:00 +08:00
openeuler-ci-bot
99a58da140
!288 net/hns3: fix inaccurate RTC time to read
From: @chenjiji09 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2023-02-01 06:27:08 +00:00
chenjiji09
3df1a1e306 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-01-31 17:36:08 +08:00
openeuler-ci-bot
43c285eba9
!282 [sync] PR-280: dma/hisilicon: support vchan status query
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2022-12-16 06:53:02 +00:00
chenjiji09
9468ecd5b8 dma/hisilicon: support vchan status query
This patch adds support for vchan-status ops.

(cherry picked from commit 24c8f505088c104657eb923a47c60eff3b846402)
2022-12-14 17:43:59 +08:00
openeuler-ci-bot
82218a6ce9
!273 [sync] PR-271: Add dumping features for proc-info
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2022-11-17 12:09:43 +00:00
chenjiji09
978e3abd3b proc-info adds dumping the following features:
- dpdk version
 - firmware version
 - RSS RETA
 - module eeprom information
 - Rx/Tx burst mode
 - Rx/Tx descriptor

(cherry picked from commit b5fa0e5ece15d8a550ad9d4da199180477d28e6b)
2022-11-17 14:22:27 +08:00
openeuler-ci-bot
e547f6503d
!270 [sync] PR-268: Sync some patches for bonding PMD and testpmd
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-11-16 14:10:19 +00:00
chenjiji09
9a66244233 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

(cherry picked from commit e33f71a88757d130f19712e0efd64ab7623510fb)
2022-11-16 14:56:36 +08:00
openeuler-ci-bot
8daa1a2dc6
!266 [sync] PR-263: add gaelle-proc-info support in dpdk
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-11-15 13:41:29 +00:00
jiangheng
cd1dcb8515 add gazelle-proc-info support in dpdk
(cherry picked from commit 278a92c3c9bf8e1ae4a0138edd076561fbf48fe4)
2022-11-15 20:42:55 +08:00
openeuler-ci-bot
1bfcf24efb
!261 [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:10:23 +00:00
kircher
c09f4586c4 dpdk: build gazelle-pdump for pmd_pcap
(cherry picked from commit c10915e05b07c31d80889db2fad63087a9361fb8)
2022-11-14 20:22:47 +08:00
openeuler-ci-bot
6797454906
!255 [sync] PR-253: set platform to generic for compatibility
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2022-11-08 14:23:39 +00:00
jiangheng
944fcd088f set platform to generic for compatibility
(cherry picked from commit fe8837319c75f490c63c62a2d7310b0f16734707)
2022-11-07 19:16:42 +08:00
openeuler-ci-bot
08d95d28bd
!252 [sync] PR-248: Sync some patches for bonding PMD and testpmd
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2022-11-02 06:00:50 +00:00
chenjiji09
6773fbb43a Sync some patches for bonding PMD and testpmd. And patchs
are as follows:
 - net/bonding: fix Tx hash for TCP
 - net/bonding: add link speeds configuration
 - net/bonding: call Tx prepare before Tx burst
 - net/bonding: fix MTU set for slaves
 - app/testpmd: remove jumbo offload related code

(cherry picked from commit 4b9b49876b4ace72c09cc28416aa5e5d851c3ad5)
2022-11-01 11:36:12 +08:00
openeuler-ci-bot
d1f313b77e
!249 [sync] PR-247: backport some patches for gro bugfix
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-10-31 11:28:40 +00:00
jiangheng
11754299eb backport some patches for gro bugfix
(cherry picked from commit 690d3b7a0359fdfa2906dcec0019ccd0cfc7f922)
2022-10-31 17:13:55 +08:00
openeuler-ci-bot
45458322fd
!240 [sync] PR-238: sig-dpdk: sync some patches for PMD/LIB/APP
From: @openeuler-sync-bot 
Reviewed-by: @li-huisong 
Signed-off-by: @li-huisong
2022-10-26 02:41:59 +00:00
Huisong Li
7d8194517a sig-dpdk: sync some patches for PMD/LIB/APP
Sync some patches for hns3 PMD, telemetry and testpmd. And main
modifications are as follows:
 - backport some bugfixes for hns3
 - revert Tx performance optimization for hns3
 - add Rx/Tx descriptor dump feature for hns3
 - refactor some RSS commands for testpmd
 - add ethdev telemetry private dump
 - add dmadev telemetry
 - sync telemetry lib

Signed-off-by: Huisong Li <lihuisong@huawei.com>
(cherry picked from commit 4f06d27eff9aa99c2e2073ac74328893990ed8ed)
2022-10-24 16:11:45 +08:00
openeuler-ci-bot
28de807d4a
!231 [sync] PR-228: 重复初始化支持根据参数返回成功
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-10-06 09:48:19 +00:00
wuchangsheng
f21a02357e reinit support return ok
(cherry picked from commit 5400179cfedfb34ee5e5f295502d38f68211e5b9)
2022-10-06 17:42:55 +08:00
openeuler-ci-bot
0e9d15d3a4
!224 [sync] PR-221: remove secure complilation options rpath
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2022-09-16 11:15:09 +00:00
jiangheng
9b9b3ff181 remove secure compilation options rpath
(cherry picked from commit 1f60f738cd972c85b9766750c240eb3d85a83c71)
2022-09-14 10:44:27 +08:00
openeuler-ci-bot
7998d6978b
!218 [sync] PR-216: fix CVE-2022-28199
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2022-09-13 01:40:18 +00:00
jiangheng
1a5685b0f1 fix CVE-2022-28199
(cherry picked from commit 43d0ce1edf44dbfdf760cdcdc2db428c8a118927)
2022-09-09 19:31:17 +08:00
openeuler-ci-bot
a2aab99579
!212 [sync] PR-209: fix CVE-2022-2132
From: @openeuler-sync-bot 
Reviewed-by: @jiangheng12 
Signed-off-by: @jiangheng12
2022-09-09 02:36:26 +00:00
jiangheng
d07b9ae0dc fix CVE-2022-2132
(cherry picked from commit 5645dcaa570c7d64cf617a15d7a6795270ce999d)
2022-09-08 22:33:45 +08:00
openeuler-ci-bot
cb7217047f
!206 [sync] PR-200: Remove duplicated BuildRequires python-pyelftools
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-07-11 11:45:14 +00:00
Honggang LI
474481cdd2 Remove duplicated BuildRequires python-pyelftools
python-pyelftools also provided by package python3-pyelftools.

Signed-off-by: Honggang LI <honggangli@163.com>
(cherry picked from commit 889f601f5e726a7c98fda91705f5514e2406b0cb)
2022-07-11 19:05:35 +08:00
openeuler-ci-bot
61cad48206
!204 [sync] PR-199: Build mlx5 and mlx4 PMD
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-07-11 11:05:12 +00:00
Honggang LI
35d480abbf Build mlx5 and mlx4 PMD
We need mlx5 PMD to run gazelle over Mellanox connectx-6 device.

Signed-off-by: Honggang LI <honggangli@163.com>
(cherry picked from commit 62e43640f51cbe9d90a8311bdcfe5ba9c3afcfba)
2022-07-11 17:16:06 +08:00
openeuler-ci-bot
7faaeb3949
!202 [sync] PR-193: sync patches from 22.07
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-07-11 09:15:35 +00:00
Dongdong Liu
b381e82182 sync patches from 22.07
sync patches from 22.07 for hns3, dma and testpmd etc.

Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
(cherry picked from commit 7beb6a72fff2920a2d993030b0b02822249707fb)
2022-07-11 16:33:37 +08:00
openeuler-ci-bot
d5983939f4
!198 [sync] PR-196: package up libdpdk-libs.pc and libdpdk.pc
From: @openeuler-sync-bot 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-07-02 06:57:58 +00:00
Honggang LI
b71c7f2bdf package up libdpdk-libs.pc and libdpdk.pc
Those files are required to build pktgen.

Signed-off-by: Honggang LI <honggangli@163.com>
(cherry picked from commit b03a26615c94f30ed68aedfd9ceb64e348fcbab2)
2022-07-02 14:57:28 +08:00
openeuler-ci-bot
b79bd089f9
!191 【轻量级 PR】:fix bad date in %changelog
From: @loong-C 
Reviewed-by: @wu-changsheng 
Signed-off-by: @wu-changsheng
2022-06-20 11:48:04 +00:00