summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2022-03-28 18:39:58 +0200
committerDamjan Marion <dmarion@0xa5.net>2023-01-26 15:21:02 +0000
commit4fe09e9f297985e3f452f7722c138d393e8533af (patch)
tree4bda78838c89373b826a13ac9b9674d627b9c060 /src/plugins/dpdk/device/dpdk.h
parent53badfc6839da351c1d1dd7f1422418b0696c580 (diff)
dpdk: add intf tag to dev{} subinput
This patch allows to pass a tag when specifying the dpdk `dev { }` interface configuration. It allows a control plane generating a vpp.conf file to retreive the resulting mapping between dpdk interfaces & sw_if_indices in VPP without having to change the interface name exposed to the user. Type: feature Change-Id: I55907417de0083b82d4a127172816cec3459acf3 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r--src/plugins/dpdk/device/dpdk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 7569fc60a90..7238ecf5515 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -243,6 +243,7 @@ typedef struct
};
dpdk_device_addr_type_t dev_addr_type;
u8 *name;
+ u8 *tag;
u8 is_blacklisted;
#define _(x) uword x;