Searched refs:mlx4_glue (Results 1 – 10 of 10) sorted by relevance
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4.c | 53 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 D | mlx4_rxq.c | 219 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 D | mlx4_glue.h | 26 struct mlx4_glue { struct 86 extern const struct mlx4_glue *mlx4_glue; argument
|
| H A D | mlx4_txq.c | 382 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 D | mlx4_intr.c | 191 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 D | mlx4_glue.c | 242 const struct mlx4_glue *mlx4_glue = &(const struct mlx4_glue){ variable
|
| H A D | meson.build | 66 sources += files('mlx4_glue.c') 118 dlopen_name = 'mlx4_glue' 121 dlopen_sources = files('mlx4_glue.c')
|
| H A D | mlx4_flow.c | 968 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 D | mlx4_mr.c | 473 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 D | mlx4_ethdev.c | 987 if (mlx4_glue->query_device(priv->ctx, &device_attr) == EIO) in mlx4_is_removed()
|