jiangheng12
5ab3035fb1
hinic: free tx mbuf use rte_pktmbuf_free_seg
2023-04-01 21:58:00 +08:00
chenjiji09
cf6fe7cb51
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
2023-03-23 16:49:24 +08:00
chenjiji09
651fc55df0
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
2023-03-23 10:30:51 +08:00
chenjiji09
f8c9d4f3cb
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
2023-03-03 17:34:31 +08:00
chenjiji09
571fd96353
refactor Rx/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-02-23 19:10:04 +08:00
chenjiji09
d1d2e1e3f1
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:03:53 +08:00
jiangheng
87a23c168f
fix build with kernel 5.18+
2023-02-06 10:06:30 +08:00
chenjiji09
546a1a2337
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-02-03 16:37:01 +08:00
jiangheng
23e0b6926a
remove unused patch
2023-01-31 19:43:46 +08:00
jiangheng
691c139fe8
fix build failed due to kernel to upgrade 6.1
2023-01-30 14:16:25 +08:00
chenjiji09
24c8f50508
dma/hisilicon: support vchan status query
...
This patch adds support for vchan-status ops.
2022-12-14 16:58:38 +08:00
chenjiji09
b5fa0e5ece
proc-info adds dumping the following features:
...
- dpdk version
- firmware version
- RSS RETA
- module eeprom information
- Rx/Tx burst mode
- Rx/Tx descriptor
2022-11-17 12:05:11 +08:00
chenjiji09
e33f71a887
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
2022-11-16 11:09:39 +08:00
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