提交 706f23ad 编写于 作者: S Sony Chacko 提交者: David S. Miller

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: NSony Chacko <sony.chacko@qlogic.com>
Signed-off-by: NAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2679a135
...@@ -925,9 +925,10 @@ static int qlcnic_set_rx_csum(struct net_device *dev, u32 data) ...@@ -925,9 +925,10 @@ static int qlcnic_set_rx_csum(struct net_device *dev, u32 data)
dev->features &= ~NETIF_F_LRO; dev->features &= ~NETIF_F_LRO;
qlcnic_send_lro_cleanup(adapter); qlcnic_send_lro_cleanup(adapter);
dev_info(&adapter->pdev->dev,
"disabling LRO as rx_csum is off\n");
} }
adapter->rx_csum = !!data; adapter->rx_csum = !!data;
dev_info(&adapter->pdev->dev, "disabling LRO as rx_csum is off\n");
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册