diff options
| author | Daniel Zahka <daniel.zahka@gmail.com> | 2026-09-24 17:35:21 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-09-29 10:35:59 +0200 |
| commit | a9a9bb5416148f415a8c847048feb017d4f1b089 (patch) | |
| tree | 5c211b6dd063cd88d2e35fcce48080a759a464d5 /tools/lib/python/kdoc/python_version.py | |
| parent | 4b26e9cdad78bfa4e1ff80690589f0244ba07e4d (diff) | |
eth: mpnic: add basic Rx handling
A frame arrives as a run of completion descriptors: one header
address/length descriptor, one address/length descriptor per payload
page, and a metadata descriptor that closes the frame. The frame is
assembled in an xdp_buff as the descriptors come in and handed to the
stack when the metadata descriptor arrives.
A page holds several frames, so rather than taking a reference per
frame the driver takes a batch of references when it starts handing the
page out and returns whatever is left over once the device moves on to
the next one. Payload fragments that turn out to be contiguous within
one page are merged so that a frame spread over a page does not eat one
skb fragment slot per descriptor.
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20260924-linux-mpnic-v2-8-4badc9b58b9e@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
