summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-01-04 20:07:32 +0100
committerOle Tr�an <otroan@employees.org>2022-01-05 10:48:54 +0000
commitdfc853c0ac2f8f15765a51268a53b023d4cf6c65 (patch)
tree267aef8cbb34ca94a2abd2b952df7fe3fadc8403 /src/plugins/dpdk/device/dpdk.h
parent343ff3700948703a977a6ebcd0f9e84c4a988d90 (diff)
dpdk: keep buffer flags per-device
Type: improvement Change-Id: Idb0b079df49c12643c9a93ee0effe011d3489068 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r--src/plugins/dpdk/device/dpdk.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 7ead961d091..362c74bd5d3 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -176,6 +176,7 @@ typedef struct
u32 hw_if_index;
u32 sw_if_index;
+ u32 buffer_flags;
/* next node index if we decide to steal the rx graph arc */
u32 per_interface_next_index;
@@ -330,14 +331,10 @@ typedef struct
typedef struct
{
-
/* Devices */
dpdk_device_t *devices;
dpdk_per_thread_data_t *per_thread_data;
- /* buffer flags template, configurable to enable/disable tcp / udp cksum */
- u32 buffer_flags_template;
-
/*
* flag indicating that a posted admin up/down
* (via post_sw_interface_set_flags) is in progress