diff options
| author | John Fastabend <[email protected]> | 2017-07-17 09:28:56 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-17 09:48:06 -0700 |
| commit | 546ac1ffb70d25b56c1126940e5ec639c4dd7413 (patch) | |
| tree | ee72376133d162b6bacd60cc6c061458a76be88c /tools/perf/scripts/python | |
| parent | 5acaee0a8964c9bab7775ab8bedcd1f66a2a1011 (diff) | |
bpf: add devmap, a map for storing net device references
Device map (devmap) is a BPF map, primarily useful for networking
applications, that uses a key to lookup a reference to a netdevice.
The map provides a clean way for BPF programs to build virtual port
to physical port maps. Additionally, it provides a scoping function
for the redirect action itself allowing multiple optimizations. Future
patches will leverage the map to provide batching at the XDP layer.
Another optimization/feature, that is not yet implemented, would be
to support multiple netdevices per key to support efficient multicast
and broadcast support.
Signed-off-by: John Fastabend <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions