Is there a way to completely disable RoCE processing in the firmware of ConnectX .we can avoid roce by un loading mlx5_ib but i doubt it disables processing of RoCEv2 ( udp port 4791 ), this packet should be seen as normal packet to NIC.
Hi Palok,
Thanks for writing us.
Yes there is a way you can disable RoCE processing in ConnectX firmware.
You can use this command:
echo 0 > /sys/devices/{pci-bus-address}/roce_enable
Just replace {pci-bus-address} with your actual PCI address.
This will result in:
-
The firmware completely stops treating UDP port 4791 as RoCE traffic
-
Your packets will flow through as normal Ethernet
-
The mlx5_ib driver automatically reloads to match the new state
To make sure it worked you can verify with this command:
cat /sys/devices/{pci-bus-address}/roce_enable
You should get 0
Thanks,
Ilan.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.