Home
last modified time | relevance | path

Searched refs:active_speed (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c562 props->active_speed = out_mad->data[35] >> 4; in mlx5_query_mad_ifc_port()
583 props->active_speed = 16; /* FDR */ in mlx5_query_mad_ifc_port()
586 props->active_speed = 32; /* EDR */ in mlx5_query_mad_ifc_port()
591 props->active_speed = IB_SPEED_HDR; in mlx5_query_mad_ifc_port()
597 if (props->active_speed == 4) { in mlx5_query_mad_ifc_port()
611 props->active_speed = 8; in mlx5_query_mad_ifc_port()
Dmain.c330 u16 *active_speed, u8 *active_width) in translate_eth_legacy_proto_oper() argument
338 *active_speed = IB_SPEED_SDR; in translate_eth_legacy_proto_oper()
348 *active_speed = IB_SPEED_QDR; in translate_eth_legacy_proto_oper()
354 *active_speed = IB_SPEED_EDR; in translate_eth_legacy_proto_oper()
361 *active_speed = IB_SPEED_QDR; in translate_eth_legacy_proto_oper()
367 *active_speed = IB_SPEED_HDR; in translate_eth_legacy_proto_oper()
371 *active_speed = IB_SPEED_FDR; in translate_eth_legacy_proto_oper()
378 *active_speed = IB_SPEED_EDR; in translate_eth_legacy_proto_oper()
387 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument
394 *active_speed = IB_SPEED_SDR; in translate_eth_ext_proto_oper()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dbnxt_re.h153 u16 active_speed; member
Dmain.c1336 ib_get_eth_speed(&rdev->ibdev, 1, &rdev->active_speed, in bnxt_re_ib_init()
1673 ib_get_eth_speed(&rdev->ibdev, 1, &rdev->active_speed, in bnxt_re_task()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c191 speed = ib_speed_enum_to_int(attr.active_speed); in ipoib_get_link_ksettings()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types_device.c171 resp->active_speed = min_t(u16, attr->active_speed, IB_SPEED_NDR); in copy_port_attr_to_resp()
Dsysfs.c251 switch (attr.active_speed) { in rate_show()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dniu.c1051 lp->active_speed = current_speed; in link_status_1g_serdes()
1086 lp->active_speed = current_speed; in link_status_10g_serdes()
1098 int supported, advertising, active_speed, active_duplex; in link_status_mii() local
1168 active_speed = SPEED_1000; in link_status_mii()
1170 active_speed = SPEED_100; in link_status_mii()
1172 active_speed = SPEED_10; in link_status_mii()
1174 active_speed = SPEED_INVALID; in link_status_mii()
1178 else if (active_speed != SPEED_INVALID) in link_status_mii()
1186 active_speed = SPEED_1000; in link_status_mii()
1188 active_speed = SPEED_100; in link_status_mii()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c171 props->active_speed = pvrdma_port_speed_to_ib(resp->attrs.active_speed); in pvrdma_query_port()
Dpvrdma_verbs.h179 u8 active_speed; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_mad.c67 dev->rate[port_num - 1] = tprops->active_speed * in mthca_update_rate()
Dmthca_provider.c165 props->active_speed = out_mad->data[35] >> 4; in mthca_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe.c98 port->attr.active_speed = RXE_PORT_ACTIVE_SPEED; in rxe_init_port_param()
Drxe_verbs.c41 rc = ib_get_eth_speed(dev, port_num, &attr->active_speed, in rxe_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c700 props->active_speed = out_mad->data[35] >> 4; in ib_link_query_port()
713 props->active_speed = IB_SPEED_FDR; in ib_link_query_port()
716 props->active_speed = IB_SPEED_EDR; in ib_link_query_port()
722 if (props->active_speed == IB_SPEED_QDR) { in ib_link_query_port()
734 props->active_speed = IB_SPEED_FDR10; in ib_link_query_port()
739 props->active_speed = IB_SPEED_SDR; in ib_link_query_port()
778 props->active_speed = (((u8 *)mailbox->buf)[5] == 0x20 /*56Gb*/) ? in eth_link_query_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.c1882 (tp->link_config.active_speed == SPEED_1000 ? in tg3_link_report()
1884 (tp->link_config.active_speed == SPEED_100 ? in tg3_link_report()
2073 phydev->speed != tp->link_config.active_speed || in tg3_adjust_link()
2079 tp->link_config.active_speed = phydev->speed; in tg3_adjust_link()
2398 (tp->link_config.active_speed == SPEED_100 || in tg3_phy_eee_adjust()
2399 tp->link_config.active_speed == SPEED_1000)) { in tg3_phy_eee_adjust()
2402 if (tp->link_config.active_speed == SPEED_1000) in tg3_phy_eee_adjust()
2430 if (tp->link_config.active_speed == SPEED_1000 && in tg3_phy_eee_enable()
4148 if (tp->link_config.active_speed == SPEED_1000) in tg3_power_down_prepare()
4457 tp->link_config.active_speed = tp->link_config.speed; in tg3_phy_copper_begin()
[all …]
Dtg3.h2885 u32 active_speed; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c342 if (ib_get_eth_speed(ibdev, port, &props->active_speed, in usnic_ib_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dprovider.c303 ret = ib_get_eth_speed(ibdev, port, &props->active_speed, in c4iw_query_port()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h302 __u8 active_speed; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h231 __u8 active_speed; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h221 __u8 active_speed; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_main.c248 props->active_speed = 1; in hns_roce_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c171 rv = ib_get_eth_speed(base_dev, port, &attr->active_speed, in siw_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_verbs.c1208 props->active_speed = ppd->link_speed_active; in qib_query_port()

12