X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Ftap%2Ftap_bpf.h;h=f0b9fc7a2ce7f1e3e19ae42c44501711a449a67d;hb=76fd789cc7dddbaa2c08065b7c3ca915b5c07e7c;hp=06e95099a26933c04f2ca22cc60b30b5d03a6a9b;hpb=3eaad8e53084eb797a4ea994cc7275f75e67027c;p=dpdk.git diff --git a/drivers/net/tap/tap_bpf.h b/drivers/net/tap/tap_bpf.h index 06e95099a2..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,13 +84,15 @@ union bpf_attr { __u32 kern_version; __u32 prog_flags; }; -} __attribute__((aligned(8))); +} __rte_aligned(8); #ifndef __NR_bpf # if defined(__i386__) # define __NR_bpf 357 # elif defined(__x86_64__) # define __NR_bpf 321 +# elif defined(__arm__) +# define __NR_bpf 386 # elif defined(__aarch64__) # define __NR_bpf 280 # elif defined(__sparc__)