diff options
author | Neale Ranns <nranns@cisco.com> | 2018-10-24 02:31:51 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-10-24 02:31:51 -0700 |
commit | a1179589bea89b44f7b41001b5e5595a8793b1df (patch) | |
tree | c2d02c6697756e1bb333eb7a2647df144fb6b054 /src/vnet/l2/l2_output.h | |
parent | 5a951bfe32d47af4409ecab5678d1afecc05e2b7 (diff) |
L2-input/output: use feature enum type in flag update function
Change-Id: I1f58f441c65fbca101bee2e864bfa6ae2306b475
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_output.h')
-rw-r--r-- | src/vnet/l2/l2_output.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_output.h b/src/vnet/l2/l2_output.h index 452d99b8a3b..a6db776841d 100644 --- a/src/vnet/l2/l2_output.h +++ b/src/vnet/l2/l2_output.h @@ -108,6 +108,7 @@ STATIC_ASSERT (L2OUTPUT_N_FEAT <= 32, "too many l2 output features"); /* Feature bit masks */ typedef enum { + L2OUTPUT_FEAT_NONE = 0, #define _(sym,str) L2OUTPUT_FEAT_##sym = (1<<L2OUTPUT_FEAT_##sym##_BIT), foreach_l2output_feat #undef _ @@ -159,7 +160,8 @@ l2_output_config_t *l2output_intf_config (u32 sw_if_index); /** Enable (or disable) the feature in the bitmap for the given interface */ void l2output_intf_bitmap_enable (u32 sw_if_index, - u32 feature_bitmap, u32 enable); + l2output_feat_masks_t feature_bitmap, + u32 enable); #endif |