Skip to content

Conversation

@nuclearcat
Copy link

Support for many devices was removed in commit 52eb6c0. This can cause a segmentation fault when querying unsupported devices.

This change adds a check and prints a message indicating that the device may be unsupported or deprecated, preventing user frustration.

Fixes: #1157

I am not sure if it is compatible with other devices, but works with ConnectX3Pro.

Support for many devices was removed in commit 52eb6c0.
This can cause a segmentation fault when querying unsupported devices.

This change adds a check and prints a message indicating that the
device may be unsupported or deprecated, preventing user frustration.

Fixes: Mellanox#1157
Signed-off-by: Denys Fedoryshchenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConnectX-3 Pro query segfaults after commit 4f91c645 from v4.30.0-1

1 participant