diff options
| author | Hangbin Liu <liuhangbin@kylinos.cn> | 2026-10-08 16:24:05 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-15 16:59:59 -0700 |
| commit | 8ab5eb3bf6e0dafa08614c6f7e13d896bf54f424 (patch) | |
| tree | 778da5d8de148deb56774dcc572101974f7c62da | |
| parent | e32b5eb4f237a5ddcf936c53e9ca387bb4cdd31c (diff) | |
netlink: specs: rt-route: describe lwt BPF program options
Replace binary BPF attributes with a nested lwt-bpf-prog to support
lwt bpf prog options.
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
Link: https://patch.msgid.link/20261008-ynl_rt_encap-v4-5-4ed2ccf7f949@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
| -rw-r--r-- | Documentation/netlink/specs/rt-route.yaml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml index ea6711292c9b..82e59af56ecd 100644 --- a/Documentation/netlink/specs/rt-route.yaml +++ b/Documentation/netlink/specs/rt-route.yaml @@ -469,13 +469,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 @@ -603,6 +606,18 @@ attribute-sets: - name: hwid type: u8 + - + name: lwt-bpf-prog + name-prefix: lwt-bpf-prog- + attributes: + - + name: fd + type: u32 + - + name: name + type: string + checks: + max-len: 256 operations: enum-model: directional |
