Home
last modified time | relevance | path

Searched refs:qp_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dgsi.c173 int qp_index; in mlx5_ib_destroy_gsi() local
185 for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) { in mlx5_ib_destroy_gsi()
186 if (!gsi->tx_qps[qp_index]) in mlx5_ib_destroy_gsi()
188 WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); in mlx5_ib_destroy_gsi()
189 gsi->tx_qps[qp_index] = NULL; in mlx5_ib_destroy_gsi()
259 static void setup_qp(struct mlx5_ib_gsi_qp *gsi, u16 qp_index) in setup_qp() argument
263 int pkey_index = qp_index; in setup_qp()
276 gsi->port_num, qp_index); in setup_qp()
282 gsi->port_num, qp_index); in setup_qp()
287 qp = gsi->tx_qps[qp_index]; in setup_qp()
[all …]
/linux-6.12.1/drivers/dma/
Dhisi_dma.c365 static void hisi_dma_mask_irq(struct hisi_dma_dev *hdma_dev, u32 qp_index) in hisi_dma_mask_irq() argument
371 qp_index, HISI_DMA_HIP08_Q_INT_STS_MASK); in hisi_dma_mask_irq()
374 qp_index, HISI_DMA_HIP09_Q_INT_STS_MASK); in hisi_dma_mask_irq()
376 qp_index, in hisi_dma_mask_irq()
381 static void hisi_dma_unmask_irq(struct hisi_dma_dev *hdma_dev, u32 qp_index) in hisi_dma_unmask_irq() argument
387 qp_index, HISI_DMA_HIP08_Q_INT_STS_MASK); in hisi_dma_unmask_irq()
389 qp_index, 0); in hisi_dma_unmask_irq()
392 qp_index, HISI_DMA_HIP09_Q_INT_STS_MASK); in hisi_dma_unmask_irq()
394 qp_index, in hisi_dma_unmask_irq()
397 qp_index, 0); in hisi_dma_unmask_irq()
[all …]
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_net.c350 unsigned int qp_index; in rxe_skb_tx_dtor() local
360 qp_index = (int)(uintptr_t)skb->sk->sk_user_data; in rxe_skb_tx_dtor()
361 if (!qp_index) in rxe_skb_tx_dtor()
364 qp = rxe_pool_get_index(&rxe->qp_pool, qp_index); in rxe_skb_tx_dtor()
/linux-6.12.1/drivers/net/
Dvirtio_net.c2873 static void virtnet_disable_queue_pair(struct virtnet_info *vi, int qp_index) in virtnet_disable_queue_pair() argument
2875 virtnet_napi_tx_disable(&vi->sq[qp_index].napi); in virtnet_disable_queue_pair()
2876 napi_disable(&vi->rq[qp_index].napi); in virtnet_disable_queue_pair()
2877 xdp_rxq_info_unreg(&vi->rq[qp_index].xdp_rxq); in virtnet_disable_queue_pair()
2880 static int virtnet_enable_queue_pair(struct virtnet_info *vi, int qp_index) in virtnet_enable_queue_pair() argument
2885 err = xdp_rxq_info_reg(&vi->rq[qp_index].xdp_rxq, dev, qp_index, in virtnet_enable_queue_pair()
2886 vi->rq[qp_index].napi.napi_id); in virtnet_enable_queue_pair()
2890 err = xdp_rxq_info_reg_mem_model(&vi->rq[qp_index].xdp_rxq, in virtnet_enable_queue_pair()
2895 netdev_tx_reset_queue(netdev_get_tx_queue(vi->dev, qp_index)); in virtnet_enable_queue_pair()
2896 virtnet_napi_enable(vi->rq[qp_index].vq, &vi->rq[qp_index].napi); in virtnet_enable_queue_pair()
[all …]