c.c
F: drivers/irqchip/irq-or1k-*
OPENVSWITCH
-M: Pravin Shelar <pshe...@nicira.com>
+M: Pravin B Shelar <pshe...@ovn.org>
L: netdev@vger.kernel.org
L: d...@openvswitch.org
W: http://openvswitch.org
--
2.7.4
] RIP [] __skb_pull.part.7+0x4/0x6 [openvswitch]
[68245.520082] ---[ end trace 383bac9f3e676970 ]---
Fixes: aa310701e7 ("openvswitch: Add gre tunnel support.")
Reported-by: Uri Foox <u...@zoey.com>
CC: Joe Stringer <j...@ovn.org>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org
org>
CC: Jiri Benc <jb...@redhat.com>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
net/openvswitch/datapath.c | 1 -
net/openvswitch/flow.c | 54 +++---
2 files changed, 27 insertions(+), 28 deletions(-)
diff --git a/net/openvswitch/
Geneve already has check for device socket in route
lookup function. So no need to check it in xmit
function.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/net/geneve.c b/d
There are minimal difference in building Geneve header
between ipv4 and ipv6 geneve tunnels. Following patch
refactors code to unify it.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 100 ++-
1 file chang
cases. Removes
duplicate code, single code path can handle either type
of geneve devices.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 612 ++-
1 file changed, 263 insertions(+), 349 deletions(-)
diff --git a/d
Rather than comparing 64-bit tunnel-id, compare tunnel vni
which is 24-bit id. This also save conversion from vni
to tunnel id on each tunnel packet receive.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 17 +
1 file changed, 13 insertions
Following patch series make use of geneve LWT code path for
geneve netdev type of device.
This allows us to simplify geneve module without changing any
functionality.
v2-v3:
Rebase against latest net-next.
v1-v2:
Fix warning reported by kbuild test robot.
Pravin B Shelar (4):
geneve: Unify
cases. Removes
duplicate code, single code path can handle either type
of geneve devices.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 612 ++-
1 file changed, 263 insertions(+), 349 deletions(-)
diff --git a/d
Following patch series make use of geneve LWT code path for
geneve netdev type of device.
This allows us to simplify geneve module.
v1-v2:
Fix warning reported by kbuild test robot.
Pravin B Shelar (4):
geneve: Unify LWT and netdev handling.
geneve: Merge ipv4 and ipv6 geneve_build_skb
There are minimal difference in building Geneve header
between ipv4 and ipv6 geneve tunnels. Following patch
refactors code to unify it.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 100 ++-
1 file chang
Geneve already has check for device socket in route
lookup function. So no need to check it in xmit
function.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/net/geneve.c b/d
Rather than comparing 64-bit tunnel-id, compare tunnel vni
which is 24-bit id. This also save conversion from vni
to tunnel id on each tunnel packet receive.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 17 +
1 file changed, 13 insertions
There are minimal difference in building Geneve header
between ipv4 and ipv6 geneve tunnels. Following patch
refactors code to unify it.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 100 ++-
1 file chang
Following patch series make use of geneve LWT code path for
geneve netdev type of device.
This allows us to simplify geneve module.
Pravin B Shelar (4):
geneve: Unify LWT and netdev handling.
geneve: Merge ipv4 and ipv6 geneve_build_skb()
geneve: Remove redundant socket checks.
geneve
cases. Removes
duplicate code, single code path can handle either type
of geneve devices.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 611 ++-
1 file changed, 262 insertions(+), 349 deletions(-)
diff --git a/d
Rather than comparing 64-bit tunnel-id, compare tunnel vni
which is 24-bit id. This also save conversion from vni
to tunnel id on each tunnel packet receive.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 17 +
1 file changed, 13 insertions
Geneve already has check for device socket in route
lookup function. So no need to check it in xmit
function.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/geneve.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/net/geneve.c b/d
Check the vxlan socket in vxlan6_getroute().
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 756d826..9adeff9 100644
--- a/drivers/net/v
.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 46 +++---
1 file changed, 19 insertions(+), 27 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 9adeff9..8bb58f6 100644
--- a/drivers/net/vxlan.c
VxLan device does not have special handling for vlan taging on egress.
Therefore it does not make sense to expose vlan offloading feature.
This patch does not change vxlan functinality.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
Acked-by: Jiri Benc <jb...@redhat.com>
---
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
include/net/vxlan.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 308adc4..49a5920 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -281,16 +281,6 @@ struct vxl
B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 77 ++---
1 file changed, 38 insertions(+), 39 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 8bb58f6..aabb918 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/v
Avoid code duplicate code for handling RTF_LOCAL routes.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 85 -
1 file changed, 51 insertions(+), 34 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/v
support is not enabled.
Pravin B Shelar (7):
vxlan: avoid vlan processing in vxlan device.
vxlan: avoid checking socket multiple times.
vxlan: simplify exception handling
vxlan: improve vxlan route lookup checks.
vxlan: simplify RTF_LOCAL handling.
vxlan: simplify vxlan xmit
vxlan: remove
Existing vxlan xmit function handles two distinct cases.
1. vxlan net device
2. vxlan lwt device.
By seperating initialization these two cases the egress path
looks better.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
Acked-by: Jiri Benc <jb...@redhat.com>
---
drivers/net/
B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 71 +
1 file changed, 34 insertions(+), 37 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index bd17ab5..f106178 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/v
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
include/net/vxlan.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 308adc4..49a5920 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -281,16 +281,6 @@ struct vxl
Avoid code duplicate code for handling RTF_LOCAL routes.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 85 +++--
1 file changed, 50 insertions(+), 35 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/v
.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 28 +++-
1 file changed, 11 insertions(+), 17 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 756d826..a1e707f 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/v
Existing vxlan xmit function handles two distinct cases.
1. vxlan net device
2. vxlan lwt device.
By seperating initilization these two cases the egress path
looks better.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.
VxLan device does not have special handling for vlan taging on egress.
Therefore it does not make sense to expose vlan offloading feature.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 9 +
include/linux/if_vlan.h | 16
2 files c
Check the vxlan socket in vxlan6_getroute().
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index a1e707f..bd17ab5 100644
--- a/drive
Following patch series improves vxlan fast path, removes
duplicate code and simplifies vxlan xmit code path.
v1-v2:
Fix compilation error when IPv6 support is not enabled.
Pravin B Shelar (7):
vxlan: avoid vlan processing in vxlan device.
vxlan: simplify exception handling
vxlan: avoid
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
include/net/vxlan.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 308adc4..49a5920 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -281,16 +281,6 @@ struct vxl
Existing vxlan xmit function handles two distinct cases.
1. vxlan net device
2. vxlan lwt device.
By seperating initilization these two cases the egress path
looks better.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.
.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 28 +++-
1 file changed, 11 insertions(+), 17 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 756d826..a1e707f 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/v
Avoid code duplicate code for handling RTF_LOCAL routes.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 78 +
1 file changed, 43 insertions(+), 35 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/v
B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 71 +
1 file changed, 34 insertions(+), 37 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 6435d6a..15319f1 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/v
Following patch series improves vxlan fast path, removes
duplicate code and simplifies vxlan xmit code path.
Pravin B Shelar (7):
vxlan: avoid vlan processing in vxlan device.
vxlan: simplify exception handling
vxlan: avoid checking socket multiple times.
vxlan: improve vxlan route lookup
Check the vxlan socket in vxlan6_getroute().
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index a1e707f..6435d6a 100644
--- a/drivers/net/v
VxLan device does not have special handling for vlan taging on egress.
Therefore it does not make sense to expose vlan offloading feature.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 9 +
include/linux/if_vlan.h | 16
2 files c
76505a814dd68770 ]---
Fixes: 2ae0f17df1c ("genetlink: use idr to track families").
Reported-by: Jarno Rajahalme <ja...@ovn.org>
CC: Johannes Berg <johan...@sipsolutions.net>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
net/netlink/genetlink.c | 2 +-
1 file changed
When vxlan device is closed vxlan socket is freed. This
operation can race with 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>
---
drivers/net/vxlan.
This patch is similar to earlier vxlan patch.
Geneve device close operation 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>
When vxlan device is closed vxlan socket is freed. This
operation can race with 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>
---
drivers/net/vxlan.
This patch is similar to earlier vxlan patch.
Geneve device close operation 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.
since commit commit db74a3335e0f6 ("openvswitch: use percpu
flow stats") flow alloc resets flow-key. So there is no need
to reset the flow-key again if OVS is using newly allocated
flow-key.
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
net/openvswitch/datapath.c |
024 bytes [-Wframe-larger-than=]
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
net/openvswitch/datapath.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c
index 0536ab3..474e7a6 100644
vxlan: Flow based tunneling").
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 30 ++
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index da4e3d6..b812234 100644
--- a/dri
.
Reported-by: Jakub Libosvar <jlibo...@redhat.com>
Signed-off-by: Pravin B Shelar <pshe...@ovn.org>
---
drivers/net/vxlan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index b812234..c0dda6f 100644
--- a/drivers/net
By moving stats update into iptunnel_xmit(), we can simplify
iptunnel_xmit() usage. With this change there is no need to
call another function (iptunnel_xmit_stats()) to update stats
in tunnel xmit code path.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
v2-v3:
- Fixed ip6tunne
By moving stats update into iptunnel_xmit(), we can simplify
iptunnel_xmit() usage. With this change there is no need to
call another function (iptunnel_xmit_stats()) to update stats
in tunnel xmit code path.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
v1-v2:
By moving stats update into iptunnel_xmit(), we can simplify
iptunnel_xmit() usage. With this change there is no need to
call another function (iptunnel_xmit_stats()) to update stats
in tunnel xmit code path.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
drivers/net/geneve.c
IP-TTL case is already handled in ip_tunnel_ioctl() API.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
net/ipv4/ipip.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c
index 1f06729..4044da6 100644
--- a/net/ipv4/ipip.c
+++ b/net/ipv4/
By moving stats update into iptunnel_xmit(), we can simplify
iptunnel_xmit() usage. With this change there is no need to
call another function (iptunnel_xmit_stats()) to update stats
in tunnel xmit code path.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
drivers/net/ge
Call to iptunnel_xmit_stats() is not required after udp-tunnel6-xmit.
By calling iptunnel_xmit_stats() results in incorrect device stats.
Following patch drops this call.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
drivers/net/geneve.c |2 --
1 files changed, 0 insertions
ovs-tnl-vport devices. So after adding such device operation
we can remove similar operation from ovs-vport.
Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device").
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
v1-v2:
- changed ndo operation name to ndo_f
ovs-tnl-vport devices. So after adding such device operation
we can remove similar operation from ovs-vport.
Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device").
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
--
v2-v3:
- Remove unused tun_info
v1-v2:
- chang
With use of lwtunnel, we can directly call dev_queue_xmit()
rather than calling netdev vport send operation.
Following change make tunnel vport code bit cleaner.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
net/openvswitch/vport-geneve.c |2 +-
net/openvswitch/vport
("openvswitch: netlink attributes for IPv6 tunneling")
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
net/openvswitch/flow_netlink.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink
ovs-tnl-vport devices. After adding the device operation
There is no need for similar ovs-vport operation. So the vport
API is removed.
Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device").
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
driv
/0x200
[] netlink_sendmsg+0x308/0x364
[] sock_sendmsg+0x14/0x2c
[] SyS_sendto+0xbc/0xf0
Code: aa1603e1 f94037a4 aa1303e2 aa1703e0 (f9400465)
Reported-by: Tomasz Sawicki <tomasz.sawi...@objectiveintegration.uk>
Fixes: 8c876639c98 ("openvswitch: Remove vport stats.")
Signed-off-by:
ted. Negative value of checksum
offset start means there is no need to checksum.
Fixes: 6ae459bda ("skbuff: Fix skb checksum flag on skb pull")
Reported-by: Andrew Vagin <ava...@odin.com>
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
This and 6ae459bda patches needs t
[] __do_softirq+0xa8/0x210
[] call_softirq+0x1c/0x30
[] do_softirq+0x65/0xa0
[] irq_exit+0x8e/0xb0
[] do_IRQ+0x63/0xe0
[] common_interrupt+0x6e/0x6e
Reported-by: Anupam Chanda <acha...@vmware.com>
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
v1-v2:
Set skb to CHECKSUM_NONE
[] __do_softirq+0xa8/0x210
[] call_softirq+0x1c/0x30
[] do_softirq+0x65/0xa0
[] irq_exit+0x8e/0xb0
[] do_IRQ+0x63/0xe0
[] common_interrupt+0x6e/0x6e
Reported-by: Anupam Chanda <acha...@vmware.com>
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
net/core/dev.c |4 +++-
1 file
opts_size is only written and never read. Following patch
removes this unused variable.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
include/net/dst_metadata.h |1 -
net/core/dst.c |1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/inclu
igned-off-by: Pravin B Shelar <pshe...@nicira.com>
---
include/linux/skbuff.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 9b88536..6238e9f 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -2601,6 +2
Currently tun-info options pointer is used in few cases to
pass options around. But tunnel options can be accessed using
ip_tunnel_info_opts() API without using the pointer. Following
patch removes the redundant pointer and consistently make use
of API.
Signed-off-by: Pravin B Shelar pshe
Since all vport types are now backed by netdev, we can directly
use netdev stats. Following patch removes redundant stat
from vport.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
net/openvswitch/vport-internal_dev.c | 57 --
net/openvswitch/vport-netdev.c | 22
After converting all vport to netdev implmentations there
is no need for some of vport functionalify.
Pravin B Shelar (4):
openvswitch: Remove vport get_name()
openvswitch: Remove egress_tun_info.
openvswitch: Remove vport stats.
openvswitch: Remove vport-net
net/openvswitch/actions.c
Remove unused get_name() function pointer from vport ops.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
net/openvswitch/vport.h |6 +-
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h
index b88b3ee..2f35244 100644
tun info is passed using skb-dst pointer. Now we have
converted all vports to netdev based implementation so
Now we can remove redundant pointer to tun-info from OVS_CB.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
net/openvswitch/actions.c |5 -
net/openvswitch/datapath.c
This structure is not used anymore.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
net/openvswitch/datapath.h |2 --
net/openvswitch/flow.c |3 ++-
net/openvswitch/vport.h|4
3 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/net/openvswitch/datapath.h
-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
---
net/openvswitch/Kconfig|2 +-
net/openvswitch/vport-geneve.c | 179 +++
2 files changed, 33 insertions(+), 148 deletions(-)
diff --git a/net/openvswitch/Kconfig b
module.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
v4-v5:
- Fix xnet for collect-md tunnels
v3-v4:
- Fixed newlink() validation.
v2-v3:
- Fixed Kconfig dependency.
- unified geneve_build_skb()
- Fixed geneve_build_skb() error path.
---
drivers/net/Kconfig|4 +-
drivers/net/geneve.c
Following patch create new tunnel flag which enable
tunnel metadata collection on given device. These devices
can be used by tunnel metadata based routing or by OVS.
Geneve Consolidation patch get rid of collect_md_tun to
simplify tunnel lookup further.
Signed-off-by: Pravin B Shelar pshe
On packet transmit path geneve need to lookup route. Following
patch improves route lookup using more parameters.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
Acked-by: John W. Linville linvi...@tuxdriver.com
Add netlink interface to configure Geneve UDP port number.
So that user can configure it for a Gevene device.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
Acked-by: John W. Linville linvi...@tuxdriver.com
Introduce function udp_tun_rx_dst() to initialize tunnel dst on
receive path.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
---
drivers/net/vxlan.c| 29 ++--
include/net/dst_metadata.h
This change simplifies Geneve Tunnel hash table management.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Reviewed-by: John W. Linville linvi...@tuxdriver.com
---
drivers/net/geneve.c | 43 +--
1 files
.
- Improve geneve device route lookup with more parameters.
Pravin B Shelar (8):
geneve: Initialize ethernet address in device setup.
geneve: Use skb mark and protocol to lookup route.
tunnel: introduce udp_tun_rx_dst()
geneve: Make dst-port configurable.
geneve: Add support to collect tunnel
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
Acked-by: John W. Linville linvi...@tuxdriver.com
---
drivers/net/geneve.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net
with more parameters.
Pravin B Shelar (8):
geneve: Initialize ethernet address in device setup.
geneve: Use skb mark and protocol to lookup route.
tunnel: introduce udp_tun_rx_dst()
geneve: Make dst-port configurable.
geneve: Add support to collect tunnel metadata.
openvswitch: Use Geneve
module.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
v3-v4:
- Fixed newlink() validation.
v2-v3:
- Fixed Kconfig dependency.
- unified geneve_build_skb()
- Fixed geneve_build_skb() error path.
---
drivers/net/Kconfig|4 +-
drivers/net/geneve.c | 512
Introduce function udp_tun_rx_dst() to initialize tunnel dst on
receive path.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
---
drivers/net/vxlan.c| 29 ++--
include/net/dst_metadata.h
This change simplifies Geneve Tunnel hash table management.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Reviewed-by: John W. Linville linvi...@tuxdriver.com
---
Rebased on updated patches.
---
drivers/net/geneve.c | 43
On packet transmit path geneve need to lookup route. Following
patch improves route lookup using more parameters.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
Acked-by: John W. Linville linvi...@tuxdriver.com
-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
---
net/openvswitch/Kconfig|2 +-
net/openvswitch/vport-geneve.c | 179 +++
2 files changed, 33 insertions(+), 148 deletions(-)
diff --git a/net/openvswitch/Kconfig b
Following patch create new tunnel flag which enable
tunnel metadata collection on given device. These devices
can be used by tunnel metadata based routing or by OVS.
Geneve Consolidation patch get rid of collect_md_tun to
simplify tunnel lookup further.
Signed-off-by: Pravin B Shelar pshe
Add netlink interface to configure Geneve UDP port number.
So that user can configure it for a Gevene device.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
Acked-by: John W. Linville linvi...@tuxdriver.com
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
Acked-by: John W. Linville linvi...@tuxdriver.com
---
drivers/net/geneve.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net
Add netlink interface to configure Geneve UDP port number.
So that user can configure it for a Gevene device.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
---
Fixed dst-port netlink encoding
---
drivers/net/geneve.c | 25
for Geneve.
- Fix dst-port netlink encoding.
- drop changelink patch.
v1-v2:
- Replaced per hash table tunnel pointer (metadata enabled) with flag.
- Added support for changelink.
- Improve geneve device route lookup with more parameters.
Pravin B Shelar (8):
geneve: Initialize ethernet address
Following patch create new tunnel flag which enable
tunnel metadata collection on given device. These devices
can be used by tunnel metadata based routing or by OVS.
Geneve Consolidation patch get rid of collect_md_tun to
simplify tunnel lookup further.
Signed-off-by: Pravin B Shelar pshe
-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
---
net/openvswitch/Kconfig|2 +-
net/openvswitch/vport-geneve.c | 179 +++
2 files changed, 33 insertions(+), 148 deletions(-)
diff --git a/net/openvswitch/Kconfig b
Introduce function udp_tun_rx_dst() to initialize tunnel dst on
receive path.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
---
Rebased to support ipv6 tun-dst.
---
drivers/net/vxlan.c| 29 ++--
include/net/dst_metadata.h | 61
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
---
drivers/net/geneve.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c
index 897e1a3..95e9da0
This change simplifies Geneve Tunnel hash table management.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
---
drivers/net/geneve.c | 58 ++---
1 files changed, 26 insertions(+), 32 deletions(-)
diff
On packet transmit path geneve need to lookup route. Following
patch improves route lookup using more parameters.
Signed-off-by: Pravin B Shelar pshe...@nicira.com
Reviewed-by: Jesse Gross je...@nicira.com
Acked-by: Thomas Graf tg...@suug.ch
---
drivers/net/geneve.c |3 +++
1 files changed
1 - 100 of 139 matches
Mail list logo