Harmonize vec/pool_get_aligned object sizes and alignment requests
[vpp.git] / src / vpp / oam / oam.c
index 07e17b6..1579f56 100644 (file)
  */
 #include <vpp/oam/oam.h>
 
-#if DPDK > 0
-#include <vnet/devices/dpdk/dpdk.h>
-#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));