issue: 4262473 Deprecate XLIO_SELECT_POLL_OS_FORCE
Description
Remove the deprecated XLIO_SELECT_POLL_OS_FORCE configuration parameter as it can be fully controlled by XLIO_SELECT_POLL_OS_RATIO and XLIO_SELECT_SKIP_OS parameters. This aligns with the original repo's direction to remove this configuration while maintaining compatibility.
The behavior of XLIO_SELECT_POLL_OS_FORCE can be replicated by setting:
- XLIO_SELECT_POLL_OS_RATIO=1
- XLIO_SELECT_SKIP_OS=1
What
Deprecate XLIO_SELECT_POLL_OS_FORCE configuration parameter and its related functionality.
Why ?
- The XLIO_SELECT_POLL_OS_FORCE parameter should be marked as deprecated in the README and will be removed from future libxlio releases
- The same behavior can be achieved using XLIO_SELECT_POLL_OS_RATIO and XLIO_SELECT_SKIP_OS parameters
- This aligns with the libvma to remove this configuration while maintaining compatibility (https://github.com/Mellanox/libvma/pull/1104)
How ?
The changes will involve:
- Removing any logic that checks for this parameter
- Ensuring the behavior can be replicated using XLIO_SELECT_POLL_OS_RATIO=1 and XLIO_SELECT_SKIP_OS=1
- Updating documentation to remove references to this deprecated parameter
- Maintaining backward compatibility by ensuring the same behavior can be achieved through the alternative parameters
Change type
What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Tests
- [ ] Other
Check list
- [ ] Code follows the style de facto guidelines of this project
- [ ] Comments have been inserted in hard to understand places
- [ ] Documentation has been updated (if necessary)
- [ ] Test has been added (if possible)
/review
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
| ⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪ |
| 🧪 No relevant tests |
| 🔒 No security concerns identified |
⚡ Recommended focus areas for reviewPossible Logic Change
select_poll_os_force logic in the io_mux_call::call function may alter behavior when *m_p_num_all_offloaded_fds == 0. Ensure that the new behavior aligns with the intended functionality and does not introduce regressions. |
@AlexanderGrissik , is it approved?
@tomerdbz , please resolve conflicts
@galnoam ready for merge
bot:retest
bot:retest
@tomerdbz please move to fixed/closed