]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'lwtunnel-add-ip-and-ip6-options-setting-and-dumping'
authorDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:14:22 +0000 (21:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:14:22 +0000 (21:14 -0800)
Xin Long says:

====================
lwtunnel: add ip and ip6 options setting and dumping

With this patchset, users can configure options by ip route encap
for geneve, vxlan and ersapn lwtunnel, like:

  # ip r a 1.1.1.0/24 encap ip id 1 geneve class 0 type 0 \
    data "1212121234567890" dst 10.1.0.2 dev geneve1

  # ip r a 1.1.1.0/24 encap ip id 1 vxlan gbp 456 \
    dst 10.1.0.2 dev erspan1

  # ip r a 1.1.1.0/24 encap ip id 1 erspan ver 1 idx 123 \
    dst 10.1.0.2 dev erspan1

iproute side patch is attached on the reply of this mail.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge