I’d like to disable RoCE (v2) on the adapter, in a way that packets are not captured by the NIC.
The command “/sys/bus/pci/devices/0000:41:00.0/roce_enable” disables RoCE but packets are still captured. I can verify this using the docker image to capture packets (mentioned in a related thread).
I found the following thread that proposes 2 methods :
However the first one " sudo mlxconfig -d 41:00.0 s ROCE_CONTROL=1 "
Gives me : Device #1: ---------- Device type: ConnectX5 Name: 09FTMY_071C1T_Ax Description: Mellanox ConnectX-5 Ex Dual Port 100 GbE QSFP Network Adapter Device: 41:00.0 Configurations: Next Boot New -E- The Device doesn’t support ROCE_CONTROL parameter
And the second one use a version of devlink that has a “param” argument that mine does not support:
sudo devlink dev param set pci/0000:82:00.0 name enable_roce value false cmode driverinit Command “param” not found
Any solution?