tunneling: Use flow flag for GRE checksum calculation.
authorJesse Gross <jesse@nicira.com>
Fri, 27 Mar 2015 05:55:53 +0000 (22:55 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 7 Apr 2015 23:26:56 +0000 (16:26 -0700)
commit61cf6b70243ee5bb7e948cabf5298a21a66e7c77
treec4152f9833ae5aca234fa6994783504e0a48efd0
parentd804d31e24a47d51bf066052c87524ed865f3f4a
tunneling: Use flow flag for GRE checksum calculation.

The indication to calculate the GRE checksum is currently the port
config rather than the tunnel flow. Currently there is a one to one
mapping between the two so there is no difference. However, the
kernel datapath must use the flow and it is also potentially more
flexible, so this switches how we decide whether to calculate the
checksum.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pritesh Kothari <pritesh.kothari@cisco.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-vport.c