summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk.h
diff options
context:
space:
mode:
authorRay Kinsella <mdr@ashroe.eu>2021-05-04 10:07:26 +0100
committerDamjan Marion <dmarion@me.com>2021-05-04 13:57:48 +0000
commit78b0a6e3f6e8644ebd06273f53b2440748ba34f4 (patch)
tree7d8557f0030b94bf1eb9bf35d362570e4cee607e /src/plugins/dpdk/device/dpdk.h
parent7d64631e516ba6c3fd0be12deda00862c1edd69a (diff)
dpdk: allow configuration of max-simd-bitwidth
Enable configuration of DPDK's max-simd-bitwidth through the startup.conf Type: improvement Change-Id: I455148714ffc7caa257931526f310dbefd7ab01c Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r--src/plugins/dpdk/device/dpdk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 5d326983df1..d860a0cbeb8 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -303,6 +303,11 @@ typedef struct
u8 enable_tcp_udp_checksum;
u8 no_tx_checksum_offload;
u8 enable_telemetry;
+ u16 max_simd_bitwidth;
+
+#define DPDK_MAX_SIMD_BITWIDTH_DEFAULT 0
+#define DPDK_MAX_SIMD_BITWIDTH_256 256
+#define DPDK_MAX_SIMD_BITWIDTH_512 512
/* Required config parameters */
u8 coremask_set_manually;