Home
last modified time | relevance | path

Searched refs:static_rate (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/dev/mthca/
H A Dmthca_av.c124 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 Dmthca_qp.c114 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 Dmthca_dev.h575 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u8 port);
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_ah.c65 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 Dmlx4_ib_qp.c1407 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 Dmlx5_ib_ah.c45 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 Dosm_vendor_mlx_ibmgt.c408 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 Dosm_vendor_mtl.c94 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 Dosm_vendor_al.c271 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 Dosm_vendor_mlx_ts_anafa.c386 p_mad_addr->static_rate = 0; in __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr()
H A Dosm_vendor_mlx_sim.c372 p_osm_addr->static_rate = 0; in __osmv_ibms_mad_addr_to_osm_addr()
H A Dosm_vendor_mlx_ts.c436 p_mad_addr->static_rate = 0; in __osmv_TOPSPIN_mad_addr_to_osm_addr()
H A Dosm_vendor_umadt.c534 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 Dosm_vendor_ts.c88 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 Dmarshall.c51 dst->static_rate = src->static_rate; in ibv_copy_ah_attr_from_kern()
H A Dcmd.c1282 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 Dkern-abi.h574 __u8 static_rate; member
701 __u8 static_rate; member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_marshall.c50 dst->static_rate = src->static_rate; in ib_copy_ah_attr_to_user()
H A Dib_uverbs_cmd.c1632 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 Dosm_madw.h416 uint8_t static_rate; member
/freebsd/sys/dev/mlx4/
H A Dqp.h153 u8 static_rate; member
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h522 __u8 static_rate; member
671 __u8 static_rate; member
/freebsd/sys/dev/mlx5/
H A Dqp.h495 u8 static_rate;
486 u8 static_rate; global() member
/freebsd/contrib/ofed/libmlx4/
H A Dverbs.c1225 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 Dosm_sa.c696 p_infr->report_addr.static_rate, in sa_dump_one_inform()
1303 &rep_addr.static_rate); in osm_sa_db_file_load()

12