Home
last modified time | relevance | path

Searched refs:hrxq (Results 1 – 12 of 12) sorted by relevance

/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c2801 if (!hrxq) { in mlx5_hrxq_modify()
2928 if (!hrxq) in __mlx5_hrxq_create()
2940 return hrxq; in __mlx5_hrxq_create()
2944 if (hrxq) in __mlx5_hrxq_create()
2958 return hrxq ? &hrxq->entry : NULL; in mlx5_hrxq_create_cb()
2971 if (!hrxq) in mlx5_hrxq_clone_cb()
3015 hrxq = container_of(entry, typeof(*hrxq), entry); in mlx5_hrxq_get()
3035 if (!hrxq) in mlx5_hrxq_obj_release()
3089 priv->drop_queue.hrxq = hrxq; in mlx5_drop_action_create()
3101 if (hrxq) { in mlx5_drop_action_create()
[all …]
H A Dmlx5_devx.c811 mlx5_devx_tir_attr_set(dev, hrxq->rss_key, hrxq->hash_fields, in mlx5_devx_hrxq_new()
814 if (!hrxq->tir) { in mlx5_devx_hrxq_new()
821 if (hrxq->hws_flags) { in mlx5_devx_hrxq_new()
824 (struct mlx5dr_devx_obj *)hrxq->tir, hrxq->hws_flags); in mlx5_devx_hrxq_new()
825 if (!hrxq->action) in mlx5_devx_hrxq_new()
830 &hrxq->action)) { in mlx5_devx_hrxq_new()
838 if (hrxq->tir) in mlx5_devx_hrxq_new()
1035 struct mlx5_hrxq *hrxq = priv->drop_queue.hrxq; in mlx5_devx_drop_action_destroy() local
1037 if (hrxq->tir != NULL) in mlx5_devx_drop_action_destroy()
1038 mlx5_devx_tir_destroy(hrxq); in mlx5_devx_drop_action_destroy()
[all …]
H A Dmlx5_flow_hw.c211 struct mlx5_hrxq *hrxq; in flow_hw_tir_action_register() local
236 hrxq = mlx5_hrxq_get(dev, &rss_desc); in flow_hw_tir_action_register()
237 return hrxq; in flow_hw_tir_action_register()
791 struct mlx5_hrxq *hrxq = NULL; in flow_hw_shared_action_get() local
804 if (hrxq) { in flow_hw_shared_action_get()
805 rule_act->action = hrxq->action; in flow_hw_shared_action_get()
943 struct mlx5_hrxq *hrxq; in flow_hw_actions_construct() local
977 hrxq = flow_hw_tir_action_register(dev, in flow_hw_actions_construct()
980 if (!hrxq) in flow_hw_actions_construct()
983 job->flow->hrxq = hrxq; in flow_hw_actions_construct()
[all …]
H A Dmlx5_flow_verbs.c74 struct mlx5_hrxq *drop = priv->drop_queue.hrxq; in flow_verbs_discover_priorities()
1974 struct mlx5_hrxq *hrxq; in flow_verbs_apply() local
1985 MLX5_ASSERT(priv->drop_queue.hrxq); in flow_verbs_apply()
1986 hrxq = priv->drop_queue.hrxq; in flow_verbs_apply()
1996 hrxq = mlx5_hrxq_get(dev, rss_desc); in flow_verbs_apply()
1997 if (!hrxq) { in flow_verbs_apply()
2004 handle->rix_hrxq = hrxq->idx; in flow_verbs_apply()
2006 MLX5_ASSERT(hrxq); in flow_verbs_apply()
2008 (hrxq->qp, &dev_flow->verbs.attr); in flow_verbs_apply()
H A Dmlx5_flow_dv.c11325 *hrxq_idx = hrxq ? hrxq->idx : 0; in flow_dv_hrxq_prepare()
11327 return hrxq; in flow_dv_hrxq_prepare()
11836 if (!hrxq) in flow_dv_translate_action_sample()
11877 if (!hrxq) in flow_dv_translate_action_sample()
12078 if (!hrxq) in flow_dv_create_action_sample()
14235 if (!hrxq) { in flow_dv_apply()
14255 if (!hrxq) { in flow_dv_apply()
15011 if (!hrxq) { in __flow_dv_action_rss_setup()
16700 if (!hrxq) { in __flow_dv_create_policy_acts_rules()
17114 if (!hrxq) { in __flow_dv_meter_get_rss_sub_policy()
[all …]
H A Dmlx5.h323 struct mlx5_hrxq *hrxq; /* Hash Rx queue queue. */ member
1418 int (*hrxq_new)(struct rte_eth_dev *dev, struct mlx5_hrxq *hrxq,
1420 int (*hrxq_modify)(struct rte_eth_dev *dev, struct mlx5_hrxq *hrxq,
1424 void (*hrxq_destroy)(struct mlx5_hrxq *hrxq);
H A Dmlx5_rx.h266 int mlx5_hrxq_obj_release(struct rte_eth_dev *dev, struct mlx5_hrxq *hrxq);
H A Dmlx5_flow.h1031 struct mlx5_hrxq *hrxq; /* TIR action. */ member
1233 uint32_t hrxq[MLX5_RSS_HASH_FIELDS_LEN]; member
H A Dmlx5_flow.c1391 struct mlx5_hrxq *hrxq; in flow_drv_rxq_flags_set() local
1393 hrxq = mlx5_ipool_get(priv->sh->ipool[MLX5_IPOOL_HRXQ], in flow_drv_rxq_flags_set()
1395 if (hrxq) in flow_drv_rxq_flags_set()
1396 ind_tbl = hrxq->ind_table; in flow_drv_rxq_flags_set()
1497 struct mlx5_hrxq *hrxq; in flow_drv_rxq_flags_trim() local
1499 hrxq = mlx5_ipool_get(priv->sh->ipool[MLX5_IPOOL_HRXQ], in flow_drv_rxq_flags_trim()
1501 if (hrxq) in flow_drv_rxq_flags_trim()
1502 ind_tbl = hrxq->ind_table; in flow_drv_rxq_flags_trim()
H A Dmlx5.c1891 if (priv->drop_queue.hrxq) in mlx5_dev_close()
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_verbs.c616 hrxq->qp = qp; in mlx5_ibv_hrxq_new()
618 hrxq->action = mlx5_glue->dv_create_flow_action_dest_ibv_qp(hrxq->qp); in mlx5_ibv_hrxq_new()
619 if (!hrxq->action) { in mlx5_ibv_hrxq_new()
762 struct mlx5_hrxq *hrxq = priv->drop_queue.hrxq; in mlx5_ibv_drop_action_create() local
767 MLX5_ASSERT(hrxq && hrxq->ind_table); in mlx5_ibv_drop_action_create()
801 if (!hrxq->qp) { in mlx5_ibv_drop_action_create()
808 hrxq->action = mlx5_glue->dv_create_flow_action_dest_ibv_qp(hrxq->qp); in mlx5_ibv_drop_action_create()
809 if (!hrxq->action) { in mlx5_ibv_drop_action_create()
814 hrxq->ind_table->ind_table = ind_tbl; in mlx5_ibv_drop_action_create()
817 if (hrxq->qp) in mlx5_ibv_drop_action_create()
[all …]
H A Dmlx5_os.c877 priv->root_drop_action = priv->drop_queue.hrxq->action; in mlx5_flow_drop_action_config()
1538 priv->drop_queue.hrxq = mlx5_drop_action_create(eth_dev); in mlx5_dev_spawn()
1539 if (!priv->drop_queue.hrxq) in mlx5_dev_spawn()
1627 if (eth_dev && priv->drop_queue.hrxq) in mlx5_dev_spawn()