Searched refs:static_rate (Results 1 – 15 of 15) sorted by relevance
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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 | 1780 path->static_rate = rdma_ah_get_static_rate(ah) + in _mlx4_set_path() 1782 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in _mlx4_set_path() 1783 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in _mlx4_set_path() 1784 --path->static_rate; in _mlx4_set_path() 1786 path->static_rate = 0; in _mlx4_set_path() 3994 path->static_rate ? path->static_rate - 5 : 0); in to_rdma_ah_attr()
|
/linux-6.3-rc2/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-6.3-rc2/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 | 1623 uverb_attr->static_rate = rdma_ah_get_static_rate(rdma_attr); in copy_ah_attr_to_uverbs() 1746 rdma_ah_set_static_rate(rdma_attr, uverb_attr->static_rate); in copy_ah_attr_from_uverbs() 2418 rdma_ah_set_static_rate(&attr, cmd.attr.static_rate); in ib_uverbs_create_ah()
|
/linux-6.3-rc2/include/linux/mlx4/ |
A D | qp.h | 149 u8 static_rate; member
|
/linux-6.3-rc2/include/uapi/rdma/ |
A D | ib_user_verbs.h | 542 __u8 static_rate; member 677 __u8 static_rate; member
|
/linux-6.3-rc2/include/rdma/ |
A D | ib_verbs.h | 942 u8 static_rate; member 4530 u8 static_rate) in rdma_ah_set_static_rate() argument 4532 attr->static_rate = static_rate; in rdma_ah_set_static_rate() 4537 return attr->static_rate; in rdma_ah_get_static_rate()
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | qp.c | 4754 int static_rate; in to_rdma_ah_attr() local 4769 static_rate = MLX5_GET(ads, path, stat_rate); in to_rdma_ah_attr() 4770 rdma_ah_set_static_rate(ah_attr, mlx5_to_ib_rate_map(static_rate)); in to_rdma_ah_attr()
|
/linux-6.3-rc2/include/linux/mlx5/ |
A D | mlx5_ifc.h | 10334 u8 static_rate[0x4]; member
|
Completed in 173 milliseconds