doc: DEVMAPs and XDP_REDIRECT
Subsystems (2)
v3 cover doc: DEVMAPs and XDP_REDIRECT
From: Maryam Tahhan <[email protected]>
Add documentation for BPF_MAP_TYPE_DEVMAP andBPF_MAP_TYPE_DEVMAP_HASH including kernel version
introduced, usage and examples.
Add documentation that describes XDP_REDIRECT.
v2->v3:
- Update examples in DEVMAPs documentation for broadcast scenario.
- Update key reference for BPF_MAP_TYPE_DEVMAP_HASH (doesn't have to be ifindex).
- Remove information re xdp_redirect internals.
v1->v2:
- Separate xdp_redirect documentation to its own file.
- Clean up and simplify examples and usage function descriptions.
Maryam Tahhan (1):
doc: DEVMAPs and XDP_REDIRECT
Documentation/bpf/index.rst | 1 + Documentation/bpf/map_devmap.rst | 208 +++++++++++++++++++++++++++++++ Documentation/bpf/redirect.rst | 41 ++++++ 3 files changed, 250 insertions(+) create mode 100644 Documentation/bpf/map_devmap.rst create mode 100644 Documentation/bpf/redirect.rst
Signature · 1 line
2.35.3
PATCH v3 1/1 doc: DEVMAPs and XDP_REDIRECT
From: Maryam Tahhan <[email protected]>
Add documentation for BPF_MAP_TYPE_DEVMAP andBPF_MAP_TYPE_DEVMAP_HASH including kernel version
introduced, usage and examples.
Add documentation that describes XDP_REDIRECT.
--- Documentation/bpf/index.rst | 1 + Documentation/bpf/map_devmap.rst | 205 +++++++++++++++++++++++++++++++ Documentation/bpf/redirect.rst | 41 +++++++ 3 files changed, 247 insertions(+) create mode 100644 Documentation/bpf/map_devmap.rst create mode 100644 Documentation/bpf/redirect.rst
Documentation/bpf/index.rst +1 -0
@@ -29,6 +29,7 @@ that goes into great technical depth about the BPF Architecture. clang-notes linux-notes other + redirect .. only:: subproject and html
Documentation/bpf/map_devmap.rst new file +205 -0
205 lines not on this page · raw message
Documentation/bpf/redirect.rst new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
2.35.3