Home
last modified time | relevance | path

Searched refs:mlx4_glue (Results 1 – 10 of 10) sorted by relevance

/dpdk/drivers/net/mlx4/
H A Dmlx4.c53 const struct mlx4_glue *mlx4_glue; variable
644 wq = cq ? mlx4_glue->create_wq in mlx4_hw_rss_sup()
660 qp = ind ? mlx4_glue->create_qp_ex in mlx4_hw_rss_sup()
787 list = mlx4_glue->get_device_list(&i); in mlx4_pci_probe()
821 mlx4_glue->free_device_list(list); in mlx4_pci_probe()
957 pd = mlx4_glue->alloc_pd(ctx); in mlx4_pci_probe()
1075 err = mlx4_glue->dv_set_context_attr in mlx4_pci_probe()
1137 mlx4_glue->free_device_list(list); in mlx4_pci_probe()
1318 mlx4_glue = *sym; in mlx4_glue_init()
1355 MLX4_ASSERT(mlx4_glue); in RTE_LOG_REGISTER_DEFAULT()
[all …]
H A Dmlx4_rxq.c219 rss->qp = mlx4_glue->create_qp_ex in mlx4_rss_attach()
240 ret = mlx4_glue->modify_qp in mlx4_rss_attach()
251 ret = mlx4_glue->modify_qp in mlx4_rss_attach()
349 ret = mlx4_glue->dv_set_context_attr in mlx4_rss_init()
394 wq = mlx4_glue->create_wq in mlx4_rss_init()
405 claim_zero(mlx4_glue->destroy_wq(wq)); in mlx4_rss_init()
409 claim_zero(mlx4_glue->destroy_cq(cq)); in mlx4_rss_init()
529 wq = mlx4_glue->create_wq in mlx4_rxq_attach()
545 ret = mlx4_glue->modify_wq in mlx4_rxq_attach()
628 claim_zero(mlx4_glue->destroy_wq(wq)); in mlx4_rxq_attach()
[all …]
H A Dmlx4_txq.c410 txq->cq = mlx4_glue->create_cq(priv->ctx, desc, NULL, NULL, 0); in mlx4_tx_queue_setup()
430 txq->qp = mlx4_glue->create_qp(priv->pd, &qp_init_attr); in mlx4_tx_queue_setup()
438 ret = mlx4_glue->modify_qp in mlx4_tx_queue_setup()
451 ret = mlx4_glue->modify_qp in mlx4_tx_queue_setup()
463 ret = mlx4_glue->modify_qp in mlx4_tx_queue_setup()
485 ret = mlx4_glue->dv_init_obj(&mlxdv, MLX4DV_OBJ_QP | MLX4DV_OBJ_CQ); in mlx4_tx_queue_setup()
541 claim_zero(mlx4_glue->destroy_qp(txq->qp)); in mlx4_tx_queue_release()
543 claim_zero(mlx4_glue->destroy_cq(txq->cq)); in mlx4_tx_queue_release()
H A Dmlx4_glue.h26 struct mlx4_glue { struct
86 extern const struct mlx4_glue *mlx4_glue; argument
H A Dmlx4_intr.c197 while (!mlx4_glue->get_async_event(priv->ctx, &event)) { in mlx4_interrupt_handler()
212 mlx4_glue->ack_async_event(&event); in mlx4_interrupt_handler()
336 ret = mlx4_glue->get_cq_event(rxq->cq->channel, &ev_cq, in mlx4_rx_intr_disable()
354 mlx4_glue->ack_cq_events(rxq->cq, 1); in mlx4_rx_intr_disable()
H A Dmlx4_glue.c242 const struct mlx4_glue *mlx4_glue = &(const struct mlx4_glue){ variable
H A Dmeson.build67 sources += files('mlx4_glue.c')
117 dlopen_name = 'mlx4_glue'
120 dlopen_sources = files('mlx4_glue.c')
H A Dmlx4_flow.c970 drop->cq = mlx4_glue->create_cq(priv->ctx, 1, NULL, NULL, 0); in mlx4_drop_get()
973 drop->qp = mlx4_glue->create_qp in mlx4_drop_get()
987 claim_zero(mlx4_glue->destroy_qp(drop->qp)); in mlx4_drop_get()
989 claim_zero(mlx4_glue->destroy_cq(drop->cq)); in mlx4_drop_get()
1009 claim_zero(mlx4_glue->destroy_qp(drop->qp)); in mlx4_drop_put()
1010 claim_zero(mlx4_glue->destroy_cq(drop->cq)); in mlx4_drop_put()
1042 claim_zero(mlx4_glue->destroy_flow(flow->ibv_flow)); in mlx4_flow_toggle()
1055 claim_zero(mlx4_glue->destroy_flow(flow->ibv_flow)); in mlx4_flow_toggle()
1085 claim_zero(mlx4_glue->destroy_flow(flow->ibv_flow)); in mlx4_flow_toggle()
1119 flow->ibv_flow = mlx4_glue->create_flow(qp, flow->ibv_attr); in mlx4_flow_toggle()
H A Dmlx4_mr.c473 claim_zero(mlx4_glue->dereg_mr(mr->ibv_mr)); in mr_free()
779 mr->ibv_mr = mlx4_glue->reg_mr(priv->pd, (void *)data.start, len, in mlx4_mr_create_primary()
1239 mr->ibv_mr = mlx4_glue->reg_mr(priv->pd, (void *)addr, len, in mlx4_mr_update_ext_mp_cb()
H A Dmlx4_ethdev.c987 if (mlx4_glue->query_device(priv->ctx, &device_attr) == EIO) in mlx4_is_removed()