linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/1] doc: DEVMAPs and XDP_REDIRECT
@ 2022-10-17  9:47 mtahhan
  2022-10-17  9:47 ` [PATCH bpf-next v3 1/1] " mtahhan
  0 siblings, 1 reply; 7+ messages in thread
From: mtahhan @ 2022-10-17  9:47 UTC (permalink / raw)
  To: bpf, linux-doc; +Cc: 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.

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 | 189 +++++++++++++++++++++++++++++++
 Documentation/bpf/redirect.rst   |  46 ++++++++
 3 files changed, 236 insertions(+)
 create mode 100644 Documentation/bpf/map_devmap.rst
 create mode 100644 Documentation/bpf/redirect.rst

-- 
2.35.3


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH bpf-next v3 0/1] doc: DEVMAPs and XDP_REDIRECT
@ 2022-10-21 12:15 mtahhan
  2022-10-21 12:15 ` [PATCH bpf-next v3 1/1] " mtahhan
  0 siblings, 1 reply; 7+ messages in thread
From: mtahhan @ 2022-10-21 12:15 UTC (permalink / raw)
  To: bpf, linux-doc; +Cc: 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. 

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

-- 
2.35.3


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

end of thread, other threads:[~2022-10-25 15:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17  9:47 [PATCH bpf-next v3 0/1] doc: DEVMAPs and XDP_REDIRECT mtahhan
2022-10-17  9:47 ` [PATCH bpf-next v3 1/1] " mtahhan
2022-10-21 13:39   ` Donald Hunter
2022-10-24 12:12   ` Jesper Dangaard Brouer
2022-10-25  8:32     ` Maryam Tahhan
2022-10-25 15:17       ` Alexei Starovoitov
  -- strict thread matches above, loose matches on Subject: below --
2022-10-21 12:15 [PATCH bpf-next v3 0/1] " mtahhan
2022-10-21 12:15 ` [PATCH bpf-next v3 1/1] " mtahhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).