48 Commits

Author SHA1 Message Date
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
LemmyHuang
6d4db4fbcf fix yum update dpdk-tools conflict with dpdk-devel
Signed-off-by: LemmyHuang <huangliming5@huawei.com>
2021-01-28 11:59:55 +00:00
LemmyHuang
a6465d3068 fix compilation error of max-inline-insns-single-o2 limit reached
Signed-off-by: LemmyHuang <huangliming5@huawei.com>
2021-01-28 09:03:59 +00:00
peanut_huang
55e7099728 fix CVE-2020-14374 CVE-2020-14375
Signed-off-by: peanut_huang <huangliming5@huawei.com>
2020-12-28 03:14:03 +00:00
seuzw
47f8e37bc9 fix CVE-2020-14376 CVE-2020-14377 CVE-2020-14378 2020-11-25 10:55:42 +08:00
seuzw
7b817afce9 kni: fix build with Linux 5.6 and 5.9 2020-11-20 18:50:33 +08:00
hubble_zhu
1ae143c003 update pyelftools to python3-pyelftools 2020-09-23 14:57:58 +08:00
hubble_zhu
7048047ab5 update dpdk.spec 2020-09-22 19:56:21 +08:00
hubble_zhu
d7b05231d5 Add requiries for dpdk-pmdinfo 2020-09-22 19:30:58 +08:00
seuzw
f74cfa823e update source URL 2020-09-03 20:10:01 +08:00
chxssg
4ec9a79d56 fix CVE-2020-10722 CVE-2020-10723 CVE-2020-10724 CVE-2020-10725 CVE-2020-10726 2020-08-24 16:43:29 +08:00
Min Hu
daecad0d5c add changelog in dpdk.spec 2020-05-27 11:13:26 +08:00
Min Hu
33cc19fe4a add dpdk v19.11 2020-04-16 16:26:47 +08:00