X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvcl_private.h;h=dd1d0cea440c22b79d21b760ea5b536f5f3656fa;hb=294afe297c74c7c9413c6bd4856e92c9bc439e7c;hp=0315a620f86fa8fa669ab2487a542eb123de5981;hpb=98311da8b42d1e97e4a6cc22cb2032ba84f08fad;p=vpp.git 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;