X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Foam%2Foam.c;h=1579f562a6766ac995460523bbc40a8f03bb7e7d;hb=eb987d3a09f669787014b1553f032219522149e1;hp=07e17b6419608d5663210a4e3248dfe6c12f0d96;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vpp/oam/oam.c b/src/vpp/oam/oam.c index 07e17b64196..1579f562a67 100644 --- a/src/vpp/oam/oam.c +++ b/src/vpp/oam/oam.c @@ -14,10 +14,6 @@ */ #include -#if DPDK > 0 -#include -#endif - oam_main_t oam_main; static vlib_node_registration_t oam_node; @@ -30,7 +26,7 @@ init_oam_packet_template (oam_main_t * om, oam_target_t * t) ip_csum_t sum; u16 csum; - vec_validate_aligned (t->template, 0, CLIB_CACHE_LINE_BYTES); + vec_validate (t->template, 0); h = t->template; memset (h, 0, sizeof (*h));