]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/test/bpf/dummy.c
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / spdk / dpdk / test / bpf / dummy.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
3 */
4
5 /*
6 * eBPF program sample.
7 * does nothing always return success.
8 * used to measure BPF infrastructure overhead.
9 * To compile:
10 * clang -O2 -target bpf -c dummy.c
11 */
12
13 #include <stdint.h>
14 #include <stddef.h>
15
16 uint64_t
17 entry(void *arg)
18 {
19 return 1;
20 }