Searched refs:static_rate (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/infiniband/hw/mthca/ |
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, u32 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()
|
A D | mthca_dev.h | 562 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u32 port);
|
A D | mthca_qp.c | 114 u8 static_rate; member 415 path->static_rate & 0xf, in to_rdma_ah_attr() 527 path->static_rate = mthca_get_rate(dev, rdma_ah_get_static_rate(ah), in mthca_path_set()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | ah.c | 67 u8 static_rate = rdma_ah_get_static_rate(ah_attr) + in create_ib_ah() local 70 while (static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in create_ib_ah() 71 !(1 << static_rate & dev->caps.stat_rate_support)) in create_ib_ah() 72 --static_rate; in create_ib_ah() 73 ah->av.ib.stat_rate = static_rate; in create_ib_ah()
|
A D | qp.c | 1745 path->static_rate = rdma_ah_get_static_rate(ah) + in _mlx4_set_path() 1747 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in _mlx4_set_path() 1748 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in _mlx4_set_path() 1749 --path->static_rate; in _mlx4_set_path() 1751 path->static_rate = 0; in _mlx4_set_path() 3959 path->static_rate ? path->static_rate - 5 : 0); in to_rdma_ah_attr()
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | ah.c | 28 u8 static_rate = rdma_ah_get_static_rate(ah_attr); in rvt_check_ah() local 36 if (static_rate != IB_RATE_PORT_CURRENT && in rvt_check_ah() 37 ib_rate_to_mbps(static_rate) < 0) in rvt_check_ah()
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_misc.c | 282 rdma_ah_set_static_rate(dst, src->static_rate); in pvrdma_ah_attr_to_rdma() 295 dst->static_rate = rdma_ah_get_static_rate(src); in rdma_ah_attr_to_pvrdma()
|
A D | pvrdma_verbs.h | 198 u8 static_rate; member
|
/linux/drivers/infiniband/core/ |
A D | uverbs_marshall.c | 79 dst->static_rate = rdma_ah_get_static_rate(src); in ib_copy_ah_attr_to_user()
|
A D | uverbs_cmd.c | 1621 uverb_attr->static_rate = rdma_ah_get_static_rate(rdma_attr); in copy_ah_attr_to_uverbs() 1744 rdma_ah_set_static_rate(rdma_attr, uverb_attr->static_rate); in copy_ah_attr_from_uverbs() 2416 rdma_ah_set_static_rate(&attr, cmd.attr.static_rate); in ib_uverbs_create_ah()
|
/linux/include/linux/mlx4/ |
A D | qp.h | 149 u8 static_rate; member
|
/linux/include/uapi/rdma/ |
A D | ib_user_verbs.h | 528 __u8 static_rate; member 663 __u8 static_rate; member
|
/linux/include/rdma/ |
A D | ib_verbs.h | 924 u8 static_rate; member 4489 u8 static_rate) in rdma_ah_set_static_rate() argument 4491 attr->static_rate = static_rate; in rdma_ah_set_static_rate() 4496 return attr->static_rate; in rdma_ah_get_static_rate()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | qp.c | 4653 int static_rate; in to_rdma_ah_attr() local 4668 static_rate = MLX5_GET(ads, path, stat_rate); in to_rdma_ah_attr() 4669 rdma_ah_set_static_rate(ah_attr, mlx5_to_ib_rate_map(static_rate)); in to_rdma_ah_attr()
|
/linux/include/linux/mlx5/ |
A D | mlx5_ifc.h | 9920 u8 static_rate[0x4]; member
|
Completed in 150 milliseconds