bonding: Advertize vxlan offload features when supported
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 17 Jun 2014 13:11:09 +0000 (16:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jun 2014 23:49:51 +0000 (16:49 -0700)
commit5a7baa78851b8e915480aa596de4bd2f13f31ffb
tree25a207d8d1a50b07072de9f95a1c03e512809ddf
parentee14eb7b5f20313d80eedeb8d35e84429a7cf020
bonding: Advertize vxlan offload features when supported

When the underlying device supports TCP offloads for VXLAN/UDP
encapulated traffic, we need to reflect that through the hw_enc_features
field of the bonding net-device. This will cause the xmit path
in the core networking stack to provide bonding with encapsulated
GSO frames to offload into the HW etc.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c