Disabling ICRC check on MT27700 ConnectX-4 NIC

When the NIC receives a packet with an invalid ICRC checksum, the packet is discarded. I know that it is possible to configure the NIC to ignore the ICRC checksum and I know how to configure it for a ConnectX-5. However, I would like to know how to do it for a ConnectX-4 NIC.

Many thanks