Does ConnectX4-Lx Support HW LAG(SR-IOV VF LAG)?

The documentation says “Added support for High Availability and load balancing for Virtual Functions of different physical ports in SwitchDev SR-IOV mode.” with “HCAs: ConnectX-4 Lx and above” in the release note section.

However, when I follow the instrusions in documentation’s “SR-IOV VF LAG” section,the network does’nt work, and dmesg shows lots of message like:

[77770.535190] mlx5_core 0000:3b:00.0: mlx5_cmd_check:795:(pid 60089): CREATE_FLOW_TABLE(0x930) op_mod(0x0) failed, status bad resource state(0x9), syndrome (0x98afbb)

[77770.537545] mlx5_core 0000:3b:00.0: E-Switch: Failed to create FDB Table err -22 (table prio: 3, level: 0, size: 4194304)

[77770.772810] mlx5_core 0000:3b:00.0: mlx5_cmd_check:795:(pid 60146): CREATE_FLOW_TABLE(0x930) op_mod(0x0) failed, status bad resource state(0x9), syndrome (0x98afbb)

[77770.775134] mlx5_core 0000:3b:00.0: E-Switch: Failed to create FDB Table err -22 (table prio: 2, level: 0, size: 4194304)

So, Does ConnectX4-Lx Support HW LAG(SR-IOV VF LAG)? or the feature only works for ConnectX5 and later?

Hello Fu Chen,

Thank you for posting your inquiry to the Mellanox Community.

Yes, the ConnectX4-LX supports HW LAG.

Those messages will appear when an unsupported number of Virtual Functions are configured on the device (TOTAL_VFS>32). Per the limitations stipulated in the latest (v14.27.1016) firmware release notes documentation, there can be a maximum of 32 virtual functions configured with LAG (and 20 with full QoS): https://docs.mellanox.com/display/ConnectX4LxFirmwarev14271016/Known+Issues

We can see that your organization has a valid support contract with Mellanox Technical Support.

If you have any further questions, or are still having issues, please don’t hesitate to open a support case with us.

Best regards,

Mellanox Technical Support