diff options
author | Anirban Chakraborty <anirban.chakraborty@qlogic.com> | 2012-03-23 06:32:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-23 14:51:31 -0400 |
commit | 1d5c88e3f5403c1910477e4bcc71c3d5d40de6d5 (patch) | |
tree | 9014eb99c25fe4efa023db8920e9cd031a0e9d72 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | |
parent | f1e84eb3bba3d6a5691ce1832ff7e550768560d8 (diff) |
qlcnic: Bug fix for LRO
- After FW reset, IP addresses need to be reprogrammed to FW for LRO to work. This
was not happening in context reset path. Fixed it here.
- Updated driver version to 5.0.27
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c index 81bb1a69e69..75c32e875fe 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c @@ -1458,8 +1458,10 @@ qlcnic_reset_context(struct qlcnic_adapter *adapter) if (netif_running(netdev)) { err = qlcnic_attach(adapter); - if (!err) + if (!err) { __qlcnic_up(adapter, netdev); + qlcnic_restore_indev_addr(netdev, NETDEV_UP); + } } netif_device_attach(netdev); |