vxlan: Add capability of Rx checksum offload for inner packet
authorJoseph Gasparakis <joseph.gasparakis@intel.com>
Fri, 7 Dec 2012 14:14:18 +0000 (14:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2012 05:20:28 +0000 (00:20 -0500)
commit0afb1666fe4ed8e51083af544f00d31bc8753352
treee08de4fe8935c4990cfbcb328a38754ed0ccc8a4
parentd6727fe3850de741b9a64e4a7069b536e380e2c6
vxlan: Add capability of Rx checksum offload for inner packet

This patch adds capability in vxlan to identify received
checksummed inner packets and signal them to the upper layers of
the stack. The driver needs to set the skb->encapsulation bit
and also set the skb->ip_summed to CHECKSUM_UNNECESSARY.

Signed-off-by: Joseph Gasparakis <joseph.gasparakis@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c