aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_main.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c
index 8bf9a968f7f..7f9edb2f147 100644
--- a/drivers/net/qlcnic/qlcnic_main.c
+++ b/drivers/net/qlcnic/qlcnic_main.c
@@ -773,7 +773,8 @@ qlcnic_set_netdev_features(struct qlcnic_adapter *adapter,
773 features |= (NETIF_F_TSO | NETIF_F_TSO6); 773 features |= (NETIF_F_TSO | NETIF_F_TSO6);
774 vlan_features |= (NETIF_F_TSO | NETIF_F_TSO6); 774 vlan_features |= (NETIF_F_TSO | NETIF_F_TSO6);
775 } 775 }
776 if (adapter->capabilities & QLCNIC_FW_CAPABILITY_HW_LRO) 776
777 if (netdev->features & NETIF_F_LRO)
777 features |= NETIF_F_LRO; 778 features |= NETIF_F_LRO;
778 779
779 if (esw_cfg->offload_flags & BIT_0) { 780 if (esw_cfg->offload_flags & BIT_0) {