From: Sriharsha Basavapatna Date: Thu, 11 Dec 2014 08:24:47 +0000 (-0500) Subject: be2net: Export tunnel offloads only when a VxLAN tunnel is created X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=630f4b70567fa0e2dc9283829f7cee04a5de3be2;p=pandora-kernel.git be2net: Export tunnel offloads only when a VxLAN tunnel is created The encapsulated offload flags shouldn't be unconditionally exported to the stack. The stack expects offloading to work across all tunnel types when those flags are set. This would break other tunnels (like GRE) since be2net currently supports tunnel offload for VxLAN only. Also, with VxLANs Skyhawk-R can offload only 1 UDP dport. If more than 1 UDP port is added, we should disable offloads in that case too. Signed-off-by: Sriharsha Basavapatna Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed