62 Commits

Author SHA1 Message Date
jiangheng
278a92c3c9 add gazelle-proc-info support in dpdk 2022-11-15 17:44:29 +08:00
kircher
404073f16f dpdk: build gazelle-pdump for pmd_pcap
(cherry picked from commit c10915e05b07c31d80889db2fad63087a9361fb8)
2022-11-14 20:22:41 +08:00
jiangheng
fe8837319c set platform to generic for compatibility 2022-11-07 17:31:58 +08:00
chenjiji09
4b9b49876b 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
2022-10-31 14:49:04 +08:00
jiangheng
5a26657489 fix compile err 2022-10-29 15:33:15 +08:00
jiangheng
5d43ce4f18 backport some patches for gro bugfix 2022-10-29 10:03:48 +08:00
Huisong Li
4f06d27eff 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>
2022-10-24 14:35:15 +08:00
wuchangsheng
5400179cfe reinit support return ok 2022-10-06 17:03:22 +08:00
jiangheng
a60160c0fc remove secure compilation options rpath
(cherry picked from commit 1f60f738cd972c85b9766750c240eb3d85a83c71)
2022-09-14 10:44:22 +08:00
jiangheng
43d0ce1edf fix CVE-2022-28199 2022-09-09 17:45:17 +08:00
jiangheng
5645dcaa57 fix CVE-2022-2132 2022-09-08 20:44:52 +08:00
Honggang LI
889f601f5e Remove duplicated BuildRequires python-pyelftools
python-pyelftools also provided by package python3-pyelftools.

Signed-off-by: Honggang LI <honggangli@163.com>
2022-07-07 12:06:30 +08:00
Honggang LI
62e43640f5 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>
2022-07-05 15:09:55 +08:00
Honggang LI
b03a26615c package up libdpdk-libs.pc and libdpdk.pc
Those files are required to build pktgen.

Signed-off-by: Honggang LI <honggangli@163.com>
2022-06-29 11:23:14 +08:00
openeuler-ci-bot
9236cb8690
!193 sync patches from 22.07
From: @liudongdong3 
Reviewed-by: @li-yangyang20 
Signed-off-by: @li-yangyang20
2022-06-23 11:22:25 +00:00
Dongdong Liu
7beb6a72ff sync patches from 22.07
sync patches from 22.07 for hns3, dma and testpmd etc.

Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
2022-06-18 09:37:55 +08:00
loong-C
517adc1e42
【轻量级PR】 fix bogus date in %changelog 2022-06-13 06:47:06 +00:00
shirely
c9999095cf fix CVE-2021-3839 CVE-2022-0669
(cherry picked from commit 0613aa55c208d165b89303d58b1eab1f67ea2f62)
2022-06-10 20:03:25 +08:00
speech_white
39c2c51541 sync patches for 22.03
Signed-off-by: speech_white <humin29@huawei.com>
2022-05-17 19:55:36 +08:00
Min Hu (Connor)
54c5700439 fix adding examples app
This patch is fix for adding examples: l3fwd,l3fwd-power,dma,kni,ptpclient
to package for test.

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2022-03-23 18:50:21 +08:00
Min Hu (Connor)
8842d8c3c0 add examples app
This patch add examples: l3fwd,l3fwd-power,dma,kni,ptpclient to package
for test.

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2022-03-14 21:09:25 +08:00
speech_white
88dfbcfcf2 sync patches from upstreaming branch
Signed-off-by: speech_white <humin29@huawei.com>
(cherry picked from commit cde27f08d4dbefb7f03bfca6229f95cb88bf08a2)
2022-03-03 20:06:28 +08:00
speech_white
e546250451 sync from upstreaming branch for hns3 PMD
Signed-off-by: speech_white <humin29@huawei.com>
(cherry picked from commit f45233a17346da681c41b30fa02a32c7c5a36f49)
2022-02-09 15:40:29 +08:00
wuchangsheng
ab4f2bac64 fix master thread not set affinity
(cherry picked from commit 731c8e87554ad57bbf035e5cd27d78b54cf1aa09)
2022-02-09 14:30:47 +08:00
jinag12
81a2c19377 modify location of header and library Files
(cherry picked from commit ce8b06da1eb65e0c6dd81a1ddffa9b999dd0d47c)
2022-02-09 11:55:02 +08:00
wuchangsheng
6469e75d96 add symbolic link to header files
add some dynamic library files

(cherry picked from commit 69be74591d9dbdd06abe8e401d58f9333aa2be80)
2022-02-09 10:26:22 +08:00
wuchangsheng
3969bc6d63 add gazelle support 2022-02-08 15:52:38 +08:00
jiangheng
3ed9af82bc update to 21.11 2022-02-08 14:30:32 +08:00
speech_white
8e70332e70 usertools: add Intel DLB device binding
Fix execution failure to add DLB to usertools/dpdk-devbind.py

Signed-off-by: speech_white <humin29@huawei.com>
2021-12-13 09:14:34 +08:00
speech_white
38ce15eeab del doc package
This patch del doc package as OBS python version upgrade to 3.12
which is not support sphinx.

