diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-06-25 16:27:48 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-28 23:50:20 +0200 |
commit | 509fda105ba8f9a1a5c6f8b79e4c7fc50b35c1e3 (patch) | |
tree | c71cfab13dad3b8bab03a29004d286dc514daf07 /.gitattributes | |
parent | 0d25c43ab988766ad52ff2930af3bf47d92c20ac (diff) | |
download | linux-509fda105ba8f9a1a5c6f8b79e4c7fc50b35c1e3.tar.bz2 |
samples/bpf: xdp_rxq_info action XDP_TX must adjust MAC-addrs
XDP_TX requires also changing the MAC-addrs, else some hardware
may drop the TX packet before reaching the wire. This was
observed with driver mlx5.
If xdp_rxq_info select --action XDP_TX the swapmac functionality
is activated. It is also possible to manually enable via cmdline
option --swapmac. This is practical if wanting to measure the
overhead of writing/updating payload for other action types.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions