team: Advertise tunneling offload features
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 17 Dec 2015 14:11:55 +0000 (16:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Dec 2015 21:24:36 +0000 (16:24 -0500)
commit3268e5cb494d8778a5a67a9fa2b1bdb0243b77ad
tree03630df515cc70a1054e848c6496981bb5f91baa
parent34a55d5e858e81a20d33fd9490149d6a1058be0c
team: Advertise tunneling offload features

When the underlying device supports offloads encapulated traffic,
we need to reflect that through the hw_enc_features field of the
team net-device.

This will cause the xmit path in the core networking stack to provide
team with encapsulated GSO frames to offload into the HW etc.

Using this over Mellanox ConnectX3-pro (mlx4 driver) card that supports
VXLAN offloads we got 36.0 Gbits/sec using eight iperf streams.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c