diff options
author | Alexander Duyck <alexanderduyck@fb.com> | 2024-07-12 08:50:28 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-15 12:50:44 -0700 |
commit | a29b8eb6e5337f569f4a08937573dce7cc183493 (patch) | |
tree | 02af180f7a7dda97cfd4c97c0e18a3a28ef67d04 /scripts/gdb/linux/radixtree.py | |
parent | 9a57bacd574b52b08bc2c600af6a8c7a87049ecf (diff) |
eth: fbnic: Add basic Rx handling
Handle Rx packets with basic csum and Rx hash offloads.
NIC writes back to the completion ring a head buffer descriptor
(data buffer allocated from header pages), variable number of payload
descriptors (data buffers in payload pages), an optional metadata
descriptor (type 2) and finally the primary metadata descriptor
(type 3).
This format makes scatter support fairly easy - start gathering
the pages when we see head page, gather until we see the primary
metadata descriptor, do the processing. Use XDP infra to collect
the packet fragments as we traverse the descriptors. XDP itself
is not supported yet, but it will be soon.
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/172079942839.1778861.10509071985738726125.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions