To be able to activate this feature, make sure libpcap library v1.9 or above is installed on your setup.
To download libpcap, please visit https://www.tcpdump.org/.
Offloaded Traffic Sniffer allows bypass kernel traffic (such as RoCE, VMA, and DPDK) to be captured by existing packet analyzer, such as tcpdump.
To capture the interface's bypass kernel traffic, run tcpdump on the RDMA device.
For examples on how to dump RDMA traffic using the Inbox tcpdump tool for ConnectX-4 adapter cards and above, click here.
Note that enabling Offloaded Traffic Sniffer can cause bypass kernel traffic speed degradation.
In case you do not wish to install libpcap on your setup, you can use docker to run the tcpdump. For further information, please see https://hub.docker.com/r/mellanox/tcpdump-rdma.