]> git.baikalelectronics.ru Git - kernel.git/commit
veth: extend features to support tunneling
authorEric Dumazet <edumazet@google.com>
Sat, 26 Oct 2013 01:25:03 +0000 (18:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2013 04:57:29 +0000 (00:57 -0400)
commit2830dad7b0cb3b9b81304e1e4dbdf02f936b7d86
tree239b1362fbe115628cc48af3d6b5ee73132964c4
parentc408a5d43bc393e1bf2ab24bedf75df064950b46
veth: extend features to support tunneling

While investigating on a recent vxlan regression, I found veth
was using a zero features set for vxlan tunnels.

We have to segment GSO frames, copy the payload, and do the checksum.

This patch brings a ~200% performance increase

We probably have to add hw_enc_features support
on other virtual devices.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c