summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/acl_field_def.h
diff options
context:
space:
mode:
authorXavier Simonart <simonartxavier@gmail.com>2021-03-29 11:45:47 +0200
committerXavier Simonart <simonartxavier@gmail.com>2021-03-29 11:56:44 +0200
commit6d82c12cc7876aef8f1a6f98e5897d96a1e991c8 (patch)
treee0edcc9acd7b12f385a113015350855619abe99d /VNFs/DPPD-PROX/acl_field_def.h
parent91c54d4d46d64cbba9d5573609497a211dbbc479 (diff)
Minor update to fix compilation issues on recent gcc and dpdk
Fixes compilation issues seen on gcc 9.3.0 on dpdk 20.05. Signed-off-by: Xavier Simonart <simonartxavier@gmail.com> Change-Id: Ib7989c1bac66e82551165ab49e06941ebc772347
Diffstat (limited to 'VNFs/DPPD-PROX/acl_field_def.h')
-rw-r--r--VNFs/DPPD-PROX/acl_field_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/acl_field_def.h b/VNFs/DPPD-PROX/acl_field_def.h
index 4f05ae80..da60e1c0 100644
--- a/VNFs/DPPD-PROX/acl_field_def.h
+++ b/VNFs/DPPD-PROX/acl_field_def.h
@@ -27,7 +27,7 @@ struct pkt_eth_ipv4_udp {
prox_rte_ether_hdr ether_hdr;
prox_rte_ipv4_hdr ipv4_hdr;
prox_rte_udp_hdr udp_hdr;
-} __attribute__((packed));
+} __attribute__((packed)) __attribute__((__aligned__(2)));
static struct rte_acl_field_def pkt_eth_ipv4_udp_defs[] = {
/* first input field - always one byte long. */