This article introduces new RDMA packet capture support in ESX and provides the details on how to use it.
VCF 9.1 simplifies capturing of RDMA packets for troubleshooting and debugging purposes using the RDMA Sniffer capability.
VMware ESX 9.1.0.0 and above
[root@host1:~] esxcli rdma device sniffer getRDMA Device Sniffer status----------- --------------vmrdma0 N/A...vmrdma4 off[root@host1:~] esxcli rdma device listName Driver State MTU Speed Paired Uplink Description------- ---------- ------ ---- -------- ------------- -----------vmrdma0 bnxtroce Active 1024 25 Gbps vmnic0 Broadcom RoCE device...vmrdma4 nmlx5_rdma Active 1024 100 Gbps vmnic4 MT43244 Family [BlueField-3 integrated ConnectX-7]esxcli rdma device sniffer set -e 1 -d vmrdma4[root@host1:~] esxcli rdma device sniffer get -d vmrdma4RDMA Device Sniffer status----------- --------------vmrdma4 onpktcap-uw --capture RDMASniffer --uplink vmnic4(picked from above paired uplink) -c 1000 -o /tmp/sniffer.pcap --dstudpport 4791esxcli rdma device sniffer set -e 0 -d vmrdma4