You configure the switches according to the vendor’s recommendations for NVMe over RoCE. These recommendations might include both configuration directives as well as code updates.
Enable Ethernet pause frame flow control end to end as the best practice configuration.
Consult your network administrator for tips on selecting the best configuration for your environment.