g vxlan interface does not know.
Signed-off-by: Jiri Benc <jb...@redhat.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/vxlan.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/datapa
ot;vxlan: support both IPv4 and IPv6 sockets in a single
vxlan device")
Signed-off-by: Jiri Benc <jb...@redhat.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/vxlan.c | 10 ++
Keep track of skb-mark of given RTNL routing notification.
This will be used by next commit.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
Acked-by: Jarno Rajahalme <ja...@ovn.org>
---
lib/route-table.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/route-table.c
OVS router is basically partial copy of linux kernel FIB.
kernel routing table uses skb-mark along with usual routing
parameters. Following patch brings in support for skb-mark
to ovs-router so that we can lookup route for given skb-mark.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
set skb-mark for given
tunnel endpoint. OVS would set the mark according to the
skb-mark option for all tunnel traffic including packets
generated by vSwitchd like tunnel monitoring BFD packet.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
v1-v2:
Handle zero egress_pkt_mark
Adde
Following patch series adds support for setting packet
mark for tunnel traffic. This allows better integration
with linux networking stack.
v1-v2:
Fixed patch 1 an 3 according to comments from Jarno.
Pravin B Shelar (3):
tunnel: Add support to configure ptk_mark
routing-table: parse skb-mark
OVS router is basically partial copy of linux kernel FIB.
kernel routing table use skb-mark along with usual routing
parameters. Following patch brings in support for skb-mark
to ovs-router so that we can lookup route according to
flow skb-mark.
Signed-off-by: Pravin B Shelar <pshe...@ovn.
Keep track of skb-mark of given RTNL routing notification.
This will be used by next commit.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
lib/route-table.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/route-table.c b/lib/route-table.c
index 00f95e3..61c8cd8
Following patch series adds support for setting packet
mark for tunnel traffic. This allows better integration
with linux networking stack.
Pravin B Shelar (3):
tunnel: Add support to configure ptk_mark
routing-table: parse skb-mark from RTNETLINK msg
ovs-router: introduce pkt-mark.
lib
ot;).
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
lib/netdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/netdev.c b/lib/netdev.c
index ad90ef6..ee9b461 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -1913,7 +1913,7 @@ netdev_get_addrs(const char
The compat vlan code ignores vlan tag for inner packet
on egress path. Following patch fixes this by inserting the
tag for inner packet before tunnel encapsulation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/geneve.c | 33 +++--
The compat vlan code ignores vlan tag for inner packet
on egress path. Following patch fixes this by inserting the
tag for inner packet before tunnel encapsulation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/geneve.c | 26 --
1 file c
vxlan-xmit function which
dereferences vxlan socket. Following patch uses RCU
mechanism to avoid this situation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
--
This patch is similar to earlier vxlan patch.
Lisp device close operation frees lisp socket. This
operation can race with lisp-xmit function which
dereferences lisp socket. Following patch uses RCU
mechanism to avoid this situation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
da
frees geneve socket. This
operation can race with geneve-xmit function which
dereferences geneve socket. Following patch uses RCU
mechanism to avoid this situation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
Acked-by: John W. Linville <linvi...@tuxdriver.com>
Si
vxlan-xmit function which
dereferences vxlan socket. Following patch uses RCU
mechanism to avoid this situation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
--
+0x3a9/0x3c0
[] __sys_sendmsg+0x51/0x90
[] SyS_sendmsg+0x12/0x20
[] system_call_fastpath+0x16/0x1b
Reported-by: Huanglili (lee) <huanglili.hu...@huawei.com>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
v1-v2:
Use dev-kfree-skb()
---
datapath/linux/compat/geneve.c
+0x3a9/0x3c0
[] __sys_sendmsg+0x51/0x90
[] SyS_sendmsg+0x12/0x20
[] system_call_fastpath+0x16/0x1b
Reported-by: Huanglili (lee) <huanglili.hu...@huawei.com>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/geneve.c | 6 ++
datapath/linux/compat/
Fixes test failure seen due to the IPsec tunnel deprecation
messages in test logs.
Fixes: 9e9d0384910e ("openvswitch: deprecates support for IPsec tunnel port.").
Reported-by: Joe Stringer <j...@ovn.org>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
tests/ofproto-m
pipeline to set skb-mark
and using xfrm to implement IPsec tunnels. xfrm can match
on the skb-mark to encrypt selective tunnel traffic.
VMware-BZ: 1710701
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
This is targeted for OVS master branch only.
---
NEWS
OVS IPsec tunnel support has issues:
1. It only works for GRE.
2. only works on Debian.
3. It does not allow user to match on packet-mark
on packet received on tunnel ports.
This patch deprecates support for IPsec tunnel port.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
.
This way user can use external daemon to manage IPsec tunnel
traffic and stir it using skb-mark match action in OVS bridge.
This patch deprecates support for IPsec tunnel port.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
NEWS| 2 ++
debian/changelog
At present OVS compat tunneling can fail due to conflict with
already loaded tunneling kernel module. In this case openvswitch
kernel module loading fails silently. Following patch give more
clues about what went wrong.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/
This allows openvswitch and geneve module co-exist kernel on newer
kernels.
Reported-by: Joe Stringer <j...@ovn.org>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/geneve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datapath/
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
.travis.yml| 1 +
.travis/linux-build.sh | 12
FAQ.md | 2 +-
NEWS | 2 +-
acinclude.m4 | 4 ++--
5 files changed, 17 insertions(+), 4 deletions(-)
diff
flare.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 1 +
datapath/linux/compat/gso.c | 12 ++--
datapath/linux/compat/inc
With use of LCO support we can finally enable SG and CSUM
features for GSO backport.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/
flare.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 1 +
datapath/linux/compat/gso.c | 6 --
datapath/linux/compat/inc
we can remove it, and remove the code that
was conditional upon it.
Signed-off-by: Edward Cree <ec...@solarflare.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/include/net/ip_tun
giving the
appearance that the tunnel vport creation completed successfully.
Signed-off-by: Martynas Pumputis <martynas@weave.works>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@o
redhat.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1361414
Signed-off-by: Ian Wienand <iwien...@redhat.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/vport-internal_dev.c | 2 +-
giving the
appearance that the tunnel vport creation completed successfully.
Signed-off-by: Martynas Pumputis <martynas@weave.works>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@o
kbuff: Do not scrub skb mark within the same name space").
VMware-BZ: #1710701
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 2 --
datapath/linux/compat/include/linux/skbuff.h | 2 +-
datapath/linux/compat/skbuff-openvswitch.c
When using compat GSO there is no need to turn on skb
encapsulation bit since OVS does not use any tunnel GSO
functionality from the networking stack.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 7 +--
1 file changed, 5 insertions(+), 2 del
Remove mutual exclusion between udp-gro registration and geneve receive port
registration.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 4 +++
datapath/linux/Modules.mk| 1 +
datapath/linux/compat/ge
Same as earlier patch this fixes vxlan recieve offload implementation.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/vxlan.c | 43 +--
1 file changed, 17 insertions(+), 26 deletions(-)
diff --git a/datapath/linux/
When using compat GSO there is no need to turn on skb
encapsulation bit since OVS does not use any tunnel GSO
functionality from the networking stack.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/ip_tunnels_core.c | 2 ++
1 file changed, 2 insertions(+)
diff
off-by: Pravin B Shelar <pshe...@ovn.org>
Acked-by: Jiri Benc <jb...@redhat.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/vxlan.c | 30 ++
1 file changed,
igned-off-by: Pravin B Shelar <pshe...@ovn.org>
Acked-by: Jiri Benc <jb...@redhat.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/vxlan.c | 4 ++--
1 file changed, 2 insertions(+
pv6hdr), instead of sizeof(iphdr).
Signed-off-by: Haishuang Yan <yanhaishu...@cmss.chinamobile.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/geneve.c | 9 +++--
1 file changed, 7 in
amuel.gauth...@6wind.com>
Acked-by: Joe Stringer <j...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/conntrack.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff -
Few function can be compiled out for non GSO case. This
patch make it bit cleaner to understand GSO compat code.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.h| 2 +-
datapath/linux/compat/include/net/udp_tunnel.h | 7 ---
datapath
struct ovs_gso_cb is stored in skb->cd. avoid going beyond size
of skb->cb.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 1 +
datapath/linux/compat/gso.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/datapath/linux/co
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/vxlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datapath/linux/compat/vxlan.c b/datapath/linux/compat/vxlan.c
index 6d77527..836d96d 100644
--- a/datapath/linux/compat/vxlan.c
+++ b/da
version.
This is not bug, But it helps in code readability.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/include/net/udp.h | 2 +-
datapath/linux/compat/udp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/datapath/linux/compat/i
The check for tunnel GSO packet is done at ip-handle-offloads. Remove
same check from udp-handle-offloads.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/include/net/udp_tunnel.h | 4
1 file changed, 4 deletions(-)
diff --git a/datapath/linux/compat/inclu
Remove kernel version check related to unsupported kernel.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/ip_tunnels_core.c | 8
1 file changed, 8 deletions(-)
diff --git a/datapath/linux/compat/ip_tunnels_core.c
b/datapath/linux/compat/ip_tunnels_
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
FAQ.md | 2 +-
NEWS | 2 +-
acinclude.m4 | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/FAQ.md b/FAQ.md
index 40e3a22..cb9ef41 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -172,7 +172,7 @@ A: The following
In case of OVS using compat fill metadata dst implementation we need to
setup temperory dst.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/datapath/linux/compat/gso.h b/datapath
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/include/net/udp.h | 2 +-
datapath/linux/compat/udp.c | 19 ++-
datapath/linux/compat/udp_tunnel.c | 17 +
3 files changed, 4 insertions(+), 34 deletions(-)
diff
OVS turns on tunnel GSO backport statically for kernel older than
3.18. Some distributions kernels could backport tunnel GSO. To make
use of device tunnel offload on such kernel detect the support at
configure stage.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acincl
Following patches brings in bug fixes and minor updates to compat layer.
Last patch adds for latest released linux kernel support.
Pravin B Shelar (6):
datapath: compat: Detect GSO support at ovs configure
datapath: compat: Use checksum offload for outer header.
datapath: compat: cleanup ip
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c
index 34e5b75..be41e6e 100644
--- a/datapath/linux/compat/gso.c
+++ b/datapath/linux/
t in case compat layer handles the packet.
VMware-BZ: 1698877
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c
index 32790c3..3a73bcd 100644
--- a
First two patches fixes to issues related to geneva and vxlan tunnel.
Third patch is just code improvement.
Pravin B Shelar (3):
datapath: compat: fix udp checksum calculation
datapath: compat: unset skb encapsulation bit
datapath: compat: simplify ip_local_out().
acinclude.m4
In upstream linux kernel networking stack udp_set_csum() is called
with only udp header applied but in case of compat layer it can
be called with IP header. So following patch take the offset into
account.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acincl
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 82 ++---
1 file changed, 33 insertions(+), 49 deletions(-)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c
index 3a73bcd..fbbbc89
Most of patch iron out USE_UPSTREAM_TUNNEL case where datapath
directly use upstream tunneling modules.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 7 +++---
datapath/linux/compat/geneve.c | 4 ++--
datapath
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c
index 8368c6a..de9c8e1 100644
--- a/datapath/linux/compat/gso.c
compat layer handles the packet.
VMware-BZ: 1698877
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c
index 92f5441..8368c6a 100644
--- a/datapath/linux/
First two patches fixes to issues related to geneva and vxlan tunnel.
Third patch is just code improvement.
Pravin B Shelar (3):
datapath: compat: fix udp checksum calculation
datapath: compat: unset skb encapsulation bit
datapath: compat: simplify ip_local_out().
datapath/linux/compat
In upstream linux kernel networking stack udp_set_csum() is called
with only udp header applied but in case of compat layer it can
be called with IP header. So following patch take the offset into
account.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/udp
ed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
This patch is for testing only. I am planing on sending fix
for upstream vxlan soon.
---
datapath/linux/compat/vxlan.c | 71 ++-
1 file changed, 37 insertions(+), 34 deletions(-)
diff --git a/datapath/
Most of changes are related to ip-fragment API and genetlink
API changes.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
Fixed according to comments from Jesse.
---
acinclude.m4 | 17 +++--
datapath/actions.c
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/actions.c | 31 ---
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/datapath/actions.c b/datapath/actions.c
index abf7e3b..3f2ba4c 100644
--- a/datapath/actions.c
+++ b/datapath/act
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4| 8 ++--
datapath/linux/compat/include/linux/netdevice.h | 17 +++--
datapath/vport-netdev.c | 2 +-
3 files changed, 22 insertions(+), 5 del
Most of changes are related to ip-fragment API and genetlink
API changes.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 17 ++--
datapath/actions.c | 5 +++-
datapath/data
This series contains patches to advance kernel datapath
support for kernel upto 4.6.
First three patches are from earlier series.
Pravin B Shelar (8):
datapath: Sync OVS recursive loop counter with upstream.
datapath: genlmsg_new_unicast to genlmsg_new
datapath: backport: allow output
Update kernel list to latest stable release.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
.travis.yml | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 6c818cb..a46994d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@
phal <f...@strlen.de>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 1 -
datapath/datapath.c | 22 --
datapath/lin
Most of patch iron out USE_UPSTREAM_TUNNEL case where datapath
directly use upstream tunneling modules.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 7 +++---
datapath/linux/compat/geneve.c | 4 ++--
datapath
.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/dev-openvswitch.c | 2 +-
datapath/linux/compat/geneve.c | 2 ++
datapath/linux/compat/include/linux/netdevice.h | 2 +-
datapath/linux/compat/ip_gre.c | 2 ++
datapath/linux/
by: Simon Horman <simon.hor...@netronome.com>
Reviewed-by: Jesse Gross <je...@kernel.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/flow_netlink.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
kov <khlebni...@yandex-team.ru>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/flow_table.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --gi
n said value
changes, the underlying devs are notified via the
ndo_set_rx_headroom method.
This also increases the internal vports xmit performance.
Signed-off-by: Paolo Abeni <pab...@redhat.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-b
added for nla_put_net64().
This function is removed in the next patch.
Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/flow_netlink.c
et>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/datapath.c | 3 ++-
datapath/linux/compat/include/net/netlink.h | 7 +++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/datapath/datapath.c b/datapath/datapath.c
index bb6d33b..212ad
Synchronize code with upstream ovs_nla_get_flow_metadata().
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/flow.c | 2 ++
datapath/flow_netlink.c | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/datapath/flow.c b/datapath/flow.c
index 4e6dfb2..3
Fixes: 8b32ab9e6ef1 ("ovs: use nla_put_u64_64bit()")
Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4
Upstream commit:
commit f35423c137b0e64155f52c166db1d13834a551f2
Author: Fabian Frederick <f...@skynet.be>
openvswitch: use PTR_ERR_OR_ZERO
Signed-off-by: Fabian Frederick <f...@skynet.be>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: D
ackets
with malformed extension headers.
Signed-off-by: Simon Horman <simon.hor...@netronome.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/flow.c | 21 +++--
1 file changed, 15 in
by: Simon Horman <simon.hor...@netronome.com>
Reviewed-by: Jesse Gross <je...@kernel.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/flow_netlink.c | 3 ---
1 file changed, 3 deletions(-)
diff --
n <simon.hor...@netronome.com>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/datapath.c | 28 +---
1 file changed, 17 insertions(+), 11
e type in the ethernet header.
As suggested by Pravin Shelar.
Cc: Pravin Shelar <pshe...@ovn.org>
Fixes: 25cd9ba0abc0 ("openvswitch: Add basic MPLS support to kernel")
Signed-off-by: Simon Horman <simon.hor...@netronome.com>
Acked-by: Pravin B Shelar <
There is no need to support old kernel so now we can use
newer api to access per cpu data.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/actions.c | 4 ++--
datapath/linux/compat/include/linux/percpu.h | 6 --
2 files changed, 2 insertions
zhangshen...@cmss.chinamobile.com>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/vport-internal_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
uot;David S. Miller" <da...@davemloft.net>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin Shelar <pshe...@ovn.org>
---
datapath/datapath.c | 20 ++--
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/actions.c | 31 ---
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/datapath/actions.c b/datapath/actions.c
index ed44ead..3cd2922 100644
--- a/datapath/actions.c
+++ b/datapath/act
Introduced by upstream commit 4272cc51a6d ("openvswitch: Convert to
using IFF_NO_QUEUE").
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/include/linux/netdevice.h | 6 ++
datapath/vport-internal_dev.c | 5 -
2 files change
From: Pravin B Shelar <pshe...@nicira.com>
Following patches brings in couple of fixes to recent tunneling changes.
along with various other improvement and fixes.
Pravin B Shelar (24):
datapath: compat: clear skb IPCB block.
datapath: tnl-segmentation: clone dst for each s
Use newer API which is consistent with upstream.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 1 -
datapath/datapath.c | 22 --
datapath/linux/compat/include/net/genetlink.h | 9 --
partialy backport commit c868ee7063bdb5 ("lwt: fix rx checksum setting
for lwt devices tunneling over ipv6").
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/vport-vxlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datapath/vport-vxlan.c
Each skb segment needs a dst entry.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c
index 8812253..9d478f8 100644
--- a/datapath/linux/compat
On transmit metadata dst is cleared, do same on recieve.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/geneve.c | 2 +-
datapath/linux/compat/include/net/dst_metadata.h | 20 ++--
datapath/linux/compat/include/net/udp_tu
OVS compat ip_local_out/ip6_local_out clear out skb IPCB, we also
need to do it for non compat version.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/gso.h | 16
1 file changed, 16 insertions(+)
diff --git a/datapath/linux/compat/gso.h b/da
This simplify OVS compat code where non gso packet can be directly sent
to network stack.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/ip_tunnels_core.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/datapath/linux/
Use kernel function to update checksum.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4 | 1 +
datapath/actions.c | 8 +++-
datapath/linux/compat/include/linux/skbuff.h | 20
datapath
.@ovn.org>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/compat/include/net/ip_tunnels.h | 13 ++-
datapath/linux/compat/include/net/udp_tunnel.h | 32 +++---
datapath/linux/compat/ip_tunnels_core.c| 7 ++
3 files changed, 18
ed-off-by: Paolo Abeni <pab...@redhat.com>
Suggested-and-acked-by: Hannes Frederic Sowa <han...@stressinduktion.org>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
datapath/linux/Modules.mk
("openvswitch:
Fix egress tunnel info.")
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
acinclude.m4| 1 +
datapath/actions.c | 18 +++---
datapath/datapath.c | 5 +-
dat
1 - 100 of 840 matches
Mail list logo