diff options
| author | Hangbin Liu <liuhangbin@kylinos.cn> | 2026-10-08 16:24:04 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-15 16:59:59 -0700 |
| commit | e32b5eb4f237a5ddcf936c53e9ca387bb4cdd31c (patch) | |
| tree | 5c4e11f0916afc3e9efdd59c15bf1f9104514bb5 /scripts/basic | |
| parent | 24d11a55860be75a6b478e4e4ba8adb419c19661 (diff) | |
netlink: specs: rt-route: describe lwtunnel IP options
Replace binary opts in lwtunnel-ip and lwtunnel-ip6 with a nested
lwtunnel-ip-opts set. Add attribute sets for geneve, vxlan, and erspan
IP options to match linux/lwtunnel.h.
Note the kernel encodes LWTUNNEL_IP_OPTS_GENEVE differently for requests
vs dumps. On the request path, the kernel iterates and reads one
CLASS/TYPE/DATA triplet per geneve option. On the dump path, the kernel
opens only one nested geneve option and writes a CLASS/TYPE/DATA triplet
for every option within it. Before there is a proper way to handle it,
I will just omit geneve options and use binary for it.
Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
Link: https://patch.msgid.link/20261008-ynl_rt_encap-v4-4-4ed2ccf7f949@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
