70 Commits

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

(cherry picked from commit 9e45664c52b35caa057da6a442599e03f4527817)
2023-04-27 11:52:07 +08:00
yuelg
02b8bfb52d Create a softlink to dpdk default driver path
Signed-off-by: yuelg <yuelg@chinaunicom.cn>
(cherry picked from commit 6512723969d6d9d74d77916d7306f2347c224e9c)
2023-04-26 18:03:34 +08:00
chenjiji09
ca33ddf86e 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.

(cherry picked from commit cf2e60ea2545fa9c52a6778ad230e3d8dca703e3)
2023-04-23 17:24:14 +08:00
jiangheng12
bb46f5886e build as shared libraries to reduce the size of debug packet
(cherry picked from commit b8e46952e0405c1c02124d027cf55b67d3396794)
2023-04-23 09:39:44 +08:00
jiangheng12
bc3e364327 hinic: free tx mbuf use rte_pktmbuf_free_seg
(cherry picked from commit 5ab3035fb19abaace494a7e0948c05ee043545e2)
2023-04-21 10:47:57 +08:00
chenjiji09
bc6610b548 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

(cherry picked from commit cf6fe7cb51e23e99db070af56b4a75bc041b9751)
2023-03-30 09:08:38 +08:00
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
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
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
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