/drivers/infiniband/hw/mthca/ |
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()
|
D | mthca_qp.c | 113 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()
|
D | mthca_dev.h | 570 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u8 port);
|
/drivers/infiniband/hw/mlx4/ |
D | ah.c | 61 if (ah_attr->static_rate) { in create_ib_ah() 62 ah->av.ib.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_ib_ah() 93 if (ah_attr->static_rate) { in create_iboe_ah() 94 ah->av.eth.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_iboe_ah() 159 ah_attr->static_rate = ah->av.ib.stat_rate - MLX4_STAT_RATE_OFFSET; in mlx4_ib_query_ah()
|
D | qp.c | 1255 if (ah->static_rate) { in _mlx4_set_path() 1256 path->static_rate = ah->static_rate + MLX4_STAT_RATE_OFFSET; in _mlx4_set_path() 1257 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in _mlx4_set_path() 1258 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in _mlx4_set_path() 1259 --path->static_rate; in _mlx4_set_path() 1261 path->static_rate = 0; in _mlx4_set_path() 3036 ib_ah_attr->static_rate = path->static_rate ? path->static_rate - 5 : 0; in to_ib_ah_attr()
|
/drivers/infiniband/hw/mlx5/ |
D | ah.c | 49 ah->av.stat_rate_sl = (ah_attr->static_rate << 4) | (ah_attr->sl & 0xf); in create_ib_ah() 82 ah_attr->static_rate = ah->av.stat_rate_sl >> 4; in mlx5_ib_query_ah()
|
D | qp.c | 1334 err = ib_rate_to_mlx5(dev, ah->static_rate); in mlx5_set_path() 1337 path->static_rate = err; in mlx5_set_path() 2892 ib_ah_attr->static_rate = path->static_rate ? path->static_rate - 5 : 0; in to_ib_ah_attr()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_av.c | 109 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()
|
D | ehca_main.c | 83 module_param_named(static_rate, ehca_static_rate, int, S_IRUGO); 106 MODULE_PARM_DESC(static_rate,
|
D | ehca_qp.c | 1495 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/ |
D | uverbs_marshall.c | 48 dst->static_rate = src->static_rate; in ib_copy_ah_attr_to_user()
|
D | uverbs_cmd.c | 1937 resp.dest.static_rate = attr->ah_attr.static_rate; in ib_uverbs_query_qp() 1949 resp.alt_dest.static_rate = attr->alt_ah_attr.static_rate; in ib_uverbs_query_qp() 2041 attr->ah_attr.static_rate = cmd.dest.static_rate; in ib_uverbs_modify_qp() 2053 attr->alt_ah_attr.static_rate = cmd.alt_dest.static_rate; in ib_uverbs_modify_qp() 2523 attr.static_rate = cmd.attr.static_rate; in ib_uverbs_create_ah()
|
D | multicast.c | 735 ah_attr->static_rate = rec->rate; in ib_init_ah_from_mcmember()
|
D | sa_query.c | 541 ah_attr->static_rate = rec->rate; in ib_init_ah_from_path()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_verbs.c | 1808 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()
|
D | ipath_ud.c | 321 qp->s_dmult = ah_attr->static_rate; in ipath_make_ud_req()
|
D | ipath_verbs.h | 332 u8 static_rate; member
|
D | ipath_qp.c | 569 qp->s_dmult = ipath_ib_rate_to_mult(attr->ah_attr.static_rate); in ipath_modify_qp()
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 318 qp->s_srate = ah_attr->static_rate; in qib_make_ud_req()
|
D | qib_verbs.c | 1803 if (ah_attr->static_rate != IB_RATE_PORT_CURRENT && in qib_check_ah() 1804 ib_rate_to_mult(ah_attr->static_rate) < 0) in qib_check_ah()
|
D | qib_qp.c | 774 qp->s_srate = attr->ah_attr.static_rate; in qib_modify_qp()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_multicast.c | 226 .static_rate = mcast->mcmember.rate, in ipoib_mcast_join_finish()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1462 qp_attr->ah_attr.static_rate = 0; in ocrdma_query_qp()
|