|
@@ -1748,8 +1748,11 @@ int mlx4_en_start_port(struct net_device *dev)
|
|
|
/* Process all completions if exist to prevent
|
|
|
* the queues freezing if they are full
|
|
|
*/
|
|
|
- for (i = 0; i < priv->rx_ring_num; i++)
|
|
|
+ for (i = 0; i < priv->rx_ring_num; i++) {
|
|
|
+ local_bh_disable();
|
|
|
napi_schedule(&priv->rx_cq[i]->napi);
|
|
|
+ local_bh_enable();
|
|
|
+ }
|
|
|
|
|
|
netif_tx_start_all_queues(dev);
|
|
|
netif_device_attach(dev);
|