/Linux-v4.19/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 353 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/ |
D | pvrdma_verbs.c | 173 props->phys_state = resp->attrs.phys_state; in pvrdma_query_port()
|
D | pvrdma_verbs.h | 180 u8 phys_state; member
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 625 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()
|
D | rxe.c | 149 port->attr.phys_state = RXE_PORT_PHYS_STATE; in rxe_init_port_param()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | sysfs.c | 302 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);
|
D | nldev.c | 258 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_PORT_PHYS_STATE, attr.phys_state)) in fill_port_info()
|
D | uverbs_cmd.c | 337 resp.phys_state = attr.phys_state; in ib_uverbs_query_port()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | mad.c | 1241 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()
|
D | verbs.c | 1481 props->phys_state = driver_pstate(ppd); in query_port()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 756 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/ |
D | mad.c | 556 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
|
D | main.c | 431 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/ |
D | ib_user_verbs.h | 300 __u8 phys_state; member
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 282 props->phys_state = (props->state == IB_PORT_ACTIVE) ? 5 : 3; in hns_roce_query_port()
|
/Linux-v4.19/include/linux/mlx5/ |
D | driver.h | 935 enum phy_port_state phys_state; member
|
/Linux-v4.19/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 43 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/ |
D | main.c | 677 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/ |
D | mthca_provider.c | 166 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 188 props->phys_state = 5; in ocrdma_query_port() 191 props->phys_state = 3; in ocrdma_query_port()
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_verbs.c | 1239 props->phys_state = dd->f_ibphys_portstate(ppd->lastibcstat); in qib_query_port()
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 237 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/ |
D | verbs.c | 234 attr->phys_state = 5; in qedr_query_port() 237 attr->phys_state = 3; in qedr_query_port()
|
/Linux-v4.19/include/rdma/ |
D | ib_verbs.h | 594 u8 phys_state; member
|