diff mbox

[next,1/4] igbvf: Enable TSO for stacked vlan

Message ID 1438851452-13143-1-git-send-email-makita.toshiaki@lab.ntt.co.jp
State Accepted
Delegated to: Jeff Kirsher
Headers show

Commit Message

Toshiaki Makita Aug. 6, 2015, 8:57 a.m. UTC
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>
---
 drivers/net/ethernet/intel/igbvf/netdev.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Brown, Aaron F Aug. 21, 2015, 10:33 p.m. UTC | #1
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@lists.osuosl.org] On
> Behalf Of Toshiaki Makita
> Sent: Thursday, August 06, 2015 1:57 AM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@intel.com>; Brandeburg, Jesse
> <jesse.brandeburg@intel.com>; Nelson, Shannon <shannon.nelson@intel.com>;
> Wyborny, Carolyn <carolyn.wyborny@intel.com>; Skidmore, Donald C
> <donald.c.skidmore@intel.com>; Vick, Matthew <matthew.vick@intel.com>;
> Ronciak, John <john.ronciak@intel.com>; Williams, Mitch A
> <mitch.a.williams@intel.com>
> Cc: intel-wired-lan@lists.osuosl.org; Toshiaki Makita
> <makita.toshiaki@lab.ntt.co.jp>
> Subject: [Intel-wired-lan] [PATCH next 1/4] igbvf: Enable TSO for stacked vlan
> 
> 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>
> ---
>  drivers/net/ethernet/intel/igbvf/netdev.c | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Aaron Brown <aaron.f.brown@intel.com>
diff mbox

Patch

diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c
index 95af14e..45679e4 100644
--- a/drivers/net/ethernet/intel/igbvf/netdev.c
+++ b/drivers/net/ethernet/intel/igbvf/netdev.c
@@ -2614,6 +2614,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,
 };
 
 /**