mbox series

[bpf-next,v3,0/1] doc: DEVMAPs and XDP_REDIRECT

Message ID 20221021121557.3486894-1-mtahhan@redhat.com (mailing list archive)
Headers show
Series doc: DEVMAPs and XDP_REDIRECT | expand

Message

Maryam Tahhan Oct. 21, 2022, 12:15 p.m. UTC
From: Maryam Tahhan <mtahhan@redhat.com>

Add documentation for BPF_MAP_TYPE_DEVMAP and
BPF_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