diff options
author | Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> | 2010-08-17 04:34:25 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 14:59:49 +0400 |
commit | 24763d80fbb45aaf477d53c2203c929f6c41b5fc (patch) | |
tree | 1d1ae83c08b04b3f22153bfc1a611ce3511c7638 /drivers/net/qlcnic/qlcnic_main.c | |
parent | 8dec32cc421864702912c4341934fe0c737a9798 (diff) | |
download | linux-24763d80fbb45aaf477d53c2203c929f6c41b5fc.tar.xz |
qlcnic: turn off lro when rxcsum is disabled.
o Also dont allow lro to be turn on, if rx csum is disabled
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_main.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_main.c b/drivers/net/qlcnic/qlcnic_main.c index bf4077a1e824..abd7cd6db6fd 100644 --- a/drivers/net/qlcnic/qlcnic_main.c +++ b/drivers/net/qlcnic/qlcnic_main.c @@ -995,7 +995,7 @@ __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) qlcnic_config_intr_coalesce(adapter); - if (adapter->capabilities & QLCNIC_FW_CAPABILITY_HW_LRO) + if (netdev->features & NETIF_F_LRO) qlcnic_config_hw_lro(adapter, QLCNIC_LRO_ENABLED); qlcnic_napi_enable(adapter); |