diff options
author | David Ahern <dsahern@kernel.org> | 2020-05-29 16:07:12 -0600 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-01 14:48:31 -0700 |
commit | 7f1c04269fe7b3293dea38ea65da4fd6614d6f80 (patch) | |
tree | cd4c6feac28a86b0376bd694720e70f9a7ed21a6 /net | |
parent | b36e62eb85215a60916f910070f6d494b4f3e73a (diff) | |
download | linux-7f1c04269fe7b3293dea38ea65da4fd6614d6f80.tar.bz2 |
devmap: Formalize map value as a named struct
Add 'struct bpf_devmap_val' to formalize the expected values that can
be passed in for a DEVMAP. Update devmap code to use the struct.
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20200529220716.75383-2-dsahern@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions