Daniel Borkmann
316930d06b
selftests/bpf: Add more ring buffer test coverage
...
Add test coverage for reservations beyond the ring buffer size in order
to validate that bpf_ringbuf_reserve() rejects the request with NULL, all
other ring buffer tests keep passing as well:
# ./vmtest.sh -- ./test_progs -t ringbuf
[...]
./test_progs -t ringbuf
[ 1.165434] bpf_testmod: loading out-of-tree module taints kernel.
[ 1.165825] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
[ 1.284001] tsc: Refined TSC clocksource calibration: 3407.982 MHz
[ 1.286871] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fc34e357, max_idle_ns: 440795379773 ns
[ 1.289555] clocksource: Switched to clocksource tsc
#274/1 ringbuf/ringbuf:OK
#274/2 ringbuf/ringbuf_n:OK
#274/3 ringbuf/ringbuf_map_key:OK
#274/4 ringbuf/ringbuf_write:OK
#274 ringbuf:OK
#275 ringbuf_multi:OK
[...]
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
[ Test fixups for getting BPF CI back to work ]
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240621140828.18238-2-daniel@iogearbox.net
2024-06-24 13:43:55 +02:00
..
2023-04-19 21:29:39 -07:00
2023-11-18 11:39:59 -08:00
2024-04-09 10:24:26 -07:00
2024-03-15 14:24:03 -07:00
2024-03-15 14:24:03 -07:00
2023-05-01 15:30:02 -07:00
2023-07-25 14:02:47 -07:00
2023-07-05 19:14:54 -07:00
2021-02-08 17:55:01 -08:00
2022-02-28 16:28:40 +01:00
2023-03-06 09:38:08 -08:00
2022-08-17 09:42:07 -07:00
2024-03-06 15:18:15 -08:00
2023-11-21 10:43:03 -08:00
2024-03-27 09:56:17 -07:00
2024-03-19 23:05:34 -07:00
2022-01-18 15:45:06 -08:00
2021-10-08 15:17:00 -07:00
2023-11-13 18:39:38 -08:00
2022-06-20 17:40:52 -07:00
2023-05-16 22:09:23 -07:00
2023-06-30 10:35:22 +02:00
2023-11-21 10:45:24 -08:00
2023-08-30 08:45:05 +02:00
2024-05-02 16:32:04 -07:00
2024-01-23 14:40:22 -08:00
2022-11-09 20:45:21 -08:00
2024-05-17 01:50:11 +02:00
2022-09-02 15:55:37 +02:00
2024-03-25 17:25:54 +01:00
2021-08-16 18:38:52 -07:00
2022-11-30 22:47:43 +01:00
2021-11-11 16:54:06 -08:00
2022-03-05 18:39:51 -08:00
2022-06-07 10:20:43 -07:00
2024-03-06 15:18:16 -08:00
2022-08-24 17:54:40 -07:00
2023-04-05 14:44:07 -07:00
2024-04-29 16:14:11 -07:00
2022-03-15 17:03:10 +01:00
2022-03-15 17:03:10 +01:00
2022-03-15 17:03:10 +01:00
2023-05-13 16:55:46 -07:00
2022-09-23 13:59:08 -07:00
2023-11-01 22:49:20 -07:00
2022-09-21 10:57:13 -07:00
2021-05-25 17:32:35 -07:00
2023-08-08 17:01:19 -07:00
2023-11-14 08:56:56 -08:00
2023-02-23 08:33:43 -08:00
2023-12-08 17:08:18 -08:00
2023-06-06 17:08:22 +02:00
2024-04-19 17:13:29 -07:00
2022-09-02 15:55:37 +02:00
2023-10-06 20:17:28 +02:00
2022-05-13 15:15:21 +02:00
2022-07-19 09:33:18 -07:00
2022-02-04 11:29:01 -08:00
2022-02-04 11:29:01 -08:00
2021-01-08 13:39:24 -08:00
2022-09-02 15:55:37 +02:00
2022-05-13 15:15:21 +02:00
2024-02-07 16:14:19 -08:00
2024-04-24 16:01:10 -07:00
2024-01-23 14:40:21 -08:00
2022-03-05 09:38:15 -08:00
2023-08-31 17:18:53 +02:00
2024-01-29 12:48:32 -08:00
2022-08-16 17:39:59 -04:00
2024-04-25 12:42:43 -07:00
2023-05-06 16:42:58 -07:00
2024-04-24 13:12:28 -07:00
2023-02-16 15:32:46 -08:00
2023-09-19 02:07:36 -07:00
2021-11-08 22:17:55 +01:00
2022-02-02 22:31:18 -08:00
2023-07-13 16:04:56 -07:00
2023-12-19 18:06:47 -08:00
2021-10-28 16:30:07 -07:00
2023-01-28 12:29:41 -08:00
2023-07-13 16:04:56 -07:00
2024-03-28 18:30:53 -07:00
2024-01-23 16:05:28 -08:00
2022-03-08 17:39:29 -08:00
2022-08-23 22:48:03 +02:00
2023-02-16 15:32:46 -08:00
2024-04-03 16:03:37 +02:00
2024-04-05 10:31:18 -07:00
2023-12-12 09:51:47 -08:00
2023-04-07 15:24:43 -07:00
2023-07-13 16:04:56 -07:00
2023-08-07 16:42:58 -07:00
2022-09-02 15:55:37 +02:00
2023-04-13 14:32:05 +02:00
2022-09-02 15:55:37 +02:00
2022-09-02 15:55:37 +02:00
2022-09-02 15:55:37 +02:00
2023-12-11 19:16:32 -08:00
2023-07-12 07:57:18 -07:00
2020-11-05 20:04:46 -08:00
2022-11-09 20:45:14 -08:00
2022-04-19 13:48:20 -07:00
2023-02-15 15:40:06 -08:00
2022-08-31 14:10:01 -07:00
2023-06-02 17:04:22 -07:00
2024-04-24 13:12:28 -07:00
2024-02-19 12:28:15 +01:00
2022-12-22 17:19:23 -08:00
2022-12-22 00:53:58 +01:00
2023-01-28 12:30:08 -08:00
2023-08-14 18:03:00 +02:00
2023-02-13 21:42:29 -08:00
2024-04-30 10:23:25 -07:00
2023-09-08 16:22:41 -07:00
2024-02-01 11:35:48 +01:00
2022-04-06 10:32:12 -07:00
2022-02-08 21:17:34 +01:00
2024-03-28 18:31:41 -07:00
2023-03-01 10:05:19 -08:00
2021-11-25 23:05:23 +01:00
2023-02-16 15:32:46 -08:00
2024-01-24 16:21:01 -08:00
2024-01-24 16:21:01 -08:00
2021-05-25 17:32:35 -07:00
2022-04-26 15:41:46 -07:00
2023-10-20 09:29:39 -07:00
2021-04-23 14:05:27 -07:00
2021-04-23 14:05:27 -07:00
2022-09-02 15:55:37 +02:00
2023-12-05 15:06:47 +01:00
2023-11-18 11:39:59 -08:00
2024-02-13 18:51:32 -08:00
2022-05-13 15:15:21 +02:00
2022-09-21 17:33:42 -07:00
2022-08-09 18:46:11 -07:00
2023-02-16 15:32:46 -08:00
2024-02-05 11:13:36 -08:00
2024-02-05 11:13:36 -08:00
2024-02-05 11:13:36 -08:00
2023-12-18 18:15:49 +01:00
2023-12-04 17:50:27 -08:00
2023-03-01 10:24:33 -08:00
2022-09-02 15:55:37 +02:00
2022-05-20 15:07:41 -07:00
2023-03-22 15:11:06 -07:00
2022-02-02 22:31:18 -08:00
2023-02-16 15:32:46 -08:00
2023-02-16 16:56:17 -08:00
2023-10-16 13:49:18 +02:00
2023-02-16 15:32:46 -08:00
2023-07-13 16:04:56 -07:00
2024-05-01 09:53:48 -07:00
2023-09-14 11:16:13 -07:00
2024-04-30 16:01:30 -07:00
2023-01-25 07:57:50 -08:00
2023-05-16 20:57:16 -07:00
2023-06-30 12:34:38 -07:00
2021-08-24 14:17:53 -07:00
2024-03-19 14:27:00 -07:00
2022-03-15 17:03:10 +01:00
2023-03-01 10:05:19 -08:00
2023-10-16 13:49:18 +02:00
2022-03-08 17:39:28 -08:00
2021-11-11 16:54:05 -08:00
2023-04-13 14:32:04 +02:00
2023-02-16 15:32:46 -08:00
2024-04-12 11:49:51 +02:00
2023-02-16 15:32:46 -08:00
2022-09-02 15:55:37 +02:00
2022-09-02 15:55:37 +02:00
2024-04-24 09:47:49 -07:00
2023-09-08 08:42:19 -07:00
2020-11-19 11:58:15 -08:00
2022-09-02 15:55:37 +02:00
2021-11-28 22:24:57 -08:00
2023-02-16 15:32:46 -08:00
2022-04-18 21:22:13 -07:00
2023-07-13 16:24:29 -07:00
2023-10-06 20:17:28 +02:00
2022-02-02 22:31:18 -08:00
2021-11-07 08:34:23 -08:00
2022-02-02 22:31:18 -08:00
2023-04-15 17:36:50 -07:00
2024-02-05 20:00:14 -08:00
2022-09-02 15:55:37 +02:00
2024-02-15 19:21:39 -08:00
2023-02-16 15:32:46 -08:00
2024-01-04 20:40:49 -08:00
2023-08-25 09:23:16 -07:00
2022-09-02 15:55:37 +02:00
2024-01-23 14:40:22 -08:00
2022-09-02 15:55:37 +02:00
2023-09-25 16:22:42 -07:00
2024-06-24 13:43:55 +02:00
2023-10-11 17:27:55 -07:00
2022-09-02 15:55:37 +02:00
2021-10-08 15:17:00 -07:00
2024-04-02 16:29:28 +02:00
2023-01-25 15:10:34 -08:00
2022-02-02 22:31:18 -08:00
2024-04-19 17:13:29 -07:00
2021-12-14 22:16:54 +01:00
2023-09-06 11:08:47 +02:00
2021-10-08 15:17:00 -07:00
2022-09-02 15:55:37 +02:00
2022-09-02 15:55:37 +02:00
2022-04-20 23:48:34 +02:00
2021-10-21 15:11:06 -07:00
2022-10-19 16:40:45 -07:00
2021-10-08 15:17:00 -07:00
2022-04-11 17:18:09 +02:00
2024-05-12 17:10:42 -07:00
2024-01-29 12:48:32 -08:00
2022-06-23 10:52:12 -07:00
2024-01-29 12:48:32 -08:00
2021-02-11 17:44:41 -08:00
2024-04-10 19:52:25 -07:00
2023-10-06 20:17:28 +02:00
2022-09-28 17:33:21 -07:00
2024-04-10 19:52:25 -07:00
2024-05-09 13:40:38 -07:00
2023-05-13 16:55:46 -07:00
2023-05-13 16:55:46 -07:00
2023-06-06 11:07:26 -07:00
2024-04-30 10:43:37 -07:00
2024-02-05 19:58:47 -08:00
2021-02-10 11:05:34 -08:00
2024-04-02 16:29:28 +02:00
2023-03-31 09:40:16 -07:00
2022-09-02 15:55:37 +02:00
2022-03-20 19:16:50 -07:00
2022-09-02 15:55:37 +02:00
2021-05-13 17:23:57 -07:00
2024-03-06 15:18:16 -08:00
2023-06-13 15:13:52 -07:00
2022-03-16 15:13:36 -07:00
2022-03-17 23:12:48 -07:00
2023-12-04 17:50:27 -08:00
2023-12-06 22:40:43 +01:00
2022-09-02 15:55:37 +02:00
2023-03-13 21:51:30 -07:00
2023-08-18 18:12:59 +02:00
2024-02-11 14:06:24 -08:00
2022-08-17 22:43:58 +02:00
2023-10-17 18:31:27 +02:00
2023-08-23 09:37:29 -07:00
2023-10-24 16:07:43 -07:00
2023-10-06 17:11:21 -07:00
2024-05-25 10:53:11 -07:00
2023-11-09 18:58:38 -08:00
2024-04-24 13:12:28 -07:00
2024-01-23 14:40:24 -08:00
2022-09-28 17:33:59 -07:00
2023-07-07 19:36:04 +02:00
2024-04-25 14:09:05 -07:00
2022-09-28 17:34:14 -07:00
2024-01-03 21:08:26 -08:00
2023-01-23 20:53:01 +01:00
2023-11-01 22:31:41 -07:00
2022-09-01 12:16:20 -07:00
2024-01-17 20:20:05 -08:00
2023-03-08 11:15:39 -08:00
2023-07-27 18:54:17 -07:00
2023-03-25 19:52:52 -07:00
2023-01-28 12:30:08 -08:00
2022-09-02 15:55:37 +02:00
2022-02-02 22:31:18 -08:00
2022-02-02 22:31:18 -08:00
2022-04-19 13:48:20 -07:00
2024-02-13 15:16:44 -08:00
2024-05-07 16:21:59 -07:00
2024-03-04 14:09:24 -08:00
2024-02-22 12:26:41 -08:00
2024-04-24 13:12:28 -07:00
2023-12-12 15:53:34 -08:00
2022-02-11 13:13:04 -08:00
2022-05-13 15:15:21 +02:00
2024-02-19 12:26:46 +01:00
2024-01-24 16:21:03 -08:00
2023-03-13 21:51:30 -07:00
2022-02-02 22:31:18 -08:00
2024-04-12 18:25:21 +02:00
2024-04-12 18:25:21 +02:00
2024-02-13 11:11:25 -08:00
2023-07-13 16:04:56 -07:00
2023-07-13 16:04:56 -07:00
2022-11-20 15:45:48 -08:00
2022-09-28 17:34:19 -07:00
2023-02-22 12:34:50 -08:00
2023-06-19 14:04:04 +02:00
2023-03-08 16:19:51 -08:00
2024-05-25 10:46:02 -07:00
2023-09-22 14:27:41 -07:00
2023-01-28 12:30:08 -08:00
2023-02-27 09:49:40 -08:00
2022-11-11 11:44:46 -08:00
2023-02-16 15:32:46 -08:00
2024-04-05 10:58:10 -07:00
2023-04-13 14:17:02 +02:00
2024-06-13 11:16:01 -07:00
2023-12-04 15:59:42 +01:00
2023-11-21 10:45:26 -08:00
2023-06-21 23:48:51 +02:00
2024-04-30 16:28:58 +02:00
2022-09-02 15:55:37 +02:00
2023-01-28 12:30:09 -08:00
2023-08-02 14:21:12 -07:00
2024-03-05 16:19:42 -08:00
2022-02-02 22:31:18 -08:00
2023-12-11 16:09:24 +01:00
2023-02-16 15:32:46 -08:00
2023-09-11 23:18:11 -07:00
2023-02-16 15:32:46 -08:00
2024-05-06 13:42:22 -07:00
2023-02-16 15:32:46 -08:00
2023-02-16 15:32:46 -08:00
2024-04-24 13:12:28 -07:00
2022-02-02 22:31:18 -08:00
2022-09-02 15:55:37 +02:00
2023-02-24 17:34:09 -08:00
2022-09-02 15:55:37 +02:00
2024-01-23 14:40:22 -08:00
2023-02-24 17:34:09 -08:00