Searched refs:verbs_alloc_ctx (Results 1 – 7 of 7) sorted by relevance
369 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()
181 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()
380 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()
156 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()
515 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()
193 struct mlx4_verbs_alloc_ctx verbs_alloc_ctx; member
992 struct mlx5_verbs_alloc_ctx verbs_alloc_ctx; member