Searched refs:qp (Results 326 - 350 of 380) sorted by relevance

<<111213141516

/linux-master/include/rdma/
H A Dib_mad.h555 * @qp: Reference to QP used for sending and receiving MADs.
572 struct ib_qp *qp; member in struct:ib_mad_agent
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dcq.c20 * This may be called with qp->s_lock held.
86 uqueue[head].qp_num = entry->qp->qp_num;
/linux-master/drivers/infiniband/core/
H A Dmad_rmpp.c158 ah = ib_create_ah_from_wc(agent->qp->pd, recv_wc->wc,
286 rmpp_recv->ah = ib_create_ah_from_wc(agent->agent.qp->pd,
/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema.c634 ah = ib_create_ah_from_wc(mad_agent->qp->pd, mad_wc->wc,
778 ah = rdma_create_ah(port->mad_agent->qp->pd, &ah_attr, 0);
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c617 struct hinic_qp *qp = container_of(sq, struct hinic_qp, sq); local
625 HINIC_SQ_DB_INFO_SET(qp->q_id, QID));
/linux-master/drivers/media/platform/verisilicon/
H A Dhantro_jpeg.c275 static unsigned char jpeg_scale_qp(const unsigned char qp, int scale) argument
279 temp = DIV_ROUND_CLOSEST((unsigned int)qp * scale, 100);
/linux-master/net/rds/
H A Dib_recv.c420 ret = ib_post_recv(ic->i_cm_id->qp, &recv->r_wr, NULL);
679 ret = ib_post_send(ic->i_cm_id->qp, &ic->i_ack_wr, NULL);
1008 /* We expect errors as the qp is drained during shutdown */
H A Dib_cm.c1052 rdsdebug("cm %p pd %p cq %p %p qp %p\n", ic->i_cm_id,
1054 ic->i_cm_id ? ic->i_cm_id->qp : NULL);
1092 if (ic->i_cm_id->qp)
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_crtn.h362 int lpfc_sli4_issue_wqe(struct lpfc_hba *phba, struct lpfc_sli4_hdw_queue *qp,
657 struct lpfc_sli4_hdw_queue *qp);
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_device.h627 void (*event)(struct hns_roce_qp *qp,
1283 void flush_cqe(struct hns_roce_dev *dev, struct hns_roce_qp *qp);
/linux-master/drivers/infiniband/hw/irdma/
H A Dcm.c3313 * irdma_init_tcp_ctx - setup qp context
3316 * @iwqp: associate qp for the connection
3385 * irdma_cm_init_tsa_conn - setup qp for RTS
3386 * @iwqp: associate qp for the connection
3438 * @iwqp: associated qp for the connection
3468 * irdma_qp_disconnect - free qp and close cm
3469 * @iwqp: associate qp for the connection
3482 * irdma_cm_disconn_true - called by worker thread to disconnect qp
3483 * @iwqp: associate qp for the connection
3489 struct irdma_sc_qp *qp local
[all...]
/linux-master/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c444 struct hisi_qp *qp = NULL; local
454 ret = hisi_qm_alloc_qps_node(&hpre_devices, 1, type, node, &qp);
456 return qp;
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.c100 * The QP res chunk, used to derive qp indices,
120 usnic_err("Unable to get qp res with err %ld\n",
130 usnic_err("Failed to enable qp %d of %s:%d\n with err %d\n",
161 usnic_err("Unable to get qp res with err %ld\n",
486 ib_event.element.qp = &qp_grp->ibqp;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dsrq.c6 #include <linux/mlx5/qp.h>
/linux-master/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.c433 msg->qp = FIELD_GET(GENMASK(15, 0), src[i++]);
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c476 newxprt->sc_qp = newxprt->sc_cm_id->qp;
/linux-master/net/smc/
H A Dsmc_cdc.c471 struct smc_link *link = (struct smc_link *)wc->qp->qp_context;
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c1754 /* after qp created set dev address */
1755 addr_mod[0] = (priv->qp->qp_num >> 16) & 0xff;
1756 addr_mod[1] = (priv->qp->qp_num >> 8) & 0xff;
1757 addr_mod[2] = (priv->qp->qp_num) & 0xff;
1789 priv->qp = NULL;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_types.h1437 struct mlx5dr_qp *qp; member in struct:mlx5dr_cq
1450 struct mlx5dr_qp *qp; member in struct:mlx5dr_send_ring
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c571 struct mlx4_qp qp; local
574 qp.qpn = *qpn;
578 err = mlx4_unicast_attach(dev, &qp, gid, 0, MLX4_PROT_ETH);
623 struct mlx4_qp qp; local
626 qp.qpn = qpn;
630 mlx4_unicast_detach(dev, &qp, gid, MLX4_PROT_ETH);
671 en_dbg(DRV, priv, "Reserved qp %d\n", *qpn);
673 en_err(priv, "Failed to reserve qp for mac registration\n");
693 en_dbg(DRV, priv, "Releasing qp: port %d, qpn %d\n",
925 /* Add the default qp numbe
[all...]
H A Dfw.c2716 struct mlx4_qp qp; local
2763 qp.qpn = be32_to_cpu(mgm->qp[i]);
2765 err = mlx4_multicast_detach(dev, &qp,
2769 err = mlx4_multicast_attach(dev, &qp,
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_os.c1787 static void qla2x00_abort_srb(struct qla_qpair *qp, srb_t *sp, const int res,
1789 __releases(qp->qp_lock_ptr)
1790 __acquires(qp->qp_lock_ptr)
1793 scsi_qla_host_t *vha = qp->vha;
1800 lockdep_assert_held(qp->qp_lock_ptr);
1817 spin_unlock_irqrestore(qp->qp_lock_ptr, *flags);
1839 spin_lock_irqsave(qp->qp_lock_ptr, *flags);
1860 __qla2x00_abort_all_cmds(struct qla_qpair *qp, int res) argument
1865 scsi_qla_host_t *vha = qp->vha;
1873 spin_lock_irqsave(qp
[all...]
H A Dqla_target.c3273 "is_send_status=%d, cmd->bufflen=%d, cmd->sg_cnt=%d, cmd->dma_data_direction=%d se_cmd[%p] qp %d\n",
4263 struct qla_qpair *qpair, *qp; local
4294 list_for_each_entry(qp, &base_vha->qp_list,
4296 if (qp->lun_cnt == 0) {
4297 qp->lun_cnt++;
4298 h = qla_qpair_to_hint(tgt, qp);
4303 qp->lun_cnt--;
4308 qpair = qp;
4311 if (qp->lun_cnt < lcnt) {
4312 lcnt = qp
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c3893 u32 qp; local
3899 qp = vsi->base_queue;
3928 wr32(hw, I40E_PFINT_LNKLSTN(vector - 1), qp);
3930 u32 nextqp = has_xdp ? qp + vsi->alloc_queue_pairs : qp;
3940 wr32(hw, I40E_QINT_RQCTL(qp), val);
3947 (qp << I40E_QINT_TQCTL_NEXTQ_INDX_SHIFT) |
3957 ((qp + 1) << I40E_QINT_TQCTL_NEXTQ_INDX_SHIFT) |
3966 wr32(hw, I40E_QINT_TQCTL(qp), val);
3967 qp
4989 u32 val, qp; local
[all...]
/linux-master/drivers/net/
H A Dvirtio_net.c1087 unsigned int qp; \
1090 qp = v->curr_queue_pairs - v->xdp_queue_pairs; \
1091 qp += cpu; \
1092 txq = netdev_get_tx_queue(v->dev, qp); \
1095 qp = cpu % v->curr_queue_pairs; \
1096 txq = netdev_get_tx_queue(v->dev, qp); \
1099 v->sq + qp; \

Completed in 342 milliseconds

<<111213141516