mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
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>
This commit is contained in:
parent
2679a135e6
commit
706f23ada6
@ -925,9 +925,10 @@ static int qlcnic_set_rx_csum(struct net_device *dev, u32 data)
|
||||
|
||||
dev->features &= ~NETIF_F_LRO;
|
||||
qlcnic_send_lro_cleanup(adapter);
|
||||
dev_info(&adapter->pdev->dev,
|
||||
"disabling LRO as rx_csum is off\n");
|
||||
}
|
||||
adapter->rx_csum = !!data;
|
||||
dev_info(&adapter->pdev->dev, "disabling LRO as rx_csum is off\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user