|
@@ -185,10 +185,6 @@ void mlx4_en_destroy_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq)
|
|
void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
|
|
void mlx4_en_deactivate_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq *cq)
|
|
{
|
|
{
|
|
napi_disable(&cq->napi);
|
|
napi_disable(&cq->napi);
|
|
- if (cq->type == RX) {
|
|
|
|
- napi_hash_del(&cq->napi);
|
|
|
|
- synchronize_rcu();
|
|
|
|
- }
|
|
|
|
netif_napi_del(&cq->napi);
|
|
netif_napi_del(&cq->napi);
|
|
|
|
|
|
mlx4_cq_free(priv->mdev->dev, &cq->mcq);
|
|
mlx4_cq_free(priv->mdev->dev, &cq->mcq);
|