Home
last modified time | relevance | path

Searched refs:phys_state (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c353 props->phys_state = 3; in usnic_ib_query_port()
356 props->phys_state = 4; in usnic_ib_query_port()
359 props->phys_state = 5; in usnic_ib_query_port()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c173 props->phys_state = resp->attrs.phys_state; in pvrdma_query_port()
Dpvrdma_verbs.h180 u8 phys_state; member
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_net.c625 port->attr.phys_state = IB_PHYS_STATE_LINK_UP; in rxe_port_up()
638 port->attr.phys_state = IB_PHYS_STATE_LINK_DOWN; in rxe_port_down()
Drxe.c149 port->attr.phys_state = RXE_PORT_PHYS_STATE; in rxe_init_port_param()
/Linux-v4.19/drivers/infiniband/core/
Dsysfs.c302 switch (attr.phys_state) { in phys_state_show()
310 default: return sprintf(buf, "%d: <unknown>\n", attr.phys_state); in phys_state_show()
334 static PORT_ATTR_RO(phys_state);
Dnldev.c258 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_PORT_PHYS_STATE, attr.phys_state)) in fill_port_info()
Duverbs_cmd.c337 resp.phys_state = attr.phys_state; in ib_uverbs_query_port()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c1241 u32 logical_state, u32 phys_state, int local_mad) in set_port_states() argument
1247 ret = port_states_transition_allowed(ppd, logical_state, phys_state); in set_port_states()
1258 if ((phys_state != IB_PORTPHYSSTATE_NOP) && in set_port_states()
1262 logical_state, phys_state); in set_port_states()
1273 if (phys_state == IB_PORTPHYSSTATE_NOP) in set_port_states()
1277 if (phys_state == IB_PORTPHYSSTATE_NOP) { in set_port_states()
1279 } else if (phys_state == IB_PORTPHYSSTATE_POLLING) { in set_port_states()
1283 } else if (phys_state == IB_PORTPHYSSTATE_DISABLED) { in set_port_states()
1287 phys_state); in set_port_states()
Dverbs.c1481 props->phys_state = driver_pstate(ppd); in query_port()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c756 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
1124 MLX5_SET(hca_vport_context, ctx, port_physical_state, req->phys_state); in mlx5_core_modify_hca_vport_context()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmad.c556 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
Dmain.c431 props->phys_state = 3; in mlx5_query_port_roce()
457 props->phys_state = 5; in mlx5_query_port_roce()
1214 props->phys_state = rep->port_physical_state; in mlx5_query_hca_port()
/Linux-v4.19/include/uapi/rdma/
Dib_user_verbs.h300 __u8 phys_state; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_main.c282 props->phys_state = (props->state == IB_PORT_ACTIVE) ? 5 : 3; in hns_roce_query_port()
/Linux-v4.19/include/linux/mlx5/
Ddriver.h935 enum phy_port_state phys_state; member
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-class-infiniband43 What: /sys/class/infiniband/<device>/ports/<port-num>/phys_state
64 phys_state: (RO) Port physical state (Sleep, Polling,
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmain.c677 props->phys_state = out_mad->data[33] >> 4; in ib_link_query_port()
775 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
792 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_provider.c166 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c188 props->phys_state = 5; in ocrdma_query_port()
191 props->phys_state = 3; in ocrdma_query_port()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_verbs.c1239 props->phys_state = dd->f_ibphys_portstate(ppd->lastibcstat); in qib_query_port()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c237 port_attr->phys_state = 5; in bnxt_re_query_port()
240 port_attr->phys_state = 3; in bnxt_re_query_port()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.c234 attr->phys_state = 5; in qedr_query_port()
237 attr->phys_state = 3; in qedr_query_port()
/Linux-v4.19/include/rdma/
Dib_verbs.h594 u8 phys_state; member