/linux/drivers/infiniband/hw/mlx5/ |
H A D | mad.c | 584 props->active_speed = out_mad->data[35] >> 4; in mlx5_query_mad_ifc_port() 605 props->active_speed = 16; /* FDR */ in mlx5_query_mad_ifc_port() 608 props->active_speed = 32; /* EDR */ in mlx5_query_mad_ifc_port() 613 props->active_speed = IB_SPEED_HDR; in mlx5_query_mad_ifc_port() 618 props->active_speed = IB_SPEED_NDR; in mlx5_query_mad_ifc_port() 631 props->active_speed = IB_SPEED_XDR; in mlx5_query_mad_ifc_port() 637 if (props->active_speed == 4) { in mlx5_query_mad_ifc_port() 651 props->active_speed = 8; in mlx5_query_mad_ifc_port()
|
H A D | main.c | 344 *active_speed = IB_SPEED_SDR; in translate_eth_legacy_proto_oper() 354 *active_speed = IB_SPEED_QDR; in translate_eth_legacy_proto_oper() 360 *active_speed = IB_SPEED_EDR; in translate_eth_legacy_proto_oper() 367 *active_speed = IB_SPEED_QDR; in translate_eth_legacy_proto_oper() 373 *active_speed = IB_SPEED_HDR; in translate_eth_legacy_proto_oper() 377 *active_speed = IB_SPEED_FDR; in translate_eth_legacy_proto_oper() 384 *active_speed = IB_SPEED_EDR; in translate_eth_legacy_proto_oper() 400 *active_speed = IB_SPEED_SDR; in translate_eth_ext_proto_oper() 404 *active_speed = IB_SPEED_DDR; in translate_eth_ext_proto_oper() 408 *active_speed = IB_SPEED_QDR; in translate_eth_ext_proto_oper() [all …]
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types_device.c | 171 resp->active_speed = min_t(u16, attr->active_speed, IB_SPEED_NDR); in copy_port_attr_to_resp() 206 resp.active_speed_ex = attr.active_speed; in UVERBS_HANDLER()
|
H A D | sysfs.c | 316 switch (attr.active_speed) { in rate_show()
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 201 speed = ib_speed_enum_to_int(attr.active_speed); in ipoib_get_link_ksettings()
|
/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 1070 lp->active_speed = current_speed; in link_status_1g_serdes() 1105 lp->active_speed = current_speed; in link_status_10g_serdes() 1187 active_speed = SPEED_1000; in link_status_mii() 1189 active_speed = SPEED_100; in link_status_mii() 1191 active_speed = SPEED_10; in link_status_mii() 1193 active_speed = SPEED_INVALID; in link_status_mii() 1205 active_speed = SPEED_1000; in link_status_mii() 1207 active_speed = SPEED_100; in link_status_mii() 1209 active_speed = SPEED_10; in link_status_mii() 1218 lp->active_speed = active_speed; in link_status_mii() [all …]
|
H A D | niu.h | 3156 u16 active_speed; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.c | 171 props->active_speed = pvrdma_port_speed_to_ib(resp->attrs.active_speed); in pvrdma_query_port()
|
H A D | pvrdma_verbs.h | 144 u8 active_speed; member
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe.c | 100 port->attr.active_speed = RXE_PORT_ACTIVE_SPEED; in rxe_init_port_param()
|
H A D | rxe_verbs.c | 55 ret = ib_get_eth_speed(ibdev, port_num, &attr->active_speed, in rxe_query_port()
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 67 dev->rate[port_num - 1] = tprops->active_speed * in mthca_update_rate()
|
H A D | mthca_provider.c | 157 props->active_speed = out_mad->data[35] >> 4; in mthca_query_port()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 698 props->active_speed = out_mad->data[35] >> 4; in ib_link_query_port() 711 props->active_speed = IB_SPEED_FDR; in ib_link_query_port() 714 props->active_speed = IB_SPEED_EDR; in ib_link_query_port() 720 if (props->active_speed == IB_SPEED_QDR) { in ib_link_query_port() 732 props->active_speed = IB_SPEED_FDR10; in ib_link_query_port() 737 props->active_speed = IB_SPEED_SDR; in ib_link_query_port() 776 props->active_speed = (((u8 *)mailbox->buf)[5] == 0x20 /*56Gb*/) ? in eth_link_query_port()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 2074 tp->link_config.active_speed = phydev->speed; in tg3_adjust_link() 2397 if (tp->link_config.active_speed == SPEED_1000) in tg3_phy_eee_adjust() 4911 tp->link_config.active_speed = current_speed; in tg3_setup_copper_phy() 4969 tp->link_config.active_speed = current_speed; in tg3_setup_copper_phy() 4982 tp->link_config.active_speed == SPEED_10) in tg3_setup_copper_phy() 4998 if (tp->link_config.active_speed == SPEED_10) in tg3_setup_copper_phy() 5063 tp->link_config.active_speed == SPEED_10) in tg3_setup_copper_phy() 5774 tp->link_config.active_speed = SPEED_1000; in tg3_setup_fiber_phy() 5780 tp->link_config.active_speed = SPEED_UNKNOWN; in tg3_setup_fiber_phy() 5985 tp->link_config.active_speed = current_speed; in tg3_setup_fiber_mii_phy() [all …]
|
H A D | tg3.h | 2885 u32 active_speed; member
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 308 ret = ib_get_eth_speed(ibdev, port, &props->active_speed, in c4iw_query_port()
|
/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 342 if (ib_get_eth_speed(ibdev, port, &props->active_speed, in usnic_ib_query_port()
|
/linux/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 314 __u8 active_speed; member
|
/linux/drivers/infiniband/hw/mana/ |
H A D | main.c | 583 props->active_speed = IB_SPEED_EDR; in mana_ib_query_port()
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 243 ret = ib_get_eth_speed(ib_dev, port_num, &props->active_speed, in hns_roce_query_port()
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.c | 179 rv = ib_get_eth_speed(base_dev, port, &attr->active_speed, in siw_query_port()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.c | 1208 props->active_speed = ppd->link_speed_active; in qib_query_port()
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | verbs.c | 1385 props->active_speed = opa_speed_to_ib(ppd->link_speed_active); in query_port()
|
/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.c | 377 ib_get_eth_speed(ibdev, port, &attr->active_speed, &attr->active_width); in erdma_query_port()
|