Home
last modified time | relevance | path

Searched refs:IB_QP_PORT (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/infiniband/core/
H A Dverbs.c1404 IB_QP_PORT |
1406 [IB_QPT_RAW_PACKET] = IB_QP_PORT,
1408 IB_QP_PORT |
1411 IB_QP_PORT |
1414 IB_QP_PORT |
1417 IB_QP_PORT |
1433 IB_QP_PORT |
1436 IB_QP_PORT |
1439 IB_QP_PORT |
1442 IB_QP_PORT |
[all …]
H A Dsecurity.c342 if (qp_attr_mask & IB_QP_PORT) in get_new_pps()
353 (qp_attr_mask & IB_QP_PORT)) || in get_new_pps()
583 bool pps_change = ((qp_attr_mask & (IB_QP_PKEY_INDEX | IB_QP_PORT)) || in ib_security_modify_qp()
586 WARN_ONCE((qp_attr_mask & IB_QP_PORT && in ib_security_modify_qp()
H A Duverbs_cmd.c1769 if ((cmd->base.attr_mask & IB_QP_PORT) && in modify_qp()
1815 if (((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT)) in modify_qp()
1816 == (IB_QP_AV | IB_QP_PORT)) && in modify_qp()
1821 if ((cmd->base.attr_mask & (IB_QP_AV | IB_QP_PORT)) in modify_qp()
1823 cmd->base.attr_mask |= IB_QP_PORT; in modify_qp()
1879 if (cmd->base.attr_mask & IB_QP_PORT) in modify_qp()
H A Dcma.c1251 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1291 *qp_attr_mask |= IB_QP_PORT; in rdma_init_qp_attr()
H A Dcm.c4117 IB_QP_PKEY_INDEX | IB_QP_PORT; in cm_init_qp_init_attr()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c105 IB_QP_PORT | in ipoib_init_qp()
116 attr_mask &= ~IB_QP_PORT; in ipoib_init_qp()
H A Dipoib_cm.c1130 qp_attr_mask = IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT; in ipoib_cm_modify_tx_init()
/linux/drivers/infiniband/hw/mlx4/
H A Dqp.c2239 if (attr_mask & IB_QP_PORT) { in __mlx4_ib_modify_qp()
2293 attr_mask & IB_QP_PORT ? attr->port_num : qp->port; in __mlx4_ib_modify_qp()
2547 if (attr_mask & IB_QP_PORT) { in __mlx4_ib_modify_qp()
2692 IB_QP_PORT),
2738 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) { in _mlx4_ib_modify_qp()
2750 attr_mask &= ~IB_QP_PORT; in _mlx4_ib_modify_qp()
2754 if ((attr_mask & IB_QP_PORT) && in _mlx4_ib_modify_qp()
2763 if ((attr_mask & IB_QP_PORT) && (ibqp->qp_type == IB_QPT_RAW_PACKET) && in _mlx4_ib_modify_qp()
2769 int p = attr_mask & IB_QP_PORT ? attr->port_num : qp->port; in _mlx4_ib_modify_qp()
2815 if (mlx4_is_bonded(dev->dev) && (attr_mask & IB_QP_PORT)) in _mlx4_ib_modify_qp()
[all …]
H A Dmad.c1827 IB_QP_QKEY | IB_QP_PORT; in create_pv_sqp()
/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c312 (IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | \ in efa_query_qp()
800 IB_QP_PORT |
810 IB_QP_PORT |
908 IB_QP_PKEY_INDEX | IB_QP_PORT | IB_QP_QKEY | IB_QP_SQ_PSN | \ in efa_modify_qp_validate()
930 if ((qp_attr_mask & IB_QP_PORT) && qp_attr->port_num != 1) { in efa_modify_qp_validate()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_qp.c441 if (mask & IB_QP_PORT) { in rxe_qp_chk_attr()
679 if (mask & IB_QP_PORT) in rxe_qp_from_attr()
/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c3720 case IB_QP_PORT: in ib_nr_to_mlx5_nr()
4228 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4233 attr_mask & IB_QP_PORT ? attr->port_num : in __mlx5_ib_modify_qp()
4299 u8 port_num = (attr_mask & IB_QP_PORT ? attr->port_num : in __mlx5_ib_modify_qp()
4342 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4395 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4457 req |= IB_QP_PKEY_INDEX | IB_QP_PORT; in modify_dci_qp_is_ok()
4460 opt = IB_QP_PKEY_INDEX | IB_QP_PORT; in modify_dci_qp_is_ok()
4517 required |= IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT; in mlx5_ib_modify_dct()
4719 if ((attr_mask & IB_QP_PORT) && in mlx5_ib_modify_qp()
[all …]
H A Dgsi.c227 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY | IB_QP_PORT; in modify_to_rts()
H A Dumr.c109 IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT); in mlx5r_umr_qp_rst2rts()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c1328 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in check_mtu_validate()
1350 if ((attr_mask & IB_QP_PORT) && in hns_roce_check_qp_attr()
1358 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in hns_roce_check_qp_attr()
H A Dhns_roce_hw_v2.c2771 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | IB_QP_ACCESS_FLAGS; in free_mr_modify_rsv_qp()
4576 port = (attr_mask & IB_QP_PORT) ? (attr->port_num - 1) : hr_qp->port; in modify_qp_init_to_rtr()
4961 ib_port = (attr_mask & IB_QP_PORT) ? attr->port_num : hr_qp->port + 1; in hns_roce_v2_set_path()
5221 if (attr_mask & IB_QP_PORT) { in hns_roce_v2_record_opt_fields()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c639 if (attr_mask & IB_QP_PORT) { in __mthca_modify_qp()
661 attr_mask & IB_QP_PORT ? attr->port_num : qp->port)) in __mthca_modify_qp()
806 if (attr_mask & IB_QP_PORT) in __mthca_modify_qp()
898 if ((attr_mask & IB_QP_PORT) && in mthca_modify_qp()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c562 if ((attr_mask & IB_QP_PORT) && attr->port_num != 1) { in usnic_ib_modify_qp()
/linux/net/smc/
H A Dsmc_wr.c534 IB_QP_PORT | in smc_wr_remember_qp_attr()
H A Dsmc_ib.c59 IB_QP_ACCESS_FLAGS | IB_QP_PORT); in smc_ib_modify_qp_init()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c551 if (attr_mask & IB_QP_PORT) { in pvrdma_modify_qp()
/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c1474 if (attr_mask & IB_QP_PORT) in rvt_modify_qp()
1564 if (attr_mask & IB_QP_PORT) in rvt_modify_qp()
/linux/include/rdma/
H A Dib_verbs.h1242 IB_QP_PORT = (1<<5), enumerator
/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c1198 IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PORT | in srpt_init_ch_qp()
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c296 IB_QP_PORT); in srp_init_ib_qp()