1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2021 Isovalent, Inc. */
4 #include <bpf/bpf_helpers.h>
7 __uint(type, BPF_MAP_TYPE_ARRAY);
10 __uint(max_entries, 4);
14 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
15 __uint(max_entries, 0); /* This will make map creation to fail */
17 __array(values, struct inner);
21 int xdp_noop0(struct xdp_md *ctx)
26 char _license[] SEC("license") = "GPL";