-
Notifications
You must be signed in to change notification settings - Fork 216
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
XDP IO and Netlink rewrite #4141
base: main
Are you sure you want to change the base?
Conversation
uchar const * packet = (uchar const *)xsk->umem.addr + frame.addr; | ||
net_rx_packet( ctx, stem, packet, frame.len ); | ||
|
||
FD_VOLATILE( *rx_ring->cons ) = rx_ring->cached_cons = rx_seq+1U; |
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.
Need a COMPILER_MFENCE here before the volatile write?
/* Free the frame by returning it back to the fill ring */ | ||
|
||
fill_ring->frame_ring[ fill_prod&fill_mask ] = frame.addr & (~frame_mask); | ||
FD_VOLATILE( *fill_ring->prod ) = fill_ring->cached_prod = fill_prod+1U; |
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.
Also compiler_mfence here?
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.
.
9c7dd36
to
3ed127a
Compare
07233c4
to
ebf0d87
Compare
Hack requested by Tom to have more accurate pcaps.
- Remove xsk_aio - Remove xsk IO API - Remove XDP mode from QUIC unit tests - Remove XDP test utils
Adds a simple pure FIB implementation compatible with Linux
1d69e42
to
02b967a
Compare
02b967a
to
71c7107
Compare
This is a combination of #4135 and #4049. Please don't merge