1
- .TH "xdp-trafficgen" "8" "JANUARY 9 , 2025" "V1.5.5" "An XDP-based traffic generator"
1
+ .TH "xdp-trafficgen" "8" "MAY 28 , 2025" "V1.5.5" "An XDP-based traffic generator"
2
2
.SH "NAME"
3
3
XDP-trafficgen \- an XDP-based traffic generator
4
4
.SH "SYNOPSIS"
@@ -23,6 +23,7 @@ The syntax for running xdp-trafficgen is:
23
23
COMMAND can be one of:
24
24
udp - run in UDP mode
25
25
tcp - run in TCP mode
26
+ probe - probe kernel support
26
27
\fP
27
28
.fi
28
29
.RE
@@ -156,6 +157,45 @@ Display version information and exit.
156
157
.SS "-h, --help"
157
158
.PP
158
159
Display a summary of the available options
160
+ .SH "The PROBE command"
161
+ .PP
162
+ The PROBE command probes the kernel to discover whether it supports the features
163
+ needed to run xdp-trafficgen. This can be used to discover whether the running
164
+ kernel is compatible with xdp-trafficgen, as well as to discover whether a
165
+ particular interface supports sending packets generated by xdp-trafficgen.
166
+
167
+ .PP
168
+ The syntax for the \fI probe \fP command is:
169
+
170
+ .PP
171
+ \fI xdp \- trafficgen probe [options] \fP
172
+
173
+ .PP
174
+ After probing, xdp-trafficgen will print the results of the probing of the
175
+ kernel, and (if an interface name is supplied), whether the interface supports
176
+ sending packets generated by xdp-trafficgen. The exit code will be 0 if all
177
+ probes succeed, and 1 otherwise.
178
+
179
+ .PP
180
+ Note that the probing relies on the kernel XDP feature reporting, which was
181
+ added after the XDP support itself. This means that with some older kernel
182
+ versions, the probing may fail even though xdp-trafficgen would in fact be able
183
+ to transmit packets.
184
+
185
+ .PP
186
+ The supported options are:
187
+ .SS "-i, --ifname <ifname>"
188
+ .PP
189
+ Probe the supplied interface name, in addition to doing the general kernel probing.
190
+ .SS "-v, --verbose"
191
+ .PP
192
+ Enable verbose logging (-vv: more verbose).
193
+ .SS "--version"
194
+ .PP
195
+ Display version information and exit.
196
+ .SS "-h, --help"
197
+ .PP
198
+ Display a summary of the available options
159
199
.SH "BUGS"
160
200
.PP
161
201
Please report any bugs on Github: \fI https://github.com/xdp-project/xdp-tools/issues \fP
0 commit comments