diff options
author | 2019-11-06 17:01:05 +0800 | |
---|---|---|
committer | 2019-11-06 21:14:21 -0800 | |
commit | 4ece477870774698e6e73d5821a3dd1605ca123b (patch) | |
tree | 75615976d944899d7636050fc106391f153f2f43 /tools/perf/scripts/python | |
parent | lwtunnel: add options process for cmp_encap (diff) | |
download | linux-dev-4ece477870774698e6e73d5821a3dd1605ca123b.tar.xz linux-dev-4ece477870774698e6e73d5821a3dd1605ca123b.zip |
lwtunnel: add options setting and dumping for geneve
To add options setting and dumping, .build_state(), .fill_encap() and
.get_encap_size() in ip_tun_lwt_ops needs to be extended:
ip_tun_build_state():
ip_tun_parse_opts():
ip_tun_parse_opts_geneve()
ip_tun_fill_encap_info():
ip_tun_fill_encap_opts():
ip_tun_fill_encap_opts_geneve()
ip_tun_encap_nlsize()
ip_tun_opts_nlsize():
if (tun_flags & TUNNEL_GENEVE_OPT)
ip_tun_parse_opts(), ip_tun_fill_encap_opts() and ip_tun_opts_nlsize()
processes LWTUNNEL_IP_OPTS.
ip_tun_parse_opts_geneve(), ip_tun_fill_encap_opts_geneve() and
if (tun_flags & TUNNEL_GENEVE_OPT) processes LWTUNNEL_IP_OPTS_GENEVE.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions