diff options
author | Xuesen Huang <[email protected]> | 2021-03-04 14:40:46 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-03-05 16:59:00 +0100 |
commit | d01b59c9ae94560fbcceaafeef39784d72765033 (patch) | |
tree | 8fc796fd568840b20623f9a06ca10760db097a64 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bce8623135fbe54bd86797df72cb85bfe4118b6e (diff) |
bpf: Add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_ENCAP_L2_ETH
bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets
encapsulation. But that is not appropriate when pushing Ethernet header.
Add an option to further specify encap L2 type and set the inner_protocol
as ETH_P_TEB.
Suggested-by: Willem de Bruijn <[email protected]>
Signed-off-by: Xuesen Huang <[email protected]>
Signed-off-by: Zhiyong Cheng <[email protected]>
Signed-off-by: Li Wang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions