-
Notifications
You must be signed in to change notification settings - Fork 547
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
Refactor the RX Datapath Object Abstraction Model #3826
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3826 +/- ##
=======================================
Coverage 86.57% 86.57%
=======================================
Files 56 56
Lines 16576 16581 +5
=======================================
+ Hits 14350 14355 +5
Misses 2226 2226
|
// Internal receive context. | ||
// | ||
typedef struct CXPLAT_DATAPATH_INTERNAL_RECV_BUFFER_CONTEXT { | ||
typedef struct DECLSPEC_ALIGN(MEMORY_ALLOCATION_ALIGNMENT) DATAPATH_RX_PACKET { |
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.
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.
If it's actually needed, we then need a comment similar to what we have in the XDP datapath.
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.
I'm not sure if it's strictly necessary. It was copy/paste.
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.
It doesn't look like it's necessary. There is no SLIST operations in this file.
I will leave it up to you.
|
||
} CXPLAT_DATAPATH_INTERNAL_RECV_BUFFER_CONTEXT; | ||
} DATAPATH_RX_PACKET; |
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.
I'd add a comment saying there's a client data following the last field.
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.
There is already a comment at the end of CXPLAT_RECV_DATA
to that effect. I'm going to leave that as is for now.
Description
Cleans up a few things:
Testing
Existing automation
Documentation
N/A