]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51894bbcd85b4e00bab6e8991d4eabd61ef8b218
tree25a207d8d1a50b07072de9f95a1c03e512809ddf
parente5c53c26a698a0ac44f5a5efc4ada2b96d02a8e5
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