Signed-off-by: speech_white <humin29@huawei.com>
2021-12-10 16:46:48 +08:00
speech_white
36cb6916fb synchronize dmadev and refactor for hns3 PMD
Signed-off-by: speech_white <humin29@huawei.com>
2021-11-12 10:47:55 +08:00
speech_white
effa2043c4 app/testpmd: release flows left before port stop
According to RTE flow user guide, PMD will not keep flow rules after
port stop. Application resources that refer to flow rules become
obsolete after port stop and must not be used.
Testpmd maintains linked list of active flows for each port. Entries in
that list are allocated dynamically and must be explicitly released to
prevent memory leak.
The patch releases testpmd port flow_list that holds remaining flows
before port is stopped.

Signed-off-by: speech_white <humin29@huawei.com>
2021-11-10 10:04:46 +08:00
speech_white
a1a2b7392a app/testpmd: fix PMD cannot get the RSS key
Since the patch '1848b117' has initialized the variable 'key' in
'struct rte_flow_action_rss' with 'NULL', the PMD cannot get the
RSS key now. Details as bellow:

testpmd> flow create 0 ingress pattern eth / ipv4 / end actions
         rss types ipv4-other end key
         1234567890123456789012345678901234567890FFFFFFFFFFFF123
         4567890123456789012345678901234567890FFFFFFFFFFFF
         queues end / end
Flow rule #1 created
testpmd> show port 0 rss-hash key
RSS functions:
         all ipv4-other ip
RSS key:
         4439796BB54C5023B675EA5B124F9F30B8A2C03DDFDC4D02A08C9B3
         34AF64A4C05C6FA343958D8557D99583AE138C92E81150366

This patch sets offset and size of the 'key' variable as the first
parameter of the token 'key'. Later, the address of the RSS key will
be copied to 'key' variable.

Signed-off-by: speech_white <humin29@huawei.com>
2021-11-08 14:33:50 +08:00
speech_white
6e262cb552 synchronize hns3 bugfixes from upstream
synchronize hns3 bugfixes from upstream

Signed-off-by: speech_white <humin29@huawei.com>
2021-11-01 20:32:31 +08:00
chen-jan
c788f02130 fix some secure compilation option issues 2021-09-15 09:22:31 +00:00
speech_white
38d8daf0bd Add bugfixes for hns3 PMD
fix queue flow action validation
fix taskqueue pair reset command
fix Tx push capability

Signed-off-by: speech_white <humin29@huawei.com>
2021-09-13 19:19:04 +08:00
speech_white
087fa3439f support set link up/down for PF
Signed-off-by: speech_white <humin29@huawei.com>
2021-09-02 11:46:53 +08:00
speech_white
4c7a6531fd add lib and testpmd functions to sync upstream
change port link speed without stopping all
add dev configured flag

Signed-off-by: speech_white <humin29@huawei.com>
2021-07-30 08:22:39 +08:00
speech_white
c88e0aa74a Add bugfixes for hns3 PMD
Add bugfixes for hns3 PMD to sync upstream branch.

Signed-off-by: speech_white <humin29@huawei.com>
2021-07-28 10:35:46 +08:00
speech_white
9c075d8207 rearrange package content
keep in accordance with dpdk 19.11 version package arrangement

Signed-off-by: speech_white <humin29@huawei.com>
2021-07-20 11:44:11 +08:00
huangliming
dad284c565 remove redundant README files
Signed-off-by: huangliming <huangliming5@huawei.com>
2021-07-13 09:38:14 +08:00
chenjian
828dc9f442 1.examples move to devel;2.add doc files 2021-07-12 16:16:29 +08:00
huangliming
864b54bb2f change the patch installation to autosetup
Signed-off-by: huangliming <huangliming5@huawei.com>
2021-07-12 10:01:24 +08:00
huangliming
2eb0b07034 add uname-build-checks BuildRequires
Signed-off-by: huangliming <huangliming5@huawei.com>
2021-07-02 14:07:38 +08:00
speech_white
3a8995b1ad Update DPDK baseline version
Update DPDK version from 19.11 to 20.11 and also support
hns3 PMD for Kunpeng 920 and Kunpeng 930.

Signed-off-by: speech_white <humin29@huawei.com>
2021-06-28 00:52:34 +00:00
huangliming
392a488a8d add gcc BuildRequires
Signed-off-by: huangliming <huangliming5@huawei.com>
2021-06-08 19:52:55 +08:00
renmingshuai
1ca47e1909 optimize the efficiency of compiling dpdk 2021-05-24 15:58:17 +08:00
jackie_wu
5a25f19e63 add fstack-protector-strong gcc flags 2021-05-24 09:59:27 +08:00
wu-changsheng
8a5e80b3c6 add support for gazelle
Signed-off-by: wu-changsheng <851744572@qq.com>
2021-04-06 18:46:52 +08:00
LemmyHuang
cad6d14710 fix populate with small virtual chunks
Signed-off-by: LemmyHuang <huangliming5@huawei.com>
2021-01-28 12:48:27 +00:00