diff options
author | Florin Coras <fcoras@cisco.com> | 2019-01-07 17:49:17 -0800 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2019-01-08 00:45:21 -0800 |
commit | 294afe297c74c7c9413c6bd4856e92c9bc439e7c (patch) | |
tree | f2bf582aec087073c7eaff42eeb01bb39be089a6 /src/vcl/vcl_private.h | |
parent | 98311da8b42d1e97e4a6cc22cb2032ba84f08fad (diff) |
vcl/ldp: select cleanup/improvements
Change-Id: I640e69388f2ab0f66ad60c5165c749f5a5a9f525
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vcl_private.h')
-rw-r--r-- | src/vcl/vcl_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index 0315a620f86..dd1d0cea440 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -90,6 +90,11 @@ typedef struct u32 et_mask; } vppcom_epoll_t; +/* Select uses the vcl_si_set as if a clib_bitmap. Make sure they are the + * same size */ +STATIC_ASSERT (sizeof (clib_bitmap_t) == sizeof (vcl_si_set), + "vppcom bitmap size mismatch"); + typedef struct { u8 is_ip4; |