Home
last modified time | relevance | path

Searched refs:verbs_alloc_ctx (Results 1 – 7 of 7) sorted by relevance

/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_verbs.c369 priv->verbs_alloc_ctx.type = MLX5_VERBS_ALLOC_TYPE_RX_QUEUE; in mlx5_rxq_ibv_obj_new()
370 priv->verbs_alloc_ctx.obj = rxq_ctrl; in mlx5_rxq_ibv_obj_new()
441 priv->verbs_alloc_ctx.type = MLX5_VERBS_ALLOC_TYPE_NONE; in mlx5_rxq_ibv_obj_new()
454 priv->verbs_alloc_ctx.type = MLX5_VERBS_ALLOC_TYPE_NONE; in mlx5_rxq_ibv_obj_new()
935 priv->verbs_alloc_ctx.type = MLX5_VERBS_ALLOC_TYPE_TX_QUEUE; in mlx5_txq_ibv_obj_new()
936 priv->verbs_alloc_ctx.obj = txq_ctrl; in mlx5_txq_ibv_obj_new()
1042 priv->verbs_alloc_ctx.type = MLX5_VERBS_ALLOC_TYPE_NONE; in mlx5_txq_ibv_obj_new()
1050 priv->verbs_alloc_ctx.type = MLX5_VERBS_ALLOC_TYPE_NONE; in mlx5_txq_ibv_obj_new()
H A Dmlx5_os.c181 if (priv->verbs_alloc_ctx.type == MLX5_VERBS_ALLOC_TYPE_TX_QUEUE) { in mlx5_alloc_verbs_buf()
182 const struct mlx5_txq_ctrl *ctrl = priv->verbs_alloc_ctx.obj; in mlx5_alloc_verbs_buf()
185 } else if (priv->verbs_alloc_ctx.type == in mlx5_alloc_verbs_buf()
187 const struct mlx5_rxq_ctrl *ctrl = priv->verbs_alloc_ctx.obj; in mlx5_alloc_verbs_buf()
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_txq.c380 priv->verbs_alloc_ctx.type = MLX4_VERBS_ALLOC_TYPE_TX_QUEUE; in mlx4_tx_queue_setup()
381 priv->verbs_alloc_ctx.obj = txq; in mlx4_tx_queue_setup()
484 priv->verbs_alloc_ctx.type = MLX4_VERBS_ALLOC_TYPE_NONE; in mlx4_tx_queue_setup()
492 priv->verbs_alloc_ctx.type = MLX4_VERBS_ALLOC_TYPE_NONE; in mlx4_tx_queue_setup()
H A Dmlx4.c156 if (priv->verbs_alloc_ctx.type == MLX4_VERBS_ALLOC_TYPE_TX_QUEUE) { in mlx4_alloc_verbs_buf()
157 const struct txq *txq = priv->verbs_alloc_ctx.obj; in mlx4_alloc_verbs_buf()
160 } else if (priv->verbs_alloc_ctx.type == in mlx4_alloc_verbs_buf()
162 const struct rxq *rxq = priv->verbs_alloc_ctx.obj; in mlx4_alloc_verbs_buf()
884 if (!priv->verbs_alloc_ctx.enabled) { in mlx4_pci_probe()
1067 priv->verbs_alloc_ctx.enabled = 1; in mlx4_pci_probe()
H A Dmlx4_rxq.c515 priv->verbs_alloc_ctx.type = MLX4_VERBS_ALLOC_TYPE_RX_QUEUE; in mlx4_rxq_attach()
516 priv->verbs_alloc_ctx.obj = rxq; in mlx4_rxq_attach()
624 priv->verbs_alloc_ctx.type = MLX4_VERBS_ALLOC_TYPE_NONE; in mlx4_rxq_attach()
635 priv->verbs_alloc_ctx.type = MLX4_VERBS_ALLOC_TYPE_NONE; in mlx4_rxq_attach()
H A Dmlx4.h193 struct mlx4_verbs_alloc_ctx verbs_alloc_ctx; member
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5.h992 struct mlx5_verbs_alloc_ctx verbs_alloc_ctx; member