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

Better allocation, Fix Cq/Fq/Tx/Rx queue management bug #4284

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ami-GS
Copy link
Contributor

@ami-GS ami-GS commented May 4, 2024

Description

Umem allocation to alloca N buffers at once by memcpy. Reduce UmemLock.
Cleaning Cq/Fq/Tx/Rx queue sometimes reserve/submit more than needed.
call xsk_ring_cons__cancel if xsk_ring_cons__peek returns too much.

Testing

local msquictest passed.
secnetperf between local 2VM works (with EAGAIN retry fix of another PR)

Documentation

N/A

@ami-GS ami-GS requested a review from a team as a code owner May 4, 2024 06:29
Copy link

codecov bot commented May 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.30%. Comparing base (4b08a11) to head (bd4f050).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4284      +/-   ##
==========================================
- Coverage   85.82%   85.30%   -0.53%     
==========================================
  Files          56       56              
  Lines       15382    15382              
==========================================
- Hits        13201    13121      -80     
- Misses       2181     2261      +80     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

1 participant