From: Hangbin Liu Replace binary BPF attributes with a nested lwt-bpf-prog to support lwt bpf prog options. Signed-off-by: Hangbin Liu --- Documentation/netlink/specs/rt-route.yaml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml index 4b12a8a58652..4a3953c9e978 100644 --- a/Documentation/netlink/specs/rt-route.yaml +++ b/Documentation/netlink/specs/rt-route.yaml @@ -467,13 +467,16 @@ attribute-sets: attributes: - name: in - type: binary # bpf prog + type: nest + nested-attributes: lwt-bpf-prog - name: out - type: binary + type: nest + nested-attributes: lwt-bpf-prog - name: xmit - type: binary + type: nest + nested-attributes: lwt-bpf-prog - name: xmit-headroom type: u32 @@ -508,7 +511,8 @@ attribute-sets: type: u32 - name: bpf - type: binary + type: nest + nested-attributes: lwt-bpf-prog - name: vrftable type: u32 @@ -618,6 +622,17 @@ attribute-sets: - name: hwid type: u8 + - + name: lwt-bpf-prog + name-prefix: lwt-bpf-prog- + header: linux/lwtunnel.h + attributes: + - + name: fd + type: u32 + - + name: name + type: string operations: enum-model: directional -- 2.55.0