[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3f068fde-e746-01b8-2193-358e2bbfdf01@linux.dev>
Date: Wed, 11 Jan 2023 17:26:43 -0800
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Ziyang Xuan <william.xuanziyang@...wei.com>, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
willemb@...gle.com, bpf@...r.kernel.org, netdev@...r.kernel.org,
song@...nel.org, yhs@...com, john.fastabend@...il.com,
kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com,
jolsa@...nel.org
Subject: Re: [PATCH bpf-next v2 1/2] bpf: Add ipip6 and ip6ip decap support
for bpf_skb_adjust_room()
On 1/11/23 12:01 AM, Ziyang Xuan wrote:
> diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
> index 464ca3f01fe7..dde1c2ea1c84 100644
> --- a/include/uapi/linux/bpf.h
> +++ b/include/uapi/linux/bpf.h
> @@ -2644,6 +2644,12 @@ union bpf_attr {
> * Use with BPF_F_ADJ_ROOM_ENCAP_L2 flag to further specify the
> * L2 type as Ethernet.
> *
> + * * **BPF_F_ADJ_ROOM_DECAP_L3_IPV4**,
> + * **BPF_F_ADJ_ROOM_DECAP_L3_IPV6**:
> + * Indicate the new IP header version after decapsulating the
> + * outer IP header. Mainly used in scenarios that the inner and
> + * outer IP versions are different.
> + *
selftests/bpf failed to compile. It is probably because there is leading spaces
instead of using tabs:
https://github.com/kernel-patches/bpf/actions/runs/3890850490/jobs/6640395038#step:11:112
/tmp/work/bpf/bpf/tools/testing/selftests/bpf/bpf-helpers.rst:1112:
(WARNING/2) Bullet list ends without a blank line; unexpected unindent.
make[1]: *** [Makefile.docs:76:
/tmp/work/bpf/bpf/tools/testing/selftests/bpf/bpf-helpers.7] Error 12
make: *** [Makefile:259: docs] Error 2
Powered by blists - more mailing lists