-
Notifications
You must be signed in to change notification settings - Fork 128
issue: 3886011 Removing XLIO Extra API #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sockperf_v2
Are you sure you want to change the base?
issue: 3886011 Removing XLIO Extra API #240
Conversation
XLIO halts support for Socketxtreme, recvfrom_zerocopy and RX-callback APIs. Signed-off-by: Alexander Grissik <[email protected]>
The USING_EXTRA_API was used to determine whether XLIO or VMA API is in use. Since XLIO API is removed, the USING_EXTRA_API can be replaced by simply USING_VMA_EXTRA_API directly. Signed-off-by: Alexander Grissik <[email protected]>
The std::unary_function and std::binary_function are deprecated since C++11 and are not needed anymore for C++11 containers. Signed-off-by: Alexander Grissik <[email protected]>
|
/review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes support for the XLIO Extra API from sockperf and related components. The changes update header guards, function names, documentation, build configuration, and conditional compilation macros to eliminate XLIO support in favor of the VMA API only.
- Removed XLIO-specific functions, error messages, and preprocessor macros.
- Updated build files and documentation to reflect usage of VMA API.
- Adjusted comments and naming to ensure consistency across modules.
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/vma-redirect.{h,cpp} | Updated header guard, function names, and comments to remove XLIO. |
| src/sockperf.cpp | Modified API calls and error messages to reference only VMA. |
| src/server.{h,cpp} | Removed XLIO callback paths and retained only VMA-based implementations. |
| configure.ac & Makefile.am | Removed XLIO extra API checks and updated build file references. |
Comments suppressed due to low confidence (3)
src/sockperf.cpp:2165
- The update replacing 'vma_xlio_set_func_pointers' with 'vma_set_func_pointers' is consistent with the removal of XLIO support. Ensure that corresponding error messages and documentation are updated throughout to reflect this change.
bool success = vma_set_func_pointers(optarg);
configure.ac:107
- The removal of XLIO extra API configuration is clear. Please verify that the build scripts and overall documentation have been updated accordingly to avoid misleading references.
AC_MSG_RESULT([${have_xlio_api}])
src/defs.h:169
- Replacing the generic USING_EXTRA_API macro with USING_VMA_EXTRA_API should be reviewed across the codebase to ensure that all conditional compilation paths and macro references are consistently updated.
#ifdef USING_VMA_EXTRA_API // For VMA socketxtreme Only
| * all functions return 'true' on success; 'false' - otherwise | ||
| * | ||
| * NOTE: including this header will redirect all relevant API calls to pointers | ||
| * to functions. Hence, you you are allowed to call any of the relevant APIs, |
Copilot
AI
Jun 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment contains a duplicated word ('you you') in the phrase 'you you are allowed to call'. Consider correcting it to improve readability.
| * to functions. Hence, you you are allowed to call any of the relevant APIs, | |
| * to functions. Hence, you are allowed to call any of the relevant APIs, |
|
bot:retest |
See FR 3886011.
XLIO halts support of the extra API used by sockperf.