Skip to content

Commit 86fefb8

Browse files
committed
dpdk 24.03
Signed-off-by: syaakov <[email protected]>
1 parent d50d99f commit 86fefb8

File tree

2,360 files changed

+262027
-105617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,360 files changed

+262027
-105617
lines changed

linux/ws_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
GCC6_DIRS = ['/usr/local/gcc-6.2/bin', '/opt/rh/devtoolset-6/root/usr/bin']
2929
GCC7_DIRS = ['/usr/local/gcc-7.4/bin', '/opt/rh/devtoolset-7/root/usr/bin']
30-
GCC8_DIRS = ['/usr/local/gcc-8.3/bin']
30+
GCC8_DIRS = ['/usr/local/gcc-8.3/bin', '/opt/rh/devtoolset-8/root/usr/bin']
3131

3232

3333
class SrcGroup:

linux_dpdk/ws_main.py

Lines changed: 49 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
'-Wno-literal-suffix',
6161
'-Wno-sign-compare',
6262
'-Wno-strict-aliasing',
63+
'-mrtm',
6364
'-Wno-address-of-packed-member']
6465

6566

@@ -69,7 +70,7 @@
6970

7071
GCC6_DIRS = ['/usr/local/gcc-6.2/bin', '/opt/rh/devtoolset-6/root/usr/bin']
7172
GCC7_DIRS = ['/usr/local/gcc-7.4/bin', '/opt/rh/devtoolset-7/root/usr/bin']
72-
GCC8_DIRS = ['/usr/local/gcc-8.3/bin']
73+
GCC8_DIRS = ['/usr/local/gcc-8.3/bin', '/opt/rh/devtoolset-8/root/usr/bin']
7374

7475
MAX_PKG_SIZE = 290 # MB
7576

@@ -1023,16 +1024,16 @@ def getstatusoutput(cmd):
10231024
'dpdk_drv_filter.cpp',
10241025

10251026
'drivers/trex_driver_base.cpp',
1026-
'drivers/trex_driver_bnxt.cpp',
1027+
'drivers/trex_driver_bnxt.cpp',
10271028
'drivers/trex_driver_i40e.cpp',
10281029
'drivers/trex_driver_igb.cpp',
1029-
'drivers/trex_driver_ixgbe.cpp',
1030+
'drivers/trex_driver_ixgbe.cpp',
10301031
'drivers/trex_driver_igc.cpp',
10311032
'drivers/trex_driver_mlx5.cpp',
10321033
'drivers/trex_driver_ice.cpp',
10331034
'drivers/trex_driver_ntacc.cpp',
10341035
'drivers/trex_driver_vic.cpp',
1035-
'drivers/trex_driver_virtual.cpp',
1036+
'drivers/trex_driver_virtual.cpp',
10361037

10371038
'utils/utl_counter.cpp',
10381039
'utils/utl_cpuu.cpp',
@@ -1325,13 +1326,15 @@ def getstatusoutput(cmd):
13251326
'drivers/net/ixgbe/ixgbe_pf.c',
13261327
'drivers/net/ixgbe/ixgbe_rxtx.c',
13271328
'drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c',
1329+
'drivers/net/ixgbe/ixgbe_recycle_mbufs_vec_common.c',
13281330
#'drivers/net/ixgbe/ixgbe_ipsec.c',
13291331
'drivers/net/ixgbe/ixgbe_tm.c',
13301332
'drivers/net/ixgbe/ixgbe_vf_representor.c',
13311333
'drivers/net/ixgbe/rte_pmd_ixgbe.c',
13321334

13331335
#i40e
13341336
'drivers/net/i40e/i40e_rxtx_vec_sse.c',
1337+
'drivers/net/i40e/i40e_recycle_mbufs_vec_common.c',
13351338

13361339
#igc
13371340
'drivers/net/igc/base/igc_api.c',
@@ -1348,14 +1351,14 @@ def getstatusoutput(cmd):
13481351
'drivers/net/igc/igc_flow.c',
13491352
'drivers/net/igc/igc_logs.c',
13501353

1351-
# #virtio
1352-
'drivers/net/virtio/virtio_rxtx_simple_sse.c',
1354+
#virtio
1355+
'drivers/net/virtio/virtio_rxtx_simple_sse.c',
13531356

1354-
# #vmxnet3
1357+
#vmxnet3
13551358
'drivers/net/vmxnet3/vmxnet3_ethdev.c',
13561359
'drivers/net/vmxnet3/vmxnet3_rxtx.c',
13571360

1358-
# #af_packet
1361+
#af_packet
13591362
'drivers/net/af_packet/rte_eth_af_packet.c',
13601363

13611364
# #Amazone ENA
@@ -1413,8 +1416,9 @@ def getstatusoutput(cmd):
14131416
])
14141417

14151418
dpdk_src_x86_64_ext = SrcGroup(dir='src',
1416-
src_list=['drivers/trex_ixgbe_fdir.c',
1417-
'drivers/trex_i40e_fdir.c'
1419+
src_list=[
1420+
'drivers/trex_ixgbe_fdir.c',
1421+
'drivers/trex_i40e_fdir.c',
14181422
]
14191423
)
14201424

@@ -1433,7 +1437,7 @@ def getstatusoutput(cmd):
14331437

14341438
dpdk_src_aarch64 = SrcGroup(dir='src/dpdk/',
14351439
src_list=[
1436-
# #virtio
1440+
#virtio
14371441
'drivers/net/virtio/virtio_rxtx_simple_neon.c',
14381442

14391443
# #libs
@@ -1445,7 +1449,7 @@ def getstatusoutput(cmd):
14451449

14461450
dpdk_src_ppc64le = SrcGroup(dir='src/dpdk/',
14471451
src_list=[
1448-
# #i40e
1452+
#i40e
14491453
'drivers/net/i40e/i40e_rxtx_vec_altivec.c',
14501454

14511455
#libs
@@ -1475,7 +1479,7 @@ def getstatusoutput(cmd):
14751479
'drivers/bus/vmbus/linux/vmbus_bus.c',
14761480
'drivers/bus/vmbus/linux/vmbus_uio.c',
14771481
'drivers/mempool/ring/rte_mempool_ring.c',
1478-
##'drivers/mempool/stack/rte_mempool_stack.c', # requires dpdk/lib/librte_stack/rte_stack.h
1482+
#'drivers/mempool/stack/rte_mempool_stack.c', # requires dpdk/lib/librte_stack/rte_stack.h
14791483

14801484

14811485
# drivers
@@ -1513,14 +1517,12 @@ def getstatusoutput(cmd):
15131517
'drivers/net/bnxt/tf_core/tf_device_p4.c',
15141518
'drivers/net/bnxt/tf_core/tf_device_p58.c',
15151519
'drivers/net/bnxt/tf_core/tf_identifier.c',
1516-
'drivers/net/bnxt/tf_core/tf_shadow_tcam.c',
15171520
'drivers/net/bnxt/tf_core/tf_tcam.c',
15181521
'drivers/net/bnxt/tf_core/tf_util.c',
15191522
'drivers/net/bnxt/tf_core/tf_if_tbl.c',
15201523
'drivers/net/bnxt/tf_core/ll.c',
15211524
'drivers/net/bnxt/tf_core/tf_global_cfg.c',
15221525
'drivers/net/bnxt/tf_core/tf_em_host.c',
1523-
'drivers/net/bnxt/tf_core/tf_shadow_identifier.c',
15241526
'drivers/net/bnxt/tf_core/tf_hash.c',
15251527
'drivers/net/bnxt/tf_core/dpool.c',
15261528
'drivers/net/bnxt/tf_core/tf_tcam_shared.c',
@@ -1556,8 +1558,15 @@ def getstatusoutput(cmd):
15561558
"drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c",
15571559
'drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_wh_plus_act.c',
15581560
'drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_wh_plus_class.c',
1559-
1560-
# #e1000
1561+
'drivers/net/bnxt/tf_core/tf_tcam_mgr_msg.c',
1562+
'drivers/net/bnxt/tf_ulp/bnxt_ulp_meter.c',
1563+
'drivers/net/bnxt/tf_core/cfa_tcam_mgr.c',
1564+
'drivers/net/bnxt/tf_core/cfa_tcam_mgr_session.c',
1565+
'drivers/net/bnxt/tf_core/cfa_tcam_mgr_p4.c',
1566+
'drivers/net/bnxt/tf_core/cfa_tcam_mgr_hwop_msg.c',
1567+
'drivers/net/bnxt/tf_core/cfa_tcam_mgr_p58.c',
1568+
1569+
#e1000
15611570
'drivers/net/e1000/base/e1000_base.c',
15621571
'drivers/net/e1000/base/e1000_80003es2lan.c',
15631572
'drivers/net/e1000/base/e1000_82540.c',
@@ -1584,21 +1593,18 @@ def getstatusoutput(cmd):
15841593
'drivers/net/e1000/igb_pf.c',
15851594
'drivers/net/e1000/igb_rxtx.c',
15861595

1587-
# #memif
1596+
#memif
15881597
'drivers/net/memif/memif_socket.c',
15891598
'drivers/net/memif/rte_eth_memif.c',
15901599

1591-
# #virtio
1600+
#virtio
15921601
'drivers/net/virtio/virtio.c',
15931602
'drivers/net/virtio/virtio_ethdev.c',
15941603
'drivers/net/virtio/virtio_pci.c',
15951604
'drivers/net/virtio/virtio_pci_ethdev.c',
15961605
'drivers/net/virtio/virtio_rxtx.c',
15971606
'drivers/net/virtio/virtio_cvq.c',
1598-
1599-
1600-
#'drivers/net/virtio/virtio_rxtx_packed.c',
1601-
1607+
#'drivers/net/virtio/virtio_rxtx_packed.c',
16021608
'drivers/net/virtio/virtio_rxtx_simple.c',
16031609
'drivers/net/virtio/virtqueue.c',
16041610
'drivers/net/virtio/virtio_user_ethdev.c',
@@ -1641,7 +1647,6 @@ def getstatusoutput(cmd):
16411647
'lib/eal/common/eal_common_hexdump.c',
16421648
'lib/eal/common/eal_common_launch.c',
16431649
'lib/eal/common/eal_common_lcore.c',
1644-
'lib/eal/common/eal_common_log.c',
16451650
'lib/eal/common/eal_common_memalloc.c',
16461651
'lib/eal/common/eal_common_memory.c',
16471652
'lib/eal/common/eal_common_memzone.c',
@@ -1682,7 +1687,6 @@ def getstatusoutput(cmd):
16821687
'lib/eal/linux/eal_hugepage_info.c',
16831688
'lib/eal/linux/eal_interrupts.c',
16841689
'lib/eal/linux/eal_lcore.c',
1685-
'lib/eal/linux/eal_log.c',
16861690
'lib/eal/linux/eal_memalloc.c',
16871691
'lib/eal/linux/eal_memory.c',
16881692
'lib/eal/linux/eal_thread.c',
@@ -1696,6 +1700,7 @@ def getstatusoutput(cmd):
16961700

16971701
'lib/ethdev/rte_ethdev.c',
16981702
'lib/ethdev/rte_flow.c',
1703+
'lib/ethdev/ethdev_linux_ethtool.c',
16991704

17001705
'lib/ethdev/ethdev_trace_points.c',
17011706
'lib/ethdev/ethdev_private.c',
@@ -1740,6 +1745,11 @@ def getstatusoutput(cmd):
17401745
'lib/gso/gso_tunnel_tcp4.c',
17411746
'lib/gso/gso_udp4.c',
17421747

1748+
'lib/log/log.c',
1749+
'lib/log/log_linux.c',
1750+
1751+
'lib/hash/rte_hash_crc.c'
1752+
17431753
])
17441754

17451755
ntacc_dpdk_src = SrcGroup(dir='src/dpdk/drivers/net/ntacc',
@@ -1840,7 +1850,6 @@ def getstatusoutput(cmd):
18401850

18411851
'net/mlx5/linux/mlx5_verbs.c',
18421852
'net/mlx5/linux/mlx5_os.c',
1843-
'net/mlx5/linux/mlx5_mp_os.c',
18441853
'net/mlx5/linux/mlx5_ethdev_os.c',
18451854
'net/mlx5/linux/mlx5_flow_os.c',
18461855
'net/mlx5/linux/mlx5_socket.c',
@@ -1850,6 +1859,11 @@ def getstatusoutput(cmd):
18501859
'net/mlx5/mlx5_vlan.c',
18511860
'net/mlx5/mlx5_rxtx_vec.c',
18521861
'net/mlx5/mlx5_rxmode.c',
1862+
'net/mlx5/linux/mlx5_mp_os.c',
1863+
'net/mlx5/mlx5_flow_geneve.c',
1864+
'net/mlx5/mlx5_flow_quota.c',
1865+
'net/mlx5/mlx5_trace.c',
1866+
'net/mlx5/hws/mlx5dr_crc32.c',
18531867

18541868
])
18551869

@@ -1984,9 +1998,10 @@ def getstatusoutput(cmd):
19841998
'-D__STDC_CONSTANT_MACROS',
19851999
'-D_GNU_SOURCE',
19862000
'-DALLOW_INTERNAL_API',
1987-
'-DABI_VERSION="22.1"',
2001+
'-DABI_VERSION="24.1"',
19882002
'-DALLOW_EXPERIMENTAL_API',
19892003
'-DRTE_USE_FUNCTION_VERSIONING',
2004+
'-DBNXT_TF_APP_ID=0',
19902005
#'-D_GLIBCXX_USE_CXX11_ABI=0', # see libstdc++ ABI changes for string and list
19912006
#'-DTREX_PERF', # used when using TRex and PERF for performance measurement
19922007
#'-D__DEBUG_FUNC_ENTRY__', # Added by Ido to debug Flow Stats
@@ -2011,10 +2026,9 @@ def getstatusoutput(cmd):
20112026
'-DTREX_USE_BPFJIT',
20122027
'-D_GNU_SOURCE',
20132028
'-DALLOW_INTERNAL_API',
2014-
'-DABI_VERSION="22.1"',
2029+
'-DABI_VERSION="24.1"',
20152030
'-DALLOW_EXPERIMENTAL_API',
20162031
'-DSUPPORT_CFA_HW_ALL=1',
2017-
20182032
]
20192033

20202034
common_flags_old = common_flags + [
@@ -2026,7 +2040,7 @@ def getstatusoutput(cmd):
20262040
'-DTREX_USE_BPFJIT',
20272041
'-DALLOW_INTERNAL_API',
20282042
'-DALLOW_EXPERIMENTAL_API',
2029-
'-DABI_VERSION="22.1"',
2043+
'-DABI_VERSION="24.1"',
20302044
'-DSUPPORT_CFA_HW_ALL=1',
20312045

20322046
]
@@ -2094,7 +2108,7 @@ def getstatusoutput(cmd):
20942108

20952109
dpdk_includes_path =''' ../src/
20962110
../src/pal/linux_dpdk/
2097-
../src/pal/linux_dpdk/dpdk_2303_'''+ march +'''/
2111+
../src/pal/linux_dpdk/dpdk_2403_'''+ march +'''/
20982112
../src/dpdk/drivers/
20992113
../src/dpdk/drivers/common/mlx5/
21002114
../src/dpdk/drivers/common/mlx5/linux/
@@ -2171,6 +2185,7 @@ def getstatusoutput(cmd):
21712185
../src/dpdk/
21722186
21732187
../src/dpdk/lib/security/
2188+
../src/dpdk/lib/log/
21742189
21752190
../src/dpdk/drivers/bus/pci/
21762191
../src/dpdk/drivers/bus/auxiliary/
@@ -2215,11 +2230,11 @@ def getstatusoutput(cmd):
22152230

22162231

22172232
if march == 'x86_64':
2218-
DPDK_FLAGS=['-DTAP_MAX_QUEUES=16','-D_GNU_SOURCE', '-DPF_DRIVER', '-DX722_SUPPORT', '-DX722_A0_SUPPORT', '-DVF_DRIVER', '-DINTEGRATED_VF', '-include', '../src/pal/linux_dpdk/dpdk_2303_x86_64/rte_config.h','-DALLOW_INTERNAL_API','-DABI_VERSION="22.1"']
2233+
DPDK_FLAGS=['-DTAP_MAX_QUEUES=16','-D_GNU_SOURCE', '-DPF_DRIVER', '-DX722_SUPPORT', '-DX722_A0_SUPPORT', '-DVF_DRIVER', '-DINTEGRATED_VF', '-include', '../src/pal/linux_dpdk/dpdk_2403_x86_64/rte_config.h','-DALLOW_INTERNAL_API','-DABI_VERSION="24.1"']
22192234
elif march == 'aarch64':
2220-
DPDK_FLAGS=['-DTAP_MAX_QUEUES=16','-D_GNU_SOURCE', '-DPF_DRIVER', '-DVF_DRIVER', '-DINTEGRATED_VF', '-DRTE_FORCE_INTRINSICS', '-include', '../src/pal/linux_dpdk/dpdk_2303_x86_64_aarch64/rte_config.h']
2235+
DPDK_FLAGS=['-DTAP_MAX_QUEUES=16','-D_GNU_SOURCE', '-DPF_DRIVER', '-DVF_DRIVER', '-DINTEGRATED_VF', '-DRTE_FORCE_INTRINSICS', '-include', '../src/pal/linux_dpdk/dpdk_2403_x86_64_aarch64/rte_config.h']
22212236
elif march == 'ppc64le':
2222-
DPDK_FLAGS=['-DTAP_MAX_QUEUES=16','-D_GNU_SOURCE', '-DPF_DRIVER', '-DX722_SUPPORT', '-DX722_A0_SUPPORT', '-DVF_DRIVER', '-DINTEGRATED_VF', '-include', '../src/pal/linux_dpdk/dpdk_2303_x86_64_ppc64le/rte_config.h']
2237+
DPDK_FLAGS=['-DTAP_MAX_QUEUES=16','-D_GNU_SOURCE', '-DPF_DRIVER', '-DX722_SUPPORT', '-DX722_A0_SUPPORT', '-DVF_DRIVER', '-DINTEGRATED_VF', '-include', '../src/pal/linux_dpdk/dpdk_2403_x86_64_ppc64le/rte_config.h']
22232238

22242239
client_external_libs = [
22252240
'simple_enum',

scripts/automation/regression/setups/trex08/benchmark.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,5 @@ test_tcp_sfr_no_crash :
289289
cores : 1
290290
bw_per_core : 20
291291

292+
test_all_profiles :
293+
skip : ['udp_1pkt_range_clients_split_garp.py']

scripts/automation/regression/setups/trex09/benchmark.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,3 +274,5 @@ test_tcp_sfr_no_crash :
274274
bw_per_core : 20
275275

276276

277+
test_all_profiles :
278+
skip : ['udp_1pkt_range_clients_split_garp.py']

src/dpdk/drivers/baseband/acc/acc100_pmd.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@
2323
#define rte_bbdev_log_debug(fmt, ...)
2424
#endif
2525

26-
#define ACC100_VARIANT 0
27-
#define ACC101_VARIANT 1
28-
2926
/* ACC100 PF and VF driver names */
3027
#define ACC100PF_DRIVER_NAME intel_acc100_pf
3128
#define ACC100VF_DRIVER_NAME intel_acc100_vf
3229

33-
/* ACC100 PCI vendor & device IDs */
30+
/* ACC PCI vendor & device IDs */
3431
#define ACC100_VENDOR_ID (0x8086)
3532
#define ACC100_PF_DEVICE_ID (0x0d5c)
3633
#define ACC100_VF_DEVICE_ID (0x0d5d)
34+
#define VRB1_PF_DEVICE_ID (0x57C0)
35+
#define VRB2_PF_DEVICE_ID (0x57C2)
3736

3837
/* Values used in writing to the registers */
3938
#define ACC100_REG_IRQ_EN_ALL 0x1FF83FF /* Enable all interrupts */

src/dpdk/drivers/baseband/acc/acc101_pmd.h

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* SPDX-License-Identifier: BSD-3-Clause
2+
* Copyright (c) 2023 Red Hat, Inc.
3+
*/
4+
5+
#include <rte_log.h>
6+
7+
RTE_LOG_REGISTER_SUFFIX(acc_common_logtype, common, INFO);

0 commit comments

Comments
 (0)