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 @@
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef XDPSOCK_H_
3#define XDPSOCK_H_
4
5/* Power-of-2 number of sockets */
6#define MAX_SOCKS 4
7
8/* Round-robin receive */
9#define RR_LB 0
10
11#endif /* XDPSOCK_H_ */