But how do you know which protocol to go with and do you really need data center bridging on a switch for it to work? If you do routing at a switch with static routes do you need RoCE v2 which has routable RoCE packets? Does VMWare VSAN benefit from RDMA?
Many common RDMA protocols assume a lossless network, and will lock up or degrade dramatically if there is any RDMA packet loss. One way to detect the issue is to run a bandwitdh test such as ib_send_bw -a, that ramps up from low to high bandwidth. If it ramps up to %95 and stays there, great. If it ramps up to %50 and then gets stuck at 0%, it can be a flow control issue.
Two ways for an ethernet switch to support lossless RDMA include: global pause or priority flow control (PFC). In simple terms, Priority flow control can apply to an individual vlan, while global pause affects all switch ports and traffic.
Data center bridging includes PFC, but PFC and ECN (congestion notification) is the crucial requirement.
Some software (eg.Windows SMB Direct, and Vsphere NVMeoF, vmotion and ISER) require PFC, and what they are requiring is lossless RDMA.
The link below shows that ECN and PFC are required for a lossless network with Mellanox cards. That offers the widest support for various protocols. Even if you limit use to a Layer 2 isolated network with no other traffic, you still need flow control for a lossless network.
Mellanox has a table comparing lossy and lossles configurations.
A CX3 Pro can be used for a lossless
ethernet network, whereas I don't think the CX3 can. But it really depends on the whole software and hardware recipe, because the two ends and the switch all need to all be configured for a compatible flow control method.