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)
commit8f3af27786913851e720bc9466d1abffcfa7aff6
treed85ab640da126487ee2dbdc4954dd4738e7e9d4d
parentb1974ed05ea90264d534a200e8a13932ad55f8b8
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