/freebsd/sys/dev/mthca/ |
H A D | mthca_av.c | 124 static u8 ib_rate_to_tavor(u8 static_rate) in ib_rate_to_tavor() argument 126 switch (static_rate) { in ib_rate_to_tavor() 134 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u8 port) in mthca_get_rate() argument 138 if (!static_rate || ib_rate_to_mult(static_rate) >= dev->rate[port - 1]) in mthca_get_rate() 142 rate = ib_rate_to_memfree(ib_rate_to_mult(static_rate), in mthca_get_rate() 145 rate = ib_rate_to_tavor(static_rate); in mthca_get_rate() 205 mthca_get_rate(dev, ah_attr->static_rate, ah_attr->port_num); in mthca_create_ah() 305 attr->static_rate = mthca_rate_to_ib(dev, ah->av->msg_sr & 0x7, in mthca_ah_query()
|
H A D | mthca_qp.c | 114 u8 static_rate; member 409 ib_ah_attr->static_rate = mthca_rate_to_ib(dev, in to_ib_ah_attr() 410 path->static_rate & 0xf, in to_ib_ah_attr() 521 path->static_rate = mthca_get_rate(dev, ah->static_rate, port); in mthca_path_set()
|
H A D | mthca_dev.h | 575 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u8 port);
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_ah.c | 65 if (ah_attr->static_rate) { in create_ib_ah() 66 ah->av.ib.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_ib_ah() 113 if (ah_attr->static_rate) { in create_iboe_ah() 114 ah->av.eth.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_iboe_ah() 193 ah_attr->static_rate = ah->av.ib.stat_rate - MLX4_STAT_RATE_OFFSET; in mlx4_ib_query_ah()
|
H A D | mlx4_ib_qp.c | 1407 if (ah->static_rate) { in _mlx4_set_path() 1408 path->static_rate = ah->static_rate + MLX4_STAT_RATE_OFFSET; in _mlx4_set_path() 1409 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in _mlx4_set_path() 1410 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in _mlx4_set_path() 1411 --path->static_rate; in _mlx4_set_path() 1413 path->static_rate = 0; in _mlx4_set_path() 3414 ib_ah_attr->static_rate = path->static_rate ? path->static_rate - 5 : 0; in to_ib_ah_attr()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_ah.c | 45 ah->av.stat_rate_sl = (ah_attr->static_rate << 4); in create_ib_ah() 116 ah_attr->static_rate = ah->av.stat_rate_sl >> 4; in mlx5_ib_query_ah()
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_ibmgt.c | 408 cl_ntoh16(av.dlid), av.static_rate, in osmv_transport_mad_send() 422 cl_ntoh16(av.dlid), av.static_rate, in osmv_transport_mad_send() 699 p_mad_addr->static_rate = 0; /* HACK - we do not know the rate ! */ in __osmv_IBMGT_rcv_desc_to_osm_addr() 760 p_av->static_rate = p_mad_addr->static_rate; in __osmv_IBMGT_osm_addr_to_ibmgt_addr()
|
H A D | osm_vendor_mtl.c | 94 p_mad_addr->static_rate = 0; /* HACK - we do not know the rate ! */ in __osm_mtl_conv_ibmgt_rcv_desc_to_osm_addr() 151 p_av->static_rate = p_mad_addr->static_rate; in __osm_mtl_conv_osm_addr_to_ibmgt_addr() 937 cl_ntoh16(av.dlid), av.static_rate, in osm_mtl_send_mad() 954 av.static_rate, in osm_mtl_send_mad()
|
H A D | osm_vendor_al.c | 271 mad_addr.static_rate = 0; in __osm_al_rcv_callback() 1107 av.static_rate = p_mad_addr->static_rate; in osm_vendor_send() 1129 av.static_rate, av.path_bits); in osm_vendor_send()
|
H A D | osm_vendor_mlx_ts_anafa.c | 386 p_mad_addr->static_rate = 0; in __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr()
|
H A D | osm_vendor_mlx_sim.c | 372 p_osm_addr->static_rate = 0; in __osmv_ibms_mad_addr_to_osm_addr()
|
H A D | osm_vendor_mlx_ts.c | 436 p_mad_addr->static_rate = 0; in __osmv_TOPSPIN_mad_addr_to_osm_addr()
|
H A D | osm_vendor_umadt.c | 534 destAddr.StaticRate = p_mad_addr->static_rate; in osm_vendor_send() 941 osm_mad_addr.static_rate = pRecvCmp->AddressInfo.StaticRate; in __mad_recv_processor()
|
H A D | osm_vendor_ts.c | 88 p_mad_addr->static_rate = 0; /* HACK - we do not know the rate ! */ in __osm_ts_conv_mad_rcv_desc_to_osm_addr()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | marshall.c | 51 dst->static_rate = src->static_rate; in ibv_copy_ah_attr_from_kern()
|
H A D | cmd.c | 1282 attr->ah_attr.static_rate = resp.dest.static_rate; in ibv_cmd_query_qp() 1294 attr->alt_ah_attr.static_rate = resp.alt_dest.static_rate; in ibv_cmd_query_qp() 1345 cmd->dest.static_rate = attr->ah_attr.static_rate; in copy_modify_qp_fields() 1378 cmd->alt_dest.static_rate = attr->alt_ah_attr.static_rate; in copy_modify_qp_fields() 1674 cmd.attr.static_rate = attr->static_rate; in ibv_cmd_create_ah()
|
H A D | kern-abi.h | 574 __u8 static_rate; member 701 __u8 static_rate; member
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_marshall.c | 50 dst->static_rate = src->static_rate; in ib_copy_ah_attr_to_user()
|
H A D | ib_uverbs_cmd.c | 1632 uverb_attr->static_rate = rdma_attr->static_rate; in copy_ah_attr_to_uverbs() 1756 rdma_attr->static_rate = uverb_attr->static_rate; in copy_ah_attr_from_uverbs() 2428 attr.static_rate = cmd.attr.static_rate; in ib_uverbs_create_ah()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_madw.h | 416 uint8_t static_rate; member
|
/freebsd/sys/dev/mlx4/ |
H A D | qp.h | 153 u8 static_rate; member
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 522 __u8 static_rate; member 671 __u8 static_rate; member
|
/freebsd/sys/dev/mlx5/ |
H A D | qp.h | 495 u8 static_rate; 486 u8 static_rate; global() member
|
/freebsd/contrib/ofed/libmlx4/ |
H A D | verbs.c | 1225 if (attr->static_rate) { in mlx4_create_ah() 1226 ah->av.stat_rate = attr->static_rate + MLX4_STAT_RATE_OFFSET; in mlx4_create_ah()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_sa.c | 696 p_infr->report_addr.static_rate, in sa_dump_one_inform() 1303 &rep_addr.static_rate); in osm_sa_db_file_load()
|