Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dvt.c168 props->port_cap_flags = rvp->port_cap_flags; in rvt_query_port()
205 rvp->port_cap_flags |= props->set_port_cap_mask; in rvt_modify_port()
206 rvp->port_cap_flags &= ~props->clr_port_cap_mask; in rvt_modify_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c555 props->port_cap_flags = be32_to_cpup((__be32 *)(out_mad->data + 20)); in mlx5_query_mad_ifc_port()
569 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP) { in mlx5_query_mad_ifc_port()
578 if (props->port_cap_flags & IB_PORT_EXTENDED_SPEEDS_SUP) { in mlx5_query_mad_ifc_port()
589 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP && in mlx5_query_mad_ifc_port()
Dmain.c496 props->port_cap_flags |= IB_PORT_CM_SUP; in mlx5_query_port_roce()
1295 props->port_cap_flags = rep->cap_mask1; in mlx5_query_hca_port()
1304 if (props->port_cap_flags & IB_PORT_CAP_MASK2_SUP) in mlx5_query_hca_port()
1550 tmp = (attr.port_cap_flags | props->set_port_cap_mask) & in mlx5_ib_modify_port()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.c1397 ibp->rvp.port_cap_flags = IB_PORT_SYS_IMAGE_GUID_SUP | in init_ibport()
1403 ibp->rvp.port_cap_flags |= IB_PORT_LINK_LATENCY_SUP; in init_ibport()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs.h292 res = attr->port_cap_flags & ~(u32)IB_UVERBS_PCF_IP_BASED_GIDS; in make_port_cap_flags()
Duverbs_std_types_device.c147 resp->port_cap_flags = make_port_cap_flags(attr); in copy_port_attr_to_resp()
Dnldev.c317 BUILD_BUG_ON((sizeof(attr.port_cap_flags) + in fill_port_info()
319 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()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe.c85 port->attr.port_cap_flags = RXE_PORT_PORT_CAP_FLAGS; in rxe_init_port_param()
Drxe_verbs.c94 port->attr.port_cap_flags |= attr->set_port_cap_mask; in rxe_modify_port()
95 port->attr.port_cap_flags &= ~attr->clr_port_cap_mask; in rxe_modify_port()
/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h46 u32 port_cap_flags; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c158 props->port_cap_flags = be32_to_cpup((__be32 *) (out_mad->data + 20)); in mthca_query_port()
214 set_ib.cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & in mthca_modify_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c371 props->port_cap_flags = 0; in usnic_ib_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dprovider.c306 props->port_cap_flags = in c4iw_query_port()
/kernel/linux/linux-5.10/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()
4168 if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) in subn_get_opa_sma()
4170 if (ibp->rvp.port_cap_flags & IB_PORT_SM) in subn_get_opa_sma()
4238 if (ibp->rvp.port_cap_flags & IB_PORT_SM_DISABLED) in subn_set_opa_sma()
4240 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c690 props->port_cap_flags = be32_to_cpup((__be32 *) (out_mad->data + 20)); in ib_link_query_port()
708 if (props->port_cap_flags & IB_PORT_EXTENDED_SPEEDS_SUP) { in ib_link_query_port()
780 props->port_cap_flags = IB_PORT_CM_SUP; in eth_link_query_port()
1081 cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & in mlx4_ib_modify_port()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h285 __u32 port_cap_flags; /* see ib_uverbs_query_port_cap_flags */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h214 __u32 port_cap_flags; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h204 __u32 port_cap_flags; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_main.c242 props->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_REINIT_SUP | in hns_roce_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c179 attr->port_cap_flags = IB_PORT_CM_SUP | IB_PORT_DEVICE_MGMT_SUP; in siw_query_port()

12