Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213939
b: refs/heads/master
c: 7c28738
h: refs/heads/master
i:
  213937: b25833b
  213935: 38611b9
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Aug 24, 2010
1 parent 8ea3786 commit 9984ac7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8bf2e58f8b7a14244bf182ad0a3ba0457ad70c62
refs/heads/master: 7c2873809dd1a2d5e46be3f0ff2071fcdc3cf0fd
6 changes: 4 additions & 2 deletions trunk/drivers/net/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,8 @@ void mlx4_en_stop_port(struct net_device *dev)
netif_tx_stop_all_queues(dev);
netif_tx_unlock_bh(dev);

/* close port*/
/* Set port as not active */
priv->port_up = false;
mlx4_CLOSE_PORT(mdev->dev, priv->port);

/* Unregister Mac address for the port */
mlx4_unregister_mac(mdev->dev, priv->port, priv->mac_index);
Expand All @@ -731,6 +730,9 @@ void mlx4_en_stop_port(struct net_device *dev)
msleep(1);
mlx4_en_deactivate_cq(priv, &priv->rx_cq[i]);
}

/* close port*/
mlx4_CLOSE_PORT(mdev->dev, priv->port);
}

static void mlx4_en_restart(struct work_struct *work)
Expand Down

0 comments on commit 9984ac7

Please sign in to comment.