All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v7 0/1] doc: DEVMAPs and XDP_REDIRECT
@ 2022-11-10 10:29 mtahhan
  2022-11-10 10:29 ` [PATCH bpf-next v7 1/1] " mtahhan
  0 siblings, 1 reply; 3+ messages in thread
From: mtahhan @ 2022-11-10 10:29 UTC (permalink / raw)
  To: bpf, linux-doc; +Cc: jbrouer, thoiland, donhunte, yhs, Maryam Tahhan

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.

v6-v7:
- Got rid of unnecessary initializations in examples.

v5->v6:
- Separate Kernel BPF and userspace functions for devmaps.
- Include some packet/tracepoint debug info in the redirect
  documentation.

v4->v5:
- Remove unused 'index' variable in example.

v3->v4:
- Prepend supported map section for XDP_REDIRECT documentation.

v2->v3:
- Fixed indentations in usage section to exclude non note text.
- Replace links to selftest with actual paths.

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 | 221 +++++++++++++++++++++++++++++++
 Documentation/bpf/redirect.rst   |  82 ++++++++++++
 net/core/filter.c                |   8 +-
 4 files changed, 310 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/bpf/map_devmap.rst
 create mode 100644 Documentation/bpf/redirect.rst

-- 
2.35.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-10 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 10:29 [PATCH bpf-next v7 0/1] doc: DEVMAPs and XDP_REDIRECT mtahhan
2022-11-10 10:29 ` [PATCH bpf-next v7 1/1] " mtahhan
2022-11-10 12:38   ` Toke Høiland-Jørgensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.