]> git.baikalelectronics.ru Git - kernel.git/commit
net: dummy: add more features
authorEric Dumazet <edumazet@google.com>
Tue, 20 Oct 2015 03:17:59 +0000 (20:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 02:36:10 +0000 (19:36 -0700)
commit06afec2f7edf306889298c2518bb4d3d1a3797ed
treed85ab640da126487ee2dbdc4954dd4738e7e9d4d
parent9f0ede11f65201879be2569d739544b9293d2dbc
net: dummy: add more features

While testing my SIT/GRO patch using netfilter TEE module and a dummy
device, I found some features were missing :

TSO IPv6, UFO, and encapsulated traffic.

ethtool -k dummy0 now gives :
...
tcp-segmentation-offload: on
tx-tcp-segmentation: on
tx-tcp-ecn-segmentation: on
tx-tcp6-segmentation: on
udp-fragmentation-offload: on
...
tx-gre-segmentation: on
tx-ipip-segmentation: on
tx-sit-segmentation: on
tx-udp_tnl-segmentation: on

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dummy.c