datapath: disable LRO
authorJiri Benc <jbenc@redhat.com>
Mon, 17 Aug 2015 14:38:01 +0000 (07:38 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 18 Aug 2015 00:09:42 +0000 (17:09 -0700)
commit9c77ffe83cdaf1ea9c991dbec6f788ce2252526e
tree4fb8229bb36d77c5a78cb88e53a57473d23943f7
parentf8fe60beb18eab320456267f52b0267df425a76d
datapath: 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>
Upstream: 640b2b107c ("openvswitch: disable LRO").

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
datapath/vport-netdev.c