summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-09-25 11:27:46 -0400
committerFlorin Coras <florin.coras@gmail.com>2019-09-26 19:39:06 +0000
commitf5667c3055dbd6755277f085c6778c2b1104aa6e (patch)
treef9057f2fa0eb880c230aac15ed9dbc0d4a3a6ad9 /src/vnet/interface.h
parent2d0ebd7ebc555565868038a09d80a61f5de29430 (diff)
misc: add vnet classify filter set support
Type: feature Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I79b216d2499df143f53977e5b70382f6f887e0bc
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r--src/vnet/interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h
index 00ed1f03151..7d73c5f6473 100644
--- a/src/vnet/interface.h
+++ b/src/vnet/interface.h
@@ -498,6 +498,7 @@ typedef enum vnet_hw_interface_flags_t_
that packets flow over. */
typedef struct vnet_hw_interface_t
{
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
/* Interface name. */
u8 *name;
@@ -579,7 +580,10 @@ typedef struct vnet_hw_interface_t
/* numa node that hardware device connects to */
u8 numa_node;
- u8 padding[3];
+ /* trace */
+ i32 n_trace;
+
+ u32 trace_classify_table_index;
} vnet_hw_interface_t;
extern vnet_device_class_t vnet_local_interface_device_class;