l2:remove unused members of input, output configs
reorder structs for less padding
Change-Id: Id05123f5bac870e1c585b3aa2177d9e3a6f8d70b
Signed-off-by: Eyal Bari <ebari@cisco.com>
diff --git a/src/vnet/l2/l2_input.h b/src/vnet/l2/l2_input.h
index 23bb9b6..ea9dcad 100644
--- a/src/vnet/l2/l2_input.h
+++ b/src/vnet/l2/l2_input.h
@@ -35,6 +35,12 @@
u32 output_sw_if_index; /* for xconnect */
};
+ /* config for which input features are configured on this interface */
+ u32 feature_bitmap;
+
+ /* split horizon group */
+ u8 shg;
+
/* Interface mode. If both are 0, this interface is in L3 mode */
u8 xconnect;
u8 bridge;
@@ -42,17 +48,6 @@
/* this is the bvi interface for the bridge-domain */
u8 bvi;
- /* config for which input features are configured on this interface */
- u32 feature_bitmap;
-
- /* some of these flags are also in the feature bitmap */
- u8 learn_enable;
- u8 fwd_enable;
- u8 flood_enable;
-
- /* split horizon group */
- u8 shg;
-
} l2_input_config_t;