xdp-tools
xdp-tools copied to clipboard
Support configurable MAC address rewrite in xdp-bench redirect
Right now, xdp-bench redirect will swap destination and source MAC addresses when redirecting. This causes packets to be sent out with the wrong source MAC in most cases, and prevents benchmarks from being run through a switch. We should add an option to configure the MAC addresses on redirect and/or just get the correct MAC from the destination interface.