On Wed, Nov 24, 2021 at 1:21 AM Ong Boon Leong <boon.leong.ong@xxxxxxxxx> wrote: > > 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@xxxxxxxxx> Acked-by: Song Liu <songliubraving@xxxxxx>