X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Ftap%2Ftap_bpf.h;h=f0b9fc7a2ce7f1e3e19ae42c44501711a449a67d;hb=486d29fda54c362ec3a96ab13327064458de0b03;hp=1a70ffe21b4be25535ab1822e9199f0df3b8f916;hpb=e56447980ece8ea01717f41ff82cf8122635e7ec;p=dpdk.git diff --git a/drivers/net/tap/tap_bpf.h b/drivers/net/tap/tap_bpf.h index 1a70ffe21b..f0b9fc7a2c 100644 --- a/drivers/net/tap/tap_bpf.h +++ b/drivers/net/tap/tap_bpf.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 - * Copyright 2017 Mellanox Technologies, Ltd. + * Copyright 2017 Mellanox Technologies, Ltd */ #ifndef __TAP_BPF_H__ @@ -84,7 +84,7 @@ union bpf_attr { __u32 kern_version; __u32 prog_flags; }; -} __attribute__((aligned(8))); +} __rte_aligned(8); #ifndef __NR_bpf # if defined(__i386__)