Skip to content

Conversation

@eisenhauer
Copy link
Member

@eisenhauer eisenhauer commented Oct 23, 2025

libfabric 2.x has deprecated some macros used in the rdma data plane. These macros represent values that are still used internally in a few extant libfabric providers, so we don't really want to kill that code. Instead we borrow a trick from libfabric/include/ofi.h and simply declare our own versions of those macros without the deprecated flag (different names in order to avoid conflicts with those ofi.h declarations). As we move code to new platforms we may need to modify this approach, but for the moment this preserves existing and past functionality without requiring retesting in situations that may be hard to recreate.

This addresses issues raised in PR #4666.

Copy link
Collaborator

@scottwittenburg scottwittenburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @eisenhauer this seems like a good way to allow us to move forward on #4666 without actually having to do all the testing you pointed out there. If you feel like adding some kind of TODO in response to my comment, I'll be happy to re-approve.

@vicentebolea vicentebolea removed their request for review October 23, 2025 20:37
@eisenhauer eisenhauer enabled auto-merge (squash) October 24, 2025 17:53
@eisenhauer eisenhauer merged commit 4b1b8bd into ornladios:master Oct 24, 2025
38 checks passed
@eisenhauer eisenhauer deleted the RDMAUp branch October 24, 2025 19:14
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.

2 participants