net/ring: release port upon close
[dpdk.git] / drivers / net / mlx5 / mlx5_flow.c
index 9aad24e..ffa7646 100644 (file)
@@ -5131,6 +5131,10 @@ mlx5_flow_isolate(struct rte_eth_dev *dev,
                dev->dev_ops = &mlx5_os_dev_ops_isolate;
        else
                dev->dev_ops = &mlx5_os_dev_ops;
+
+       dev->rx_descriptor_status = mlx5_rx_descriptor_status;
+       dev->tx_descriptor_status = mlx5_tx_descriptor_status;
+
        return 0;
 }
 
@@ -6074,7 +6078,7 @@ mlx5_flow_aging_check(struct mlx5_dev_ctx_shared *sh,
                if (!MLX5_AGE_GET(age_info, MLX5_AGE_EVENT_NEW))
                        continue;
                if (MLX5_AGE_GET(age_info, MLX5_AGE_TRIGGER))
-                       _rte_eth_dev_callback_process
+                       rte_eth_dev_callback_process
                                (&rte_eth_devices[sh->port[i].devx_ih_port_id],
                                RTE_ETH_EVENT_FLOW_AGED, NULL);
                age_info->flags = 0;
@@ -6114,7 +6118,7 @@ mlx5_flow_async_pool_query_handle(struct mlx5_dev_ctx_shared *sh,
                pool->raw = pool->raw_hw;
                rte_spinlock_unlock(&pool->sl);
                /* Be sure the new raw counters data is updated in memory. */
-               rte_cio_wmb();
+               rte_io_wmb();
                if (!TAILQ_EMPTY(&pool->counters[query_gen])) {
                        rte_spinlock_lock(&cont->csl);
                        TAILQ_CONCAT(&cont->counters,