Supported in ConnectX®-4 and above adapter cards.
Offloaded Traffic Sniffer allows bypass kernel traffic (such as RoCE, VMA, and DPDK) to be captured by existing packet analyzer, such as tcpdump.
To enable Offloaded Traffic Sniffer:
Turn on the new ethtool private flags "sniffer" (off by default).
Once the sniffer flags are set on the desired Ethernet interface, run tcpdump to capture the interface's bypass kernel traffic.
Note that enabling Offloaded Traffic Sniffer can cause bypass kernel traffic speed degradation.
For examples on how to dump RDMA traffic using the Inbox tcpdump tool for ConnectX-4 adapter cards, click here.