aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSony Chacko <sony.chacko@qlogic.com>2010-11-16 09:08:46 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-17 14:49:26 -0500
commit706f23ada68746ed475488e7d2e2ca392fc4f731 (patch)
tree58333966f3305941f7eca272e1e061e0deddf354 /drivers
parent2679a135e6452359cd807754617db0d05ad404e5 (diff)
qlcnic: lro off message log from set rx checsum
Log LRO off message while disabling rx checksum only when LRO is already enabled. Signed-off-by: Sony Chacko <sony.chacko@qlogic.com> Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/qlcnic/qlcnic_ethtool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_ethtool.c b/drivers/net/qlcnic/qlcnic_ethtool.c
index ec21d24015c4..c38929636488 100644
--- a/drivers/net/qlcnic/qlcnic_ethtool.c
+++ b/drivers/net/qlcnic/qlcnic_ethtool.c
@@ -925,9 +925,10 @@ static int qlcnic_set_rx_csum(struct net_device *dev, u32 data)
925 925
926 dev->features &= ~NETIF_F_LRO; 926 dev->features &= ~NETIF_F_LRO;
927 qlcnic_send_lro_cleanup(adapter); 927 qlcnic_send_lro_cleanup(adapter);
928 dev_info(&adapter->pdev->dev,
929 "disabling LRO as rx_csum is off\n");
928 } 930 }
929 adapter->rx_csum = !!data; 931 adapter->rx_csum = !!data;
930 dev_info(&adapter->pdev->dev, "disabling LRO as rx_csum is off\n");
931 return 0; 932 return 0;
932} 933}
933 934