[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1573030805.git.lucien.xin@gmail.com>
Date: Wed, 6 Nov 2019 17:01:02 +0800
From: Xin Long <lucien.xin@...il.com>
To: network dev <netdev@...r.kernel.org>
Cc: davem@...emloft.net, simon.horman@...ronome.com,
Jiri Benc <jbenc@...hat.com>, Thomas Graf <tgraf@...g.ch>,
u9012063@...il.com
Subject: [PATCH net-next 0/5] 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.
Thank Simon for good advice.
Xin Long (5):
lwtunnel: add options process for arp request
lwtunnel: add options process for cmp_encap
lwtunnel: add options setting and dumping for geneve
lwtunnel: add options setting and dumping for vxlan
lwtunnel: add options setting and dumping for erspan
include/uapi/linux/lwtunnel.h | 41 +++++
net/ipv4/ip_tunnel_core.c | 382 +++++++++++++++++++++++++++++++++++++++---
2 files changed, 402 insertions(+), 21 deletions(-)
--
2.1.0
Powered by blists - more mailing lists