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: 3925885 Adjusting XLIO default allocation logic #162

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

BasharRadya
Copy link
Collaborator

@BasharRadya BasharRadya commented Jun 6, 2024

  • Modified the default ring allocation logic from ‘ring per interface’ to ‘ring per thread’.
  • Adjusted the MCE_SPEC_NGINX_DPU and MCE_SPEC_NGINX by setting ring_allocation_logic_tx and ring_allocation_logic_rx to ‘ring per interface’.
  • Fixed a minor side-effect in the ring_allocation_logic constructor.

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)

@swx-jenkins3
Copy link

Can one of the admins verify this patch?

@@ -70,8 +70,12 @@
#define nd_logfunc __log_info_func
#define nd_logfuncall __log_info_funcall

//This constructor is called to initialize class members of type ring_alloc_logic_attr that are not
Copy link
Collaborator

Choose a reason for hiding this comment

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

The first 3 lines are obvious and not needed.
Its enough to say that the value given in this constructor is later always overridden.

@galnoam
Copy link
Collaborator

galnoam commented Jun 18, 2024

@BasharRadya , please fix conflicts.
Thanks

@pasis
Copy link
Member

pasis commented Jun 26, 2024

Should we disable progress engine by default as well? @AlexanderGrissik, WDYT?

@BasharRadya BasharRadya force-pushed the change_allocation_logic branch 2 times, most recently from 3480fb3 to e14bc55 Compare June 27, 2024 08:46
@BasharRadya
Copy link
Collaborator Author

bot:retest

@galnoam
Copy link
Collaborator

galnoam commented Jun 27, 2024

@dpressle, can you check why Bashars PRs do not trigger CI?

@dpressle
Copy link
Collaborator

bot:retest

1 similar comment
@BasharRadya
Copy link
Collaborator Author

bot:retest

@galnoam
Copy link
Collaborator

galnoam commented Jun 29, 2024

@dpressle, we have issue with the CI for some reason for Bashar commits, can you look?

@BasharRadya
Copy link
Collaborator Author

bot:retest

@galnoam
Copy link
Collaborator

galnoam commented Jul 2, 2024

@BasharRadya, please check why tests are failing.
regarding blackduck fail, its known issue.

@AlexanderGrissik
Copy link
Collaborator

bot:retest

@BasharRadya BasharRadya force-pushed the change_allocation_logic branch 2 times, most recently from c90efbb to 05c6f96 Compare July 2, 2024 18:10
@BasharRadya
Copy link
Collaborator Author

bot:retest

4 similar comments
@iftahl
Copy link
Collaborator

iftahl commented Jul 2, 2024

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya BasharRadya force-pushed the change_allocation_logic branch 4 times, most recently from 293c4ea to 19dbc35 Compare July 7, 2024 12:48
@BasharRadya BasharRadya force-pushed the change_allocation_logic branch 4 times, most recently from 293c4ea to 19dbc35 Compare July 7, 2024 14:06
Modified the default ring allocation logic from ‘ring per interface’ to ‘ring per thread’.
Adjusted the MCE_SPEC_NGINX_DPU and MCE_SPEC_NGINX by setting
ring_allocation_logic_tx/rx to ‘ring per interface’.
Fixed a minor side-effect in the ring_allocation_logic constructor.

Signed-off-by: Bashar Abdelgafer  <babdelgafer@nvidia.com>
@galnoam galnoam merged commit 4f9e224 into Mellanox:vNext Jul 8, 2024
1 check passed
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.

None yet

7 participants