Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/infiniband/core/
Dverbs.c1389 IB_QP_PORT |
1391 [IB_QPT_RAW_PACKET] = IB_QP_PORT,
1393 IB_QP_PORT |
1396 IB_QP_PORT |
1399 IB_QP_PORT |
1402 IB_QP_PORT |
1418 IB_QP_PORT |
1421 IB_QP_PORT |
1424 IB_QP_PORT |
1427 IB_QP_PORT |
[all …]
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()
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()
1878 if (cmd->base.attr_mask & IB_QP_PORT) in modify_qp()
Dcma.c1249 *qp_attr_mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT; in cma_ib_init_qp_attr()
1289 *qp_attr_mask |= IB_QP_PORT; in rdma_init_qp_attr()
/linux-6.6.21/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c105 IB_QP_PORT | in ipoib_init_qp()
116 attr_mask &= ~IB_QP_PORT; in ipoib_init_qp()
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-6.6.21/drivers/infiniband/hw/mlx5/
Dmem.c255 IB_QP_STATE | IB_QP_PORT | IB_QP_PKEY_INDEX | in mlx5_ib_test_wc()
Dqp.c3729 case IB_QP_PORT: in ib_nr_to_mlx5_nr()
4232 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4237 attr_mask & IB_QP_PORT ? attr->port_num : in __mlx5_ib_modify_qp()
4303 u8 port_num = (attr_mask & IB_QP_PORT ? attr->port_num : in __mlx5_ib_modify_qp()
4346 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4399 if (attr_mask & IB_QP_PORT) in __mlx5_ib_modify_qp()
4461 req |= IB_QP_PKEY_INDEX | IB_QP_PORT; in modify_dci_qp_is_ok()
4464 opt = IB_QP_PKEY_INDEX | IB_QP_PORT; in modify_dci_qp_is_ok()
4521 required |= IB_QP_ACCESS_FLAGS | IB_QP_PKEY_INDEX | IB_QP_PORT; in mlx5_ib_modify_dct()
4727 if ((attr_mask & IB_QP_PORT) && in mlx5_ib_modify_qp()
[all …]
Dgsi.c227 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_QKEY | IB_QP_PORT; in modify_to_rts()
Dumr.c109 IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT); in mlx5r_umr_qp_rst2rts()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
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 …]
Dmad.c1827 IB_QP_QKEY | IB_QP_PORT; in create_pv_sqp()
/linux-6.6.21/drivers/infiniband/hw/efa/
Defa_verbs.c310 (IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | \ in efa_query_qp()
784 IB_QP_PORT |
794 IB_QP_PORT |
892 IB_QP_PKEY_INDEX | IB_QP_PORT | IB_QP_QKEY | IB_QP_SQ_PSN | \ in efa_modify_qp_validate()
914 if ((qp_attr_mask & IB_QP_PORT) && qp_attr->port_num != 1) { in efa_modify_qp_validate()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_qp.c442 if (mask & IB_QP_PORT) { in rxe_qp_chk_attr()
685 if (mask & IB_QP_PORT) in rxe_qp_from_attr()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1260 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in check_mtu_validate()
1282 if ((attr_mask & IB_QP_PORT) && in hns_roce_check_qp_attr()
1290 p = attr_mask & IB_QP_PORT ? (attr->port_num - 1) : hr_qp->port; in hns_roce_check_qp_attr()
Dhns_roce_hw_v2.c2726 mask = IB_QP_STATE | IB_QP_PKEY_INDEX | IB_QP_PORT | IB_QP_ACCESS_FLAGS; in free_mr_modify_rsv_qp()
4531 port = (attr_mask & IB_QP_PORT) ? (attr->port_num - 1) : hr_qp->port; in modify_qp_init_to_rtr()
4865 ib_port = (attr_mask & IB_QP_PORT) ? attr->port_num : hr_qp->port + 1; in hns_roce_v2_set_path()
5130 if (attr_mask & IB_QP_PORT) { in hns_roce_v2_record_opt_fields()
/linux-6.6.21/drivers/infiniband/hw/mthca/
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-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c562 if ((attr_mask & IB_QP_PORT) && attr->port_num != 1) { in usnic_ib_modify_qp()
/linux-6.6.21/net/smc/
Dsmc_wr.c534 IB_QP_PORT | in smc_wr_remember_qp_attr()
Dsmc_ib.c59 IB_QP_ACCESS_FLAGS | IB_QP_PORT); in smc_ib_modify_qp_init()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c551 if (attr_mask & IB_QP_PORT) { in pvrdma_modify_qp()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dqp.c1474 if (attr_mask & IB_QP_PORT) in rvt_modify_qp()
1564 if (attr_mask & IB_QP_PORT) in rvt_modify_qp()
/linux-6.6.21/include/rdma/
Dib_verbs.h1240 IB_QP_PORT = (1<<5), enumerator
/linux-6.6.21/drivers/infiniband/ulp/srpt/
Dib_srpt.c1139 IB_QP_STATE | IB_QP_ACCESS_FLAGS | IB_QP_PORT | in srpt_init_ch_qp()
/linux-6.6.21/drivers/infiniband/ulp/srp/
Dib_srp.c296 IB_QP_PORT); in srp_init_ib_qp()

12