diff options
| author | 2018-05-31 11:00:23 +0200 | |
|---|---|---|
| committer | 2018-06-03 08:11:35 -0700 | |
| commit | c1ece6b245bd12a57124da78abafbf8a511394d6 (patch) | |
| tree | 98d1d3475a3b6ca67e1f6eaa65fb4774fa1950cd /kernel/bpf/helpers.c | |
| parent | bpf/xdp: non-map redirect can avoid calling ndo_xdp_flush (diff) | |
| download | wireguard-linux-c1ece6b245bd12a57124da78abafbf8a511394d6.tar.xz wireguard-linux-c1ece6b245bd12a57124da78abafbf8a511394d6.zip | |
bpf/xdp: devmap can avoid calling ndo_xdp_flush
The XDP_REDIRECT map devmap can avoid using ndo_xdp_flush, by instead
instructing ndo_xdp_xmit to flush via XDP_XMIT_FLUSH flag in
appropriate places.
Notice after this patch it is possible to remove ndo_xdp_flush
completely, as this is the last user of ndo_xdp_flush. This is left
for later patches, to keep driver changes separate.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions
