]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/tap/tap_bpf.h
net/mlx5: fix check for MPLS-in-GRE
[dpdk.git] / drivers / net / tap / tap_bpf.h
index 8d6f9a2e538a844d24198ff4ddbbe2cdd6485a1a..9192686a6a5b7f0a2e155add0f0a29afeedd8f3e 100644 (file)
@@ -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__
@@ -91,12 +91,16 @@ union bpf_attr {
 #  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__)
 #  define __NR_bpf 349
 # elif defined(__s390__)
 #  define __NR_bpf 351
+# elif defined(__powerpc__)
+#  define __NR_bpf 361
 # else
 #  error __NR_bpf not defined
 # endif