summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-02-25 22:55:03 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-26 06:32:10 +0000
commit7c748bbe40f102f15c70bc33ed491be5283ed69a (patch)
treea97d525259ed9ec898badf21d0644842943bde73 /src/vnet/interface.h
parenta373149eef0323cb092cc78761871cd1f2bfc1e2 (diff)
vnet: add 25G interface speed flag
Change-Id: I1d3ede2b043e1fd4abc54f540bb1d3ac9863016e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r--src/vnet/interface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h
index e3fb47ad263..d42f079f585 100644
--- a/src/vnet/interface.h
+++ b/src/vnet/interface.h
@@ -394,13 +394,15 @@ typedef struct vnet_hw_interface_t
#define VNET_HW_INTERFACE_FLAG_SPEED_100M (1 << 4)
#define VNET_HW_INTERFACE_FLAG_SPEED_1G (1 << 5)
#define VNET_HW_INTERFACE_FLAG_SPEED_10G (1 << 6)
-#define VNET_HW_INTERFACE_FLAG_SPEED_40G (1 << 7)
-#define VNET_HW_INTERFACE_FLAG_SPEED_100G (1 << 8)
+#define VNET_HW_INTERFACE_FLAG_SPEED_25G (1 << 7)
+#define VNET_HW_INTERFACE_FLAG_SPEED_40G (1 << 8)
+#define VNET_HW_INTERFACE_FLAG_SPEED_100G (1 << 9)
#define VNET_HW_INTERFACE_FLAG_SPEED_MASK \
(VNET_HW_INTERFACE_FLAG_SPEED_10M | \
VNET_HW_INTERFACE_FLAG_SPEED_100M | \
VNET_HW_INTERFACE_FLAG_SPEED_1G | \
VNET_HW_INTERFACE_FLAG_SPEED_10G | \
+ VNET_HW_INTERFACE_FLAG_SPEED_25G | \
VNET_HW_INTERFACE_FLAG_SPEED_40G | \
VNET_HW_INTERFACE_FLAG_SPEED_100G)