Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
VPP-1430: remove unnecessary padding
[vpp.git]
/
src
/
vpp
/
oam
/
oam.c
diff --git
a/src/vpp/oam/oam.c
b/src/vpp/oam/oam.c
index
07e17b6
..
1579f56
100644
(file)
--- a/
src/vpp/oam/oam.c
+++ b/
src/vpp/oam/oam.c
@@
-14,10
+14,6
@@
*/
#include <vpp/oam/oam.h>
*/
#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;
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;
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));
h = t->template;
memset (h, 0, sizeof (*h));