openvswitch: disable LRO
authorJiri Benc <jbenc@redhat.com>
Tue, 2 Jun 2015 12:36:34 +0000 (14:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2015 02:39:35 +0000 (19:39 -0700)
commit640b2b107cec23c754214b62a811465fa8f9257f
treec588b135bbccc990623e488e3c75c1d5f0feae46
parent88aeca15d637c279171ba441730ef41e4c4ce0ed
openvswitch: disable LRO

Currently, openvswitch tries to disable LRO from the user space. This does
not work correctly when the device added is a vlan interface, though.
Instead of dealing with possibly complex stacked cross name space relations
in the user space, do the same as bridging does and call dev_disable_lro in
the kernel.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport-netdev.c