File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -243,16 +243,16 @@ Configuration Flags and Socket Options
243
243
These are the various configuration flags that can be used to control
244
244
and monitor the behavior of AF_XDP sockets.
245
245
246
- XDP_COPY and XDP_ZERO_COPY bind flags
247
- -------------------------------------
246
+ XDP_COPY and XDP_ZEROCOPY bind flags
247
+ ------------------------------------
248
248
249
249
When you bind to a socket, the kernel will first try to use zero-copy
250
250
copy. If zero-copy is not supported, it will fall back on using copy
251
251
mode, i.e. copying all packets out to user space. But if you would
252
252
like to force a certain mode, you can use the following flags. If you
253
253
pass the XDP_COPY flag to the bind call, the kernel will force the
254
254
socket into copy mode. If it cannot use copy mode, the bind call will
255
- fail with an error. Conversely, the XDP_ZERO_COPY flag will force the
255
+ fail with an error. Conversely, the XDP_ZEROCOPY flag will force the
256
256
socket into zero-copy mode or fail.
257
257
258
258
XDP_SHARED_UMEM bind flag
You can’t perform that action at this time.
0 commit comments