bpf, docs: DEVMAPs and XDP_REDIRECT
authorMaryam Tahhan <mtahhan@redhat.com>
Tue, 15 Nov 2022 14:49:21 +0000 (09:49 -0500)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 18 Nov 2022 22:16:31 +0000 (23:16 +0100)
commitd1e91173cd29ba13c5953d1820a7543140feec93
treecc7551892865dd8ee07e5fac04710e6cc2c2da90
parentf80e16b614f303b520465b7c704ff89fab800f2f
bpf, docs: DEVMAPs and XDP_REDIRECT

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.

Signed-off-by: Maryam Tahhan <mtahhan@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20221115144921.165483-1-mtahhan@redhat.com
Documentation/bpf/index.rst
Documentation/bpf/map_devmap.rst [new file with mode: 0644]
Documentation/bpf/redirect.rst [new file with mode: 0644]
net/core/filter.c