Skip to content

Commit

Permalink
qlcnic: lro off message log from set rx checsum
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sony Chacko authored and David S. Miller committed Nov 17, 2010
1 parent 2679a13 commit 706f23a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/qlcnic/qlcnic_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 706f23a

Please sign in to comment.