-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xdp: fix xdp_bench01 action XDP_TX, such packets reach the TX wire
Simply bouncing the packet via XDP_TX is getting blocked by the NIC hardware, in this case the ConnectX-4 driver mlx5. The MAC-addresses need to be swapped, before the NIC HW allows these packets to reach the wire. For now, allow keeping the "invalid" case to allow further testing. But print a big WARNING that packets might not reach the wire. The correct use is enabled via using option --readmem and action XDP_TX. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
- Loading branch information
1 parent
e4745de
commit 85f7ba2
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters