61 Commits

Author SHA1 Message Date
jiangheng
5fc8a2786c fix build with kernel 5.18+ 2023-02-28 20:37:25 +08:00
wu-changsheng
0d4454845a remove unused patch 2023-02-28 19:37:00 +08:00
jiangheng
d7e2cc9f49 fix build failed due to kernel to upgrade 6.1 2023-02-27 16:21:28 +08: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
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
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
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
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
jiangheng
cd1dcb8515 add gazelle-proc-info support in dpdk
(cherry picked from commit 278a92c3c9bf8e1ae4a0138edd076561fbf48fe4)
2022-11-15 20:42:55 +08:00
kircher
c09f4586c4 dpdk: build gazelle-pdump for pmd_pcap
(cherry picked from commit c10915e05b07c31d80889db2fad63087a9361fb8)
2022-11-14 20:22:47 +08:00
jiangheng
944fcd088f set platform to generic for compatibility
(cherry picked from commit fe8837319c75f490c63c62a2d7310b0f16734707)
2022-11-07 19:16:42 +08: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
jiangheng
11754299eb backport some patches for gro bugfix
(cherry picked from commit 690d3b7a0359fdfa2906dcec0019ccd0cfc7f922)
2022-10-31 17:13:55 +08: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
wuchangsheng
f21a02357e reinit support return ok
(cherry picked from commit 5400179cfedfb34ee5e5f295502d38f68211e5b9)
2022-10-06 17:42:55 +08:00
jiangheng
9b9b3ff181 remove secure compilation options rpath
(cherry picked from commit 1f60f738cd972c85b9766750c240eb3d85a83c71)
2022-09-14 10:44:27 +08:00
jiangheng
1a5685b0f1 fix CVE-2022-28199
(cherry picked from commit 43d0ce1edf44dbfdf760cdcdc2db428c8a118927)
2022-09-09 19:31:17 +08:00
jiangheng
d07b9ae0dc fix CVE-2022-2132
(cherry picked from commit 5645dcaa570c7d64cf617a15d7a6795270ce999d)
2022-09-08 22:33:45 +08: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
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
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
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
loong-C
cddde7aad8
fix bad date in %changelog 2022-06-16 08:54:35 +00:00
shirely
0613aa55c2 fix CVE-2021-3839 CVE-2022-0669 2022-06-10 17:31:55 +08:00
speech_white
62a20ce454 sync patches for 22.03
Signed-off-by: speech_white <humin29@huawei.com>
(cherry picked from commit 39c2c5154122fef74060ffd6dbbe8cd4fdd9d21b)
2022-06-10 11:46:01 +08:00
Min Hu (Connor)
4bdb3d7612 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>
(cherry picked from commit 54c57004391ce22598c6307f209cb9e97089aad1)
2022-03-24 09:15:48 +08:00
Min Hu (Connor)
472de95116 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>
(cherry picked from commit 8842d8c3c08557f333ac9225d0db3e25dca6ab26)
2022-03-15 10:57:59 +08:00
speech_white
a50a1dc536 sync patches from upstreaming branch
Signed-off-by: speech_white <humin29@huawei.com>
(cherry picked from commit cde27f08d4dbefb7f03bfca6229f95cb88bf08a2)
2022-02-17 14:57:24 +08:00
speech_white
d01f08a654 sync from upstreaming branch for hns3 PMD
Signed-off-by: speech_white <humin29@huawei.com>
(cherry picked from commit f45233a17346da681c41b30fa02a32c7c5a36f49)
2022-02-10 18:50:57 +08:00
wuchangsheng
731c8e8755 fix master thread not set affinity 2022-01-14 11:19:01 +08:00
jinag12
ce8b06da1e modify location of header and library Files 2022-01-12 11:08:26 +08:00
wuchangsheng
69be74591d add symbolic link to header files
add some dynamic library files
2022-01-11 10:10:20 +08:00
wuchangsheng
b1c213db04 add gazelle support 2021-12-25 18:12:33 +08:00
jiangheng
6ccfbd709e update to 21.11 2021-12-21 20:29:18 +08:00
speech_white
1c77287214 sync to master branch
sync patches ranges from versoin 9 t0 17 from master branch

Signed-off-by: speech_white <humin29@huawei.com>
2021-12-17 10:45:19 +08:00
chen-jan
c63dc3a603 fix some secure compilation option issues 2021-09-15 06:17:43 +00: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