Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4.c53 const struct mlx4_glue *mlx4_glue; variable
641 wq = cq ? mlx4_glue->create_wq in mlx4_hw_rss_sup()
657 qp = ind ? mlx4_glue->create_qp_ex in mlx4_hw_rss_sup()
783 list = mlx4_glue->get_device_list(&i); in mlx4_pci_probe()
817 mlx4_glue->free_device_list(list); in mlx4_pci_probe()
946 pd = mlx4_glue->alloc_pd(ctx); in mlx4_pci_probe()
1057 err = mlx4_glue->dv_set_context_attr in mlx4_pci_probe()
1120 mlx4_glue->free_device_list(list); in mlx4_pci_probe()
1270 mlx4_glue = *sym; in mlx4_glue_init()
1307 MLX4_ASSERT(mlx4_glue); in RTE_INIT()
[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_glue.h26 struct mlx4_glue { struct
86 extern const struct mlx4_glue *mlx4_glue; argument
H A Dmlx4_txq.c382 txq->cq = mlx4_glue->create_cq(priv->ctx, desc, NULL, NULL, 0); in mlx4_tx_queue_setup()
402 txq->qp = mlx4_glue->create_qp(priv->pd, &qp_init_attr); in mlx4_tx_queue_setup()
410 ret = mlx4_glue->modify_qp in mlx4_tx_queue_setup()
423 ret = mlx4_glue->modify_qp in mlx4_tx_queue_setup()
435 ret = mlx4_glue->modify_qp in mlx4_tx_queue_setup()
457 ret = mlx4_glue->dv_init_obj(&mlxdv, MLX4DV_OBJ_QP | MLX4DV_OBJ_CQ); in mlx4_tx_queue_setup()
521 claim_zero(mlx4_glue->destroy_qp(txq->qp)); in mlx4_tx_queue_release()
523 claim_zero(mlx4_glue->destroy_cq(txq->cq)); in mlx4_tx_queue_release()
H A Dmlx4_intr.c191 while (!mlx4_glue->get_async_event(priv->ctx, &event)) { in mlx4_interrupt_handler()
206 mlx4_glue->ack_async_event(&event); in mlx4_interrupt_handler()
327 ret = mlx4_glue->get_cq_event(rxq->cq->channel, &ev_cq, in mlx4_rx_intr_disable()
345 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.build66 sources += files('mlx4_glue.c')
118 dlopen_name = 'mlx4_glue'
121 dlopen_sources = files('mlx4_glue.c')
H A Dmlx4_flow.c968 drop->cq = mlx4_glue->create_cq(priv->ctx, 1, NULL, NULL, 0); in mlx4_drop_get()
971 drop->qp = mlx4_glue->create_qp in mlx4_drop_get()
985 claim_zero(mlx4_glue->destroy_qp(drop->qp)); in mlx4_drop_get()
987 claim_zero(mlx4_glue->destroy_cq(drop->cq)); in mlx4_drop_get()
1007 claim_zero(mlx4_glue->destroy_qp(drop->qp)); in mlx4_drop_put()
1008 claim_zero(mlx4_glue->destroy_cq(drop->cq)); in mlx4_drop_put()
1040 claim_zero(mlx4_glue->destroy_flow(flow->ibv_flow)); in mlx4_flow_toggle()
1053 claim_zero(mlx4_glue->destroy_flow(flow->ibv_flow)); in mlx4_flow_toggle()
1083 claim_zero(mlx4_glue->destroy_flow(flow->ibv_flow)); in mlx4_flow_toggle()
1117 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()
780 mr->ibv_mr = mlx4_glue->reg_mr(priv->pd, (void *)data.start, len, in mlx4_mr_create_primary()
1245 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()