Changing Default Port Number for RoCEv2 on Mellanox ConnectX-4 from 4791: Receiving Continuous Data from FPGA

Greetings community,

I’m currently utilizing the Mellanox ConnectX-4 device and I’m interested in exploring options to modify the default port number for RoCEv2. My objective is to receive continuously emitted data from an FPGA. The issue lies in the fact that the FPGA is configured to transmit data to a specific port, 4660

One more problem whose solution I want to know is that on device its written Mellanox ConnectX-4,then why when i use ibstat its showing mlx5_0

this is more information about the device

ibstat
CA ‘mlx5_0’
CA type: MT4117
Number of ports: 1
Firmware version: 14.27.1016
Hardware version: 0
Node GUID: 0x1c34da0300729372
System image GUID: 0x1c34da0300729372
Port 1:
State: Active
Physical state: LinkUp
Rate: 10
Base lid: 0
LMC: 0
SM lid: 0
Capability mask: 0x00010000
Port GUID: 0x1e34dafffe729372
Link layer: Ethernet
CA ‘mlx5_1’
CA type: MT4117
Number of ports: 1
Firmware version: 14.27.1016
Hardware version: 0
Node GUID: 0x1c34da0300729373
System image GUID: 0x1c34da0300729372
Port 1:
State: Down
Physical state: Disabled
Rate: 40
Base lid: 0
LMC: 0
SM lid: 0
Capability mask: 0x00010000
Port GUID: 0x1e34dafffe729373
Link layer: Ethernet

Hello adv,

Thank you for posting your inquiry on the NVIDIA Developer Forum - Infrastructure and Networking - Section.

Unfortunately it is not possible to change the default RoCEv2 UDP port as it is a reserved port for this type of traffic.

As regarding the ‘ibstat’ output, it is related to the driver.

  • mlx4 driver → Connect-3
  • mlx5 driver → ConnectX-4 and up (5,6,7,8,etc.)

Thank you and regards,
~NVIDIA Networking Technical Support

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.