Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dvt.c170 props->port_cap_flags = rvp->port_cap_flags; in rvt_query_port()
207 rvp->port_cap_flags |= props->set_port_cap_mask; in rvt_modify_port()
208 rvp->port_cap_flags &= ~props->clr_port_cap_mask; in rvt_modify_port()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmad.c567 props->port_cap_flags = be32_to_cpup((__be32 *)(out_mad->data + 20)); in mlx5_query_mad_ifc_port()
581 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP) { in mlx5_query_mad_ifc_port()
590 if (props->port_cap_flags & IB_PORT_EXTENDED_SPEEDS_SUP) { in mlx5_query_mad_ifc_port()
601 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP && in mlx5_query_mad_ifc_port()
Dmain.c529 props->port_cap_flags |= IB_PORT_CM_SUP; in mlx5_query_port_roce()
1328 props->port_cap_flags = rep->cap_mask1; in mlx5_query_hca_port()
1337 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP) in mlx5_query_hca_port()
1586 tmp = (attr.port_cap_flags | props->set_port_cap_mask) & in mlx5_ib_modify_port()
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c155 props->port_cap_flags = in pvrdma_query_port()
156 pvrdma_port_cap_flags_to_ib(resp->attrs.port_cap_flags); in pvrdma_query_port()
157 props->port_cap_flags |= IB_PORT_CM_SUP; in pvrdma_query_port()
Dpvrdma_verbs.h166 u32 port_cap_flags; member
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_mad.c222 cpu_to_be32(ibp->rvp.port_cap_flags); in qib_cap_mask_chg()
500 pip->cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); in subn_get_portinfo()
560 if (ibp->rvp.port_cap_flags & IB_PORT_LINK_LATENCY_SUP) { in subn_get_portinfo()
1066 if (!(ibp->rvp.port_cap_flags & IB_PORT_SL_MAP_SUP)) in subn_get_sl_to_vl()
1082 if (!(ibp->rvp.port_cap_flags & IB_PORT_SL_MAP_SUP)) { in subn_set_sl_to_vl()
1922 if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) { in process_subn()
1927 if (ibp->rvp.port_cap_flags & IB_PORT_SM) { in process_subn()
1956 if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) { in process_subn()
1961 if (ibp->rvp.port_cap_flags & IB_PORT_SM) { in process_subn()
Dqib_verbs.c1396 ibp->rvp.port_cap_flags = IB_PORT_SYS_IMAGE_GUID_SUP | in init_ibport()
1402 ibp->rvp.port_cap_flags |= IB_PORT_LINK_LATENCY_SUP; in init_ibport()
/Linux-v5.4/drivers/infiniband/core/
Duverbs_std_types_device.c140 resp->port_cap_flags = make_port_cap_flags(attr); in copy_port_attr_to_resp()
Duverbs.h309 res = attr->port_cap_flags & ~(u32)IB_UVERBS_PCF_IP_BASED_GIDS; in make_port_cap_flags()
Dnldev.c299 BUILD_BUG_ON((sizeof(attr.port_cap_flags) + in fill_port_info()
301 cap_flags = attr.port_cap_flags | in fill_port_info()
Dsysfs.c236 return sprintf(buf, "0x%08x\n", attr.port_cap_flags); in cap_mask_show()
/Linux-v5.4/include/rdma/
Drdma_vt.h88 u32 port_cap_flags; member
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe.c130 port->attr.port_cap_flags = RXE_PORT_PORT_CAP_FLAGS; in rxe_init_port_param()
Drxe_verbs.c128 port->attr.port_cap_flags |= attr->set_port_cap_mask; in rxe_modify_port()
129 port->attr.port_cap_flags &= ~attr->clr_port_cap_mask; in rxe_modify_port()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_provider.c168 props->port_cap_flags = be32_to_cpup((__be32 *) (out_mad->data + 20)); in mthca_query_port()
224 set_ib.cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & in mthca_modify_port()
/Linux-v5.4/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c369 props->port_cap_flags = 0; in usnic_ib_query_port()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dprovider.c310 props->port_cap_flags = in c4iw_query_port()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dmad.c533 trap->data.ntc_144.new_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); in hfi1_cap_mask_chg()
840 pi->ib_cap_mask = cpu_to_be32(ibp->rvp.port_cap_flags); in __subn_get_opa_portinfo()
4169 if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) in subn_get_opa_sma()
4171 if (ibp->rvp.port_cap_flags & IB_PORT_SM) in subn_get_opa_sma()
4239 if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) in subn_set_opa_sma()
4241 if (ibp->rvp.port_cap_flags & IB_PORT_SM) in subn_set_opa_sma()
Dud.c827 if (ibp->rvp.port_cap_flags & IB_PORT_SM) in opa_smp_check()
Dverbs.c1605 ibp->rvp.port_cap_flags = IB_PORT_AUTO_MIGR_SUP | in init_ibport()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmain.c678 props->port_cap_flags = be32_to_cpup((__be32 *) (out_mad->data + 20)); in ib_link_query_port()
696 if (props->port_cap_flags & IB_PORT_EXTENDED_SPEEDS_SUP) { in ib_link_query_port()
768 props->port_cap_flags = IB_PORT_CM_SUP; in eth_link_query_port()
1068 cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & in mlx4_ib_modify_port()
/Linux-v5.4/include/uapi/rdma/
Dib_user_verbs.h285 __u32 port_cap_flags; /* see ib_uverbs_query_port_cap_flags */ member
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_main.c243 props->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_REINIT_SUP | in hns_roce_query_port()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_provider.c996 props->port_cap_flags = in iwch_query_port()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_verbs.c212 attr->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_DEVICE_MGMT_SUP; in siw_query_port()

12