Searched refs:hrxq (Results 1 – 10 of 10) sorted by relevance
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxq.c | 2226 if (!hrxq) { in mlx5_hrxq_modify() 2348 if (!hrxq) in __mlx5_hrxq_create() 2359 return hrxq; in __mlx5_hrxq_create() 2363 if (hrxq) in __mlx5_hrxq_create() 2392 return hrxq ? &hrxq->entry : NULL; in mlx5_hrxq_create_cb() 2422 hrxq = container_of(entry, typeof(*hrxq), entry); in mlx5_hrxq_get() 2444 if (!hrxq) in mlx5_hrxq_release() 2471 if (!hrxq) { in mlx5_drop_action_create() 2478 priv->drop_queue.hrxq = hrxq; in mlx5_drop_action_create() 2490 if (hrxq) { in mlx5_drop_action_create() [all …]
|
| H A D | mlx5_devx.c | 935 mlx5_devx_tir_attr_set(dev, hrxq->rss_key, hrxq->hash_fields, in mlx5_devx_hrxq_new() 936 hrxq->ind_table, tunnel, &tir_attr); in mlx5_devx_hrxq_new() 938 if (!hrxq->tir) { in mlx5_devx_hrxq_new() 946 (hrxq->tir->obj); in mlx5_devx_hrxq_new() 947 if (!hrxq->action) { in mlx5_devx_hrxq_new() 955 if (hrxq->tir) in mlx5_devx_hrxq_new() 968 mlx5_devx_tir_destroy(struct mlx5_hrxq *hrxq) in mlx5_devx_tir_destroy() argument 970 claim_zero(mlx5_devx_cmd_destroy(hrxq->tir)); in mlx5_devx_tir_destroy() 1004 if (ind_tbl != hrxq->ind_table) in mlx5_devx_hrxq_modify() 1007 if (hash_fields != hrxq->hash_fields || in mlx5_devx_hrxq_modify() [all …]
|
| H A D | mlx5_flow_verbs.c | 75 struct mlx5_hrxq *drop = priv->drop_queue.hrxq; in mlx5_flow_discover_priorities() 1952 struct mlx5_hrxq *hrxq; in flow_verbs_apply() local 1963 MLX5_ASSERT(priv->drop_queue.hrxq); in flow_verbs_apply() 1964 hrxq = priv->drop_queue.hrxq; in flow_verbs_apply() 1976 hrxq = mlx5_ipool_get(priv->sh->ipool[MLX5_IPOOL_HRXQ], in flow_verbs_apply() 1978 if (!hrxq) { in flow_verbs_apply() 1987 MLX5_ASSERT(hrxq); in flow_verbs_apply() 1989 (hrxq->qp, &dev_flow->verbs.attr); in flow_verbs_apply()
|
| H A D | mlx5.h | 287 struct mlx5_hrxq *hrxq; /* Hash Rx queue queue. */ member 916 int (*hrxq_new)(struct rte_eth_dev *dev, struct mlx5_hrxq *hrxq, 918 int (*hrxq_modify)(struct rte_eth_dev *dev, struct mlx5_hrxq *hrxq, 922 void (*hrxq_destroy)(struct mlx5_hrxq *hrxq);
|
| H A D | mlx5_flow_dv.c | 8614 struct mlx5_hrxq *hrxq; in flow_dv_hrxq_prepare() local 8626 return hrxq; in flow_dv_hrxq_prepare() 9058 struct mlx5_hrxq *hrxq; in flow_dv_translate_action_sample() local 9066 if (!hrxq) in flow_dv_translate_action_sample() 9075 hrxq->action; in flow_dv_translate_action_sample() 9253 struct mlx5_hrxq *hrxq; in flow_dv_create_action_sample() local 9263 if (!hrxq) in flow_dv_create_action_sample() 10675 struct mlx5_hrxq **hrxq) in __flow_dv_rss_get_hrxq() argument 10749 struct mlx5_hrxq *hrxq = NULL; in flow_dv_apply() local 10752 if (!hrxq) { in flow_dv_apply() [all …]
|
| H A D | mlx5_flow.c | 1004 struct mlx5_hrxq *hrxq; in flow_drv_rxq_flags_set() local 1009 hrxq = mlx5_ipool_get(priv->sh->ipool[MLX5_IPOOL_HRXQ], in flow_drv_rxq_flags_set() 1011 if (!hrxq) in flow_drv_rxq_flags_set() 1013 for (i = 0; i != hrxq->ind_table->queues_n; ++i) { in flow_drv_rxq_flags_set() 1014 int idx = hrxq->ind_table->queues[i]; in flow_drv_rxq_flags_set() 1086 struct mlx5_hrxq *hrxq; in flow_drv_rxq_flags_trim() local 1091 hrxq = mlx5_ipool_get(priv->sh->ipool[MLX5_IPOOL_HRXQ], in flow_drv_rxq_flags_trim() 1093 if (!hrxq) in flow_drv_rxq_flags_trim() 1096 for (i = 0; i != hrxq->ind_table->queues_n; ++i) { in flow_drv_rxq_flags_trim() 1097 int idx = hrxq->ind_table->queues[i]; in flow_drv_rxq_flags_trim()
|
| H A D | mlx5_flow.h | 1084 uint32_t hrxq[MLX5_RSS_HASH_FIELDS_LEN]; member
|
| H A D | mlx5.c | 1346 if (priv->drop_queue.hrxq) in mlx5_dev_close()
|
| /f-stack/dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_verbs.c | 650 hrxq->qp = qp; in mlx5_ibv_hrxq_new() 652 hrxq->action = mlx5_glue->dv_create_flow_action_dest_ibv_qp(hrxq->qp); in mlx5_ibv_hrxq_new() 653 if (!hrxq->action) { in mlx5_ibv_hrxq_new() 765 struct mlx5_hrxq *hrxq = priv->drop_queue.hrxq; in mlx5_ibv_drop_action_create() local 770 MLX5_ASSERT(hrxq && hrxq->ind_table); in mlx5_ibv_drop_action_create() 803 if (!hrxq->qp) { in mlx5_ibv_drop_action_create() 810 hrxq->action = mlx5_glue->dv_create_flow_action_dest_ibv_qp(hrxq->qp); in mlx5_ibv_drop_action_create() 811 if (!hrxq->action) { in mlx5_ibv_drop_action_create() 816 hrxq->ind_table->ind_table = ind_tbl; in mlx5_ibv_drop_action_create() 819 if (hrxq->qp) in mlx5_ibv_drop_action_create() [all …]
|
| H A D | mlx5_os.c | 1512 priv->drop_queue.hrxq = mlx5_drop_action_create(eth_dev); in mlx5_dev_spawn() 1513 if (!priv->drop_queue.hrxq) in mlx5_dev_spawn() 1592 if (eth_dev && priv->drop_queue.hrxq) in mlx5_dev_spawn()
|