Home
last modified time | relevance | path

Searched refs:qp_index (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A 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()
326 u16 qp_index; mlx5_ib_gsi_modify_qp() local
415 int qp_index = wr->pkey_index; get_tx_qp() local
485 u16 qp_index; mlx5_ib_gsi_pkey_change() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dgsi.c190 int qp_index; in mlx5_ib_destroy_gsi() local
205 for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) { in mlx5_ib_destroy_gsi()
206 if (!gsi->tx_qps[qp_index]) in mlx5_ib_destroy_gsi()
208 WARN_ON_ONCE(ib_destroy_qp(gsi->tx_qps[qp_index])); in mlx5_ib_destroy_gsi()
209 gsi->tx_qps[qp_index] = NULL; in mlx5_ib_destroy_gsi()
281 static void setup_qp(struct mlx5_ib_gsi_qp *gsi, u16 qp_index) in setup_qp() argument
285 int pkey_index = qp_index; in setup_qp()
298 gsi->port_num, qp_index); in setup_qp()
345 u16 qp_index; setup_qps() local
444 int qp_index = wr->pkey_index; get_tx_qp() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A 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, in hisi_dma_unmask_irq()
692 hisi_dma_enable_qp(struct hisi_dma_dev *hdma_dev, u32 qp_index) hisi_dma_enable_qp() argument
699 hisi_dma_disable_qp(struct hisi_dma_dev *hdma_dev, u32 qp_index) hisi_dma_disable_qp() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Dhisi_dma.c159 static void hisi_dma_mask_irq(struct hisi_dma_dev *hdma_dev, u32 qp_index) in hisi_dma_mask_irq() argument
161 hisi_dma_chan_write(hdma_dev->base, HISI_DMA_INT_MSK, qp_index, in hisi_dma_mask_irq()
165 static void hisi_dma_unmask_irq(struct hisi_dma_dev *hdma_dev, u32 qp_index) in hisi_dma_unmask_irq() argument
169 hisi_dma_chan_write(base, HISI_DMA_INT_STS, qp_index, in hisi_dma_unmask_irq()
171 hisi_dma_chan_write(base, HISI_DMA_INT_MSK, qp_index, 0); in hisi_dma_unmask_irq()
396 static void hisi_dma_enable_qp(struct hisi_dma_dev *hdma_dev, u32 qp_index) in hisi_dma_enable_qp() argument
398 hisi_dma_init_hw_qp(hdma_dev, qp_index); in hisi_dma_enable_qp()
399 hisi_dma_unmask_irq(hdma_dev, qp_index); in hisi_dma_enable_qp()
400 hisi_dma_enable_dma(hdma_dev, qp_index, true); in hisi_dma_enable_qp()
403 static void hisi_dma_disable_qp(struct hisi_dma_dev *hdma_dev, u32 qp_index) in hisi_dma_disable_qp() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dvirtio_net.c2186 static void virtnet_disable_queue_pair(struct virtnet_info *vi, int qp_index) in virtnet_disable_queue_pair() argument
2188 virtnet_napi_tx_disable(&vi->sq[qp_index].napi); in virtnet_disable_queue_pair()
2189 napi_disable(&vi->rq[qp_index].napi); in virtnet_disable_queue_pair()
2190 xdp_rxq_info_unreg(&vi->rq[qp_index].xdp_rxq); in virtnet_disable_queue_pair()
2193 static int virtnet_enable_queue_pair(struct virtnet_info *vi, int qp_index) in virtnet_enable_queue_pair() argument
2198 err = xdp_rxq_info_reg(&vi->rq[qp_index].xdp_rxq, dev, qp_index, in virtnet_enable_queue_pair()
2199 vi->rq[qp_index].napi.napi_id); in virtnet_enable_queue_pair()
2203 err = xdp_rxq_info_reg_mem_model(&vi->rq[qp_index].xdp_rxq, in virtnet_enable_queue_pair()
2208 virtnet_napi_enable(vi->rq[qp_index] in virtnet_enable_queue_pair()
[all...]

Completed in 9 milliseconds