igbvf: Enable TSO for stacked VLAN
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Thu, 6 Aug 2015 08:57:28 +0000 (17:57 +0900)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Sep 2015 22:58:28 +0000 (15:58 -0700)
Setting ndo_features_check to passthru_features_check allows the driver
to skip the check for multiple tagged TSO packets and enables stacked
VLAN TSO.
Tested with I350.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igbvf/netdev.c

index 686fa7184179a473599584f25e0a6d714baff54f..e86d41ed9260780dd644509fd307e64974e9dd0e 100644 (file)
@@ -2615,6 +2615,7 @@ static const struct net_device_ops igbvf_netdev_ops = {
        .ndo_poll_controller    = igbvf_netpoll,
 #endif
        .ndo_set_features       = igbvf_set_features,
+       .ndo_features_check     = passthru_features_check,
 };
 
 /**