]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c8af47df4cee667a1588b735780b6088d337b3b
treee08de4fe8935c4990cfbcb328a38754ed0ccc8a4
parentf11e71987db8f2ea54a90aa8038afcd55f7cb60c
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