]> 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)
commit14a848d1d9de0883e4062ca8cdb87fcc21243abb
treee08de4fe8935c4990cfbcb328a38754ed0ccc8a4
parentbfce8ca799179feb7c4ab5069a1e248ca9f89468
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