This patch series is meant to allow us to get the best performance possible for Mellanox ConnectX-3/4 adapters in terms of VXLAN tunnels.
The first few patches address issues I found when just trying to collect performance numbers. Specifically I was unable to get rates of any more than 1 or 2 Mb/s if I was using a tunnel that ran over IPv6. In addition I found a few other items related to GSO_PARTIAL and the TSO_MANGLEID that needed to be addressed. The last 4 patches go through and enable GSO_PARTIAL for tunnels that have an outer checksum enabled, and then enable IPv6 support where we can. In my tests I found that the mlx4 doesn't support outer IPv6 but the mlx5 did so the code is updated to reflect that in the patches that enable IPv6 support. --- Alexander Duyck (8): net: Disable segmentation if checksumming is not supported gso: Only allow GSO_PARTIAL if we can checksum the inner protocol net: Fix netdev_fix_features so that TSO_MANGLEID is only available with TSO vxlan: Add checksum check to the features check function mlx4: Add support for UDP tunnel segmentation with outer checksum offload mlx4: Add support for inner IPv6 checksum offloads and TSO mlx5e: Add support for UDP tunnel segmentation with outer checksum offload mlx5e: Fix IPv6 tunnel checksum offload drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 38 +++++++++++++++++---- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 15 +++++++- drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 10 ++++-- include/linux/if_ether.h | 5 +++ include/net/vxlan.h | 4 ++ net/core/dev.c | 6 +++ net/core/skbuff.c | 6 ++- 7 files changed, 67 insertions(+), 17 deletions(-) --