Skip to content

Check CCQE support in runtime instead of compiling#307

Open
QizhouZhang97 wants to merge 25 commits into
mainfrom
dev/compat_ccqe
Open

Check CCQE support in runtime instead of compiling#307
QizhouZhang97 wants to merge 25 commits into
mainfrom
dev/compat_ccqe

Conversation

@QizhouZhang97
Copy link
Copy Markdown
Contributor

@QizhouZhang97 QizhouZhang97 commented May 8, 2026

Motivation

MORI must support both CCQE and non-CCQE ionic deployments with a single
binary. The previous build-time IONIC_CCQE macro forced a recompile per
host and broke whenever libionic.so and mori_application.so were out of
sync. This change moves the check to runtime: dlsym ionic_dv_create_cq_ex; if
present, use CCQE; otherwise fall back to ibv_create_cq_ex.

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.

1 participant