Commit cbe35ad
Alexei Starovoitov
Merge branch 'selftests-bpf-retire-bpf_tcp_helpers-h'
Martin KaFai Lau says:
====================
selftests/bpf: Retire bpf_tcp_helpers.h
From: Martin KaFai Lau <martin.lau@kernel.org>
The earlier commit 8e6d9ae ("selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h")
removed the bpf_tcp_helpers.h usages from the non networking tests.
This patch set is a continuation of this effort to retire
the bpf_tcp_helpers.h from the networking tests (mostly tcp-cc related).
The main usage of the bpf_tcp_helpers.h is the partial kernel
socket definitions (e.g. sock, tcp_sock). New fields are kept adding
back to those partial socket definitions while everything is available
in the vmlinux.h. The recent bpf_cc_cubic.c test tried to extend
bpf_tcp_helpers.c but eventually used the vmlinux.h instead. To avoid
this unnecessary detour for new tests and have one consistent way
of using the kernel sockets, this patch set retires the bpf_tcp_helpers.h
usages and consolidates the tests to use vmlinux.h instead.
====================
Link: https://lore.kernel.org/r/20240509175026.3423614-1-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>20 files changed
Lines changed: 191 additions & 426 deletions
File tree
- tools/testing/selftests/bpf
- progs
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 19 | | |
26 | 20 | | |
27 | 21 | | |
| |||
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 37 | | |
54 | 38 | | |
55 | 39 | | |
| |||
126 | 110 | | |
127 | 111 | | |
128 | 112 | | |
129 | | - | |
| 113 | + | |
| 114 | + | |
130 | 115 | | |
131 | 116 | | |
132 | 117 | | |
133 | 118 | | |
134 | | - | |
| 119 | + | |
| 120 | + | |
135 | 121 | | |
136 | 122 | | |
137 | 123 | | |
138 | 124 | | |
139 | | - | |
140 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
141 | 128 | | |
142 | 129 | | |
143 | 130 | | |
| |||
163 | 150 | | |
164 | 151 | | |
165 | 152 | | |
166 | | - | |
| 153 | + | |
| 154 | + | |
167 | 155 | | |
168 | 156 | | |
169 | 157 | | |
170 | 158 | | |
171 | | - | |
| 159 | + | |
| 160 | + | |
172 | 161 | | |
173 | 162 | | |
174 | 163 | | |
175 | 164 | | |
176 | | - | |
177 | | - | |
| 165 | + | |
| 166 | + | |
178 | 167 | | |
179 | 168 | | |
180 | 169 | | |
181 | 170 | | |
182 | | - | |
| 171 | + | |
| 172 | + | |
183 | 173 | | |
184 | 174 | | |
185 | 175 | | |
| |||
0 commit comments