Hi,
I am looking for a method to disable the RDMA Invariant CRC (ICRC) validation on the embedded ConnectX-7 NIC of my BlueField-3 DPU.
Scenario and Goal:
My setup consists of several BlueField-3 DPU connected to a Tofino switch. The Tofino switch is configured to modify certain fields in the RoCEv2 header of received packets. This modification consequently invalidates the packet’s original ICRC.
My goal is to configure the receiving ConnectX-7 RNIC to accept these modified packets by completely disabling its ICRC validation, thereby ignoring the CRC mismatch.
What I’ve Tried:
I have found a script in this GitHub issue: How to disable ICRC on RNICs? · Issue #5 · p4lang/p4app-switchML · GitHub.
While this script works perfectly on my ConnectX-5, it appears to have no effect on the ConnectX-7. On the CX-7, the ICRC check remains active, and the modified packets are subsequently dropped.
My Question:
Is there an official or community-verified method to disable the ICRC functionality on a ConnectX-7 NIC?
Thank you in advance for any help or guidance.
For reference, here is our environment information:
ubuntu@sgpu03:~$ sudo mlxconfig -d /dev/mst/mt41692_pciconf0 -e q
Device #1:
----------
Device type: BlueField3
Name: 900-9D3B6-00CN-A_Ax
Description: NVIDIA BlueField-3 B3240 P-Series Dual-slot FHHL DPU; 400GbE / NDR IB (default mode); Dual-port QSFP112; PCIe Gen5.0 x16 with x16 PCIe extension option; 16 Arm cores; 32GB on-board DDR; integrated BMC; Crypto Enabled
Device: /dev/mst/mt41692_pciconf0
ubuntu@sgpu03:~$ sudo mlxburn -d /dev/mst/mt41692_pciconf0 query
-I- Image type: FS4
-I- FW Version: 32.43.2566
-I- FW Release Date: 23.2.2025
-I- Product Version: 32.43.2566
-I- Rom Info: type=UEFI Virtio net version=21.4.13 cpu=AMD64,AARCH64
-I- type=UEFI Virtio blk version=22.4.14 cpu=AMD64,AARCH64
-I- type=UEFI version=14.37.13 cpu=AMD64,AARCH64
-I- type=PXE version=3.7.500 cpu=AMD64
-I- Description: UID GuidsNumber
-I- Base GUID: 7c8c090300bf34aa 38
-I- Base MAC: 7c8c09bf34aa 38
-I- Image VSD: N/A
-I- Device VSD: N/A
-I- PSID: MT_0000000883
-I- Security Attributes: secure-fw
ubuntu@sgpu03:~$ cat /opt/mellanox/doca/applications/VERSION
2.9.2005

