diff options
| author | Yuya Kusakabe <[email protected]> | 2020-02-25 03:32:12 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-02-25 21:50:55 +0000 |
| commit | 503d539a6e417b018616bf3060e0b5814fafce47 (patch) | |
| tree | 3999130006b4ac5b8593f683765f4feca5e381ad /scripts/bpf_helpers_doc.py | |
| parent | virtio_net: Keep vnet header zeroed if XDP is loaded for small buffer (diff) | |
| download | kernel-503d539a6e417b018616bf3060e0b5814fafce47.tar.gz kernel-503d539a6e417b018616bf3060e0b5814fafce47.zip | |
virtio_net: Add XDP meta data support
Implement support for transferring XDP meta data into skb for
virtio_net driver; before calling into the program, xdp.data_meta points
to xdp.data, where on program return with pass verdict, we call
into skb_metadata_set().
Tested with the script at
https://github.com/higebu/virtio_net-xdp-metadata-test.
Signed-off-by: Yuya Kusakabe <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
