datapath: compat: unset skb encapsulation bit
authorPravin B Shelar <pshelar@ovn.org>
Tue, 26 Jul 2016 00:49:54 +0000 (17:49 -0700)
committerPravin B Shelar <pshelar@ovn.org>
Tue, 26 Jul 2016 23:55:27 +0000 (16:55 -0700)
commita0ceb7da50e5abbfbe82cbef552867a39be1e134
treea8e9e1b62259a90df79714fa2460a91c096e5177
parentc77d947191b0ad86aa590f9327677bd2492e44e8
datapath: compat: unset skb encapsulation bit

OVS compat layer can handle tunnel GSO packets. but it does
keep skb encapsulation on for packet handled in GSO. This can
confuse some NIC drivers. I have seen this issue on intel devices:

>>>  i40e 0000:42:00.0: TX driver issue detected, PF reset issued

Following patch resets this bit in case compat layer handles the packet.

VMware-BZ: 1698877
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
datapath/linux/compat/gso.c