This post discusses RoCE modes and defaults for each Mellanox network adapter.
The post is basic and is meant for beginners.
There are two modes for RoCE: RoCEv1 and RoCEv2.
An adapter can be configured with either mode (per supported distribution), but the default mode differs - depending on the adapter family.
|Adapter||Default RoCE Mode (OFED, WinOF-2)|
If you wish to run RoCE between two hosts that have different Mellanox adapters installed, make sure to align the adapters to run the same RoCE mode.