libibverbs: Fix query_device_ex dummy function not to return EOPNOTSUPP #713
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following thread on broken compatibility between v28 and older version:
https://www.spinics.net/lists/linux-rdma/msg89386.html
Implement query_device_ex dummy function for all providers.
Returning EOPNOTSUPP broke compatibility with apps compiled against
older rdma-core
Suggested-by: Jason Gunthorpe jgg@mellanox.com
Cc: stable@linux-rdma.org # v28
Fixes: commit c284107 ("libibverbs: Fix incorrect return code")
Signed-off-by: Michal Kalderon michal.kalderon@marvell.com