e1000e: Enable TSO for stacked VLAN
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Thu, 6 Aug 2015 08:57:29 +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 I217-LM.

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/e1000e/netdev.c

index faf4b3f..2e2ddec 100644 (file)
@@ -6952,6 +6952,7 @@ static const struct net_device_ops e1000e_netdev_ops = {
 #endif
        .ndo_set_features = e1000_set_features,
        .ndo_fix_features = e1000_fix_features,
+       .ndo_features_check     = passthru_features_check,
 };
 
 /**