Skip to content
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

issue: 4158083 Disable DPCP and IBV dependency #267

Open
wants to merge 7 commits into
base: doca_xlio_vNext
Choose a base branch
from

Conversation

AlexanderGrissik
Copy link
Collaborator

@AlexanderGrissik AlexanderGrissik commented Nov 21, 2024

Description

Removing dependency of DPCP and IBV to enable clean DOCA build.
On the other hand, enable building RX or TX path with DPCP to compare performance of separate paths.

What
  • Enable compile time decision to run DOCA or DPCP RX data path.
  • Enable compile time decision to run DOCA or DPCP TX data path - not ready.
  • Remove IBV dependency for memory registration - not ready.
  • Remove IBV dependency for devices - not ready.
Why ?

DOCA TCP Library integration

How ?

Introduce two ifdefs:
DEFINED_DPCP_PATH_RX - Disables DOCA RX path and enables DPCP RX path
DEFINED_DPCP_PATH_TX - Disables DOCA TX path and enables DPCP TX path
When configured with --with-dpcp then these two macros are defined and only DPCP path will be used for both.
When configured without --with-dpcp then only DOCA path is available for both.
To enable only TX or RX path through DPCP, use --with-dpcp and comment out the unneeded define in config.h

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)

This is a prerequisite for further convinient seperation of DPDP and DOCA RX data path.

Signed-off-by: Alexander Grissik <[email protected]>
Enable compile time decision to run DOCA or DPCP RX data path.

Signed-off-by: Alexander Grissik <[email protected]>
NVMEoTCP offload was integrated functional wise but not performance tuned.
Additionaly, this offload is not planed to be supported by DOCA in the foreseen future.
Prefering clean code instead of having questionable feature under ifdefs.

Signed-off-by: Alexander Grissik <[email protected]>
XLIO minimum compiler requirement should be C++14 for all tools and options

Signed-off-by: Alexander Grissik <[email protected]>
Enable compile time decision to run DOCA or ibv TX data path.

Signed-off-by: Alexander Grissik <[email protected]>
When DPCP flags are not defined dpcp adapter is compiled out completely.

Signed-off-by: Alexander Grissik <[email protected]>
Remove DPCP completely from dependency when DPCP is not desired.

Signed-off-by: Alexander Grissik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft Not to review yet XLIO_DOCA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant