Re: [PATCH bpf-next v2 1/2] bpf: Add ipip6 and ip6ip decap support for bpf_skb_adjust_room()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux