Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mthca/
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()
Dmthca_qp.c113 u8 static_rate; member
408 ib_ah_attr->static_rate = mthca_rate_to_ib(dev, in to_ib_ah_attr()
409 path->static_rate & 0xf, in to_ib_ah_attr()
520 path->static_rate = mthca_get_rate(dev, ah->static_rate, port); in mthca_path_set()
Dmthca_dev.h570 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u8 port);
/drivers/infiniband/hw/mlx4/
Dah.c79 if (ah_attr->static_rate) { in create_ib_ah()
80 ah->av.ib.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_ib_ah()
115 if (ah_attr->static_rate) { in create_iboe_ah()
116 ah->av.eth.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_iboe_ah()
177 ah_attr->static_rate = ah->av.ib.stat_rate - MLX4_STAT_RATE_OFFSET; in mlx4_ib_query_ah()
Dqp.c1160 if (ah->static_rate) { in mlx4_set_path()
1161 path->static_rate = ah->static_rate + MLX4_STAT_RATE_OFFSET; in mlx4_set_path()
1162 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in mlx4_set_path()
1163 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in mlx4_set_path()
1164 --path->static_rate; in mlx4_set_path()
1166 path->static_rate = 0; in mlx4_set_path()
2660 ib_ah_attr->static_rate = path->static_rate ? path->static_rate - 5 : 0; in to_ib_ah_attr()
/drivers/infiniband/hw/ehca/
Dehca_av.c109 ah_attr->static_rate, &ipd)) { in ehca_create_ah()
179 new_ehca_av.ipd = ah_attr->static_rate; in ehca_modify_ah()
243 ah_attr->static_rate = av->av.ipd; in ehca_query_ah()
Dehca_main.c83 module_param_named(static_rate, ehca_static_rate, int, S_IRUGO);
106 MODULE_PARM_DESC(static_rate,
Dehca_qp.c1495 attr->ah_attr.static_rate, in internal_modify_qp()
1596 attr->alt_ah_attr.static_rate, in internal_modify_qp()
1984 qp_attr->ah_attr.static_rate = qpcb->max_static_rate; in ehca_query_qp()
2005 qp_attr->alt_ah_attr.static_rate = qpcb->max_static_rate_al; in ehca_query_qp()
/drivers/infiniband/core/
Duverbs_marshall.c48 dst->static_rate = src->static_rate; in ib_copy_ah_attr_to_user()
Duverbs_cmd.c1846 resp.dest.static_rate = attr->ah_attr.static_rate; in ib_uverbs_query_qp()
1858 resp.alt_dest.static_rate = attr->alt_ah_attr.static_rate; in ib_uverbs_query_qp()
1950 attr->ah_attr.static_rate = cmd.dest.static_rate; in ib_uverbs_modify_qp()
1962 attr->alt_ah_attr.static_rate = cmd.alt_dest.static_rate; in ib_uverbs_modify_qp()
2414 attr.static_rate = cmd.attr.static_rate; in ib_uverbs_create_ah()
Dmulticast.c735 ah_attr->static_rate = rec->rate; in ib_init_ah_from_mcmember()
Dsa_query.c541 ah_attr->static_rate = rec->rate; in ib_init_ah_from_path()
/drivers/infiniband/hw/ipath/
Dipath_verbs.c1808 ah->attr.static_rate = ipath_ib_rate_to_mult(ah_attr->static_rate); in ipath_create_ah()
1842 ah_attr->static_rate = ipath_mult_to_ib_rate(ah->attr.static_rate); in ipath_query_ah()
Dipath_ud.c321 qp->s_dmult = ah_attr->static_rate; in ipath_make_ud_req()
Dipath_verbs.h332 u8 static_rate; member
Dipath_qp.c569 qp->s_dmult = ipath_ib_rate_to_mult(attr->ah_attr.static_rate); in ipath_modify_qp()
/drivers/infiniband/hw/qib/
Dqib_ud.c311 qp->s_srate = ah_attr->static_rate; in qib_make_ud_req()
Dqib_verbs.c1800 if (ah_attr->static_rate != IB_RATE_PORT_CURRENT && in qib_check_ah()
1801 ib_rate_to_mult(ah_attr->static_rate) < 0) in qib_check_ah()
Dqib_qp.c769 qp->s_srate = attr->ah_attr.static_rate; in qib_modify_qp()
/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c226 .static_rate = mcast->mcmember.rate, in ipoib_mcast_join_finish()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1274 qp_attr->ah_attr.static_rate = 0; in ocrdma_query_qp()