diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-07-14 15:56:37 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-07-16 17:00:32 +0200 |
commit | 644bfe51fa49c22244d24e896cd3fe3ee2f2cfd1 (patch) | |
tree | 70ade60a61ea7f007193c1b908817cae13c43638 /include/trace/events | |
parent | samples/bpf: xdp_redirect_cpu_user: Do not update bpf maps in option loop (diff) | |
download | linux-644bfe51fa49c22244d24e896cd3fe3ee2f2cfd1.tar.xz linux-644bfe51fa49c22244d24e896cd3fe3ee2f2cfd1.zip |
cpumap: Formalize map value as a named struct
As it has been already done for devmap, introduce 'struct bpf_cpumap_val'
to formalize the expected values that can be passed in for a CPUMAP.
Update cpumap code to use the struct.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/bpf/754f950674665dae6139c061d28c1d982aaf4170.1594734381.git.lorenzo@kernel.org
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions