Documentation
¶
Overview ¶
Command hello is the smallest complete packetio program: it sends one frame and prints the next few it receives.
It uses the AF_PACKET backend, so it needs no particular hardware -- any interface on any Linux box will do. Everything below the Open call is the backend-neutral API, so changing that one line to mlx5.Open or afxdp.Open gives you the same program on a faster path.
sudo go run ./examples/hello -i eth0
Click to show internal directories.
Click to hide internal directories.