summaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdpsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/xdpsock.h')
-rw-r--r--samples/bpf/xdpsock.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/samples/bpf/xdpsock.h b/samples/bpf/xdpsock.h
new file mode 100644
index 000000000000..533ab81adfa1
--- /dev/null
+++ b/samples/bpf/xdpsock.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef XDPSOCK_H_
+#define XDPSOCK_H_
+
+/* Power-of-2 number of sockets */
+#define MAX_SOCKS 4
+
+/* Round-robin receive */
+#define RR_LB 0
+
+#endif /* XDPSOCK_H_ */