git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: spawn ethdev ports on Windows
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5.c
diff --git
a/drivers/net/mlx5/mlx5.c
b/drivers/net/mlx5/mlx5.c
index
7d1b4fb
..
60301d3
100644
(file)
--- a/
drivers/net/mlx5/mlx5.c
+++ b/
drivers/net/mlx5/mlx5.c
@@
-38,6
+38,7
@@
#include "mlx5_autoconf.h"
#include "mlx5_mr.h"
#include "mlx5_flow.h"
#include "mlx5_autoconf.h"
#include "mlx5_mr.h"
#include "mlx5_flow.h"
+#include "mlx5_flow_os.h"
#include "rte_pmd_mlx5.h"
/* Device parameter to enable RX completion queue compression. */
#include "rte_pmd_mlx5.h"
/* Device parameter to enable RX completion queue compression. */
@@
-415,8
+416,8
@@
mlx5_flow_aso_age_mng_close(struct mlx5_dev_ctx_shared *sh)
for (j = 0; j < MLX5_COUNTERS_PER_POOL; ++j)
if (pool->actions[j].dr_action)
claim_zero
for (j = 0; j < MLX5_COUNTERS_PER_POOL; ++j)
if (pool->actions[j].dr_action)
claim_zero
-
(mlx5_glue->
destroy_flow_action
-
(pool->actions[j].dr_action));
+
(mlx5_flow_os_
destroy_flow_action
+ (pool->actions[j].dr_action));
mlx5_free(pool);
}
mlx5_free(sh->aso_age_mng->pools);
mlx5_free(pool);
}
mlx5_free(sh->aso_age_mng->pools);
@@
-482,7
+483,7
@@
mlx5_flow_destroy_counter_stat_mem_mng(struct mlx5_counter_stats_mem_mng *mng)
LIST_REMOVE(mng, next);
claim_zero(mlx5_devx_cmd_destroy(mng->dm));
LIST_REMOVE(mng, next);
claim_zero(mlx5_devx_cmd_destroy(mng->dm));
- claim_zero(mlx5_
glue->devx
_umem_dereg(mng->umem));
+ claim_zero(mlx5_
os
_umem_dereg(mng->umem));
mlx5_free(mem);
}
mlx5_free(mem);
}
@@
-523,7
+524,7
@@
mlx5_flow_counters_mng_close(struct mlx5_dev_ctx_shared *sh)
if (cnt->action)
claim_zero
if (cnt->action)
claim_zero
- (mlx5_
glue->
destroy_flow_action
+ (mlx5_
flow_os_
destroy_flow_action
(cnt->action));
if (fallback && MLX5_POOL_GET_CNT
(pool, j)->dcs_when_free)
(cnt->action));
if (fallback && MLX5_POOL_GET_CNT
(pool, j)->dcs_when_free)