X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fethernet%2Fethernet.h;h=fb7e2c5ba8131dde0e498813ff13ef3a4bcddfb3;hb=51e59688359ddac32ed58f3add3ea9ac358c9132;hp=389bc1b3bf4ed308200f11f6a9bd68360352234b;hpb=c6969b55e40613479183141c01f057f9253f17a8;p=vpp.git diff --git a/src/vnet/ethernet/ethernet.h b/src/vnet/ethernet/ethernet.h index 389bc1b3bf4..fb7e2c5ba81 100644 --- a/src/vnet/ethernet/ethernet.h +++ b/src/vnet/ethernet/ethernet.h @@ -67,6 +67,7 @@ ethernet_mac_address_is_zero (u8 * mac) return ((*((u32 *) mac) == 0) && (*((u16 *) (mac + 4)) == 0)); } +#ifdef CLIB_HAVE_VEC128 static const u16x8 tagged_ethertypes = { (u16) ETHERNET_TYPE_VLAN, (u16) ETHERNET_TYPE_DOT1AD, @@ -78,6 +79,7 @@ static const u16x8 tagged_ethertypes = { (u16) ETHERNET_TYPE_VLAN_9200, (u16) ETHERNET_TYPE_VLAN_9200 }; +#endif static_always_inline int ethernet_frame_is_tagged (u16 type)