Searched refs:mreg_cp_tbl (Results 1 – 4 of 4) sorted by relevance
1563 priv->mreg_cp_tbl = mlx5_hlist_create(MLX5_FLOW_MREG_HNAME, in mlx5_dev_spawn()1569 if (!priv->mreg_cp_tbl) { in mlx5_dev_spawn()1573 priv->mreg_cp_tbl->ctx = eth_dev; in mlx5_dev_spawn()1582 if (priv->mreg_cp_tbl) in mlx5_dev_spawn()1583 mlx5_hlist_destroy(priv->mreg_cp_tbl); in mlx5_dev_spawn()
3730 MLX5_ASSERT(priv->mreg_cp_tbl); in flow_mreg_add_copy_action()3731 entry = mlx5_hlist_register(priv->mreg_cp_tbl, mark_id, &ctx); in flow_mreg_add_copy_action()3770 if (!mcp_res || !priv->mreg_cp_tbl) in flow_mreg_del_copy_action()3773 mlx5_hlist_unregister(priv->mreg_cp_tbl, &mcp_res->hlist_ent); in flow_mreg_del_copy_action()3793 if (!priv->mreg_cp_tbl) in flow_mreg_del_default_copy_action()3795 entry = mlx5_hlist_lookup(priv->mreg_cp_tbl, in flow_mreg_del_default_copy_action()3799 mlx5_hlist_unregister(priv->mreg_cp_tbl, entry); in flow_mreg_del_default_copy_action()3833 if (mlx5_hlist_lookup(priv->mreg_cp_tbl, MLX5_DEFAULT_COPY_ID, NULL)) in flow_mreg_add_default_copy_action()
1348 if (priv->mreg_cp_tbl) in mlx5_dev_close()1349 mlx5_hlist_destroy(priv->mreg_cp_tbl); in mlx5_dev_close()
998 struct mlx5_hlist *mreg_cp_tbl; member