summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools
diff options
context:
space:
mode:
authorOng Boon Leong <boon.leong.ong@intel.com>2021-12-30 11:54:42 +0800
committerAlexei Starovoitov <ast@kernel.org>2022-01-05 17:53:24 -0800
commit6440a6c23f6c72c57dbdf7928d92d3fc1aef6edc (patch)
treeb279c1eb7b9e20eb0e5af5bf205798ad99b8e616 /scripts/dummy-tools
parent2741a0493c04067d7acb0e44035aa27618b7d204 (diff)
samples/bpf: xdpsock: Add Dest and Src MAC setting for Tx-only operation
To set Dest MAC address (-G|--tx-dmac) only: $ xdpsock -i eth0 -t -N -z -G aa:bb:cc:dd:ee:ff To set Source MAC address (-H|--tx-smac) only: $ xdpsock -i eth0 -t -N -z -H 11:22:33:44:55:66 To set both Dest and Source MAC address: $ xdpsock -i eth0 -t -N -z -G aa:bb:cc:dd:ee:ff \ -H 11:22:33:44:55:66 The default Dest and Source MAC address remain the same as before. Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Link: https://lore.kernel.org/bpf/20211230035447.523177-3-boon.leong.ong@intel.com
Diffstat (limited to 'scripts/dummy-tools')
0 files changed, 0 insertions, 0 deletions