Home
last modified time | relevance | path

Searched refs:num_vls (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dpio.c291 count = INIT_SC_PER_VL * num_vls; in init_sc_pools_and_sizes()
1772 if (unlikely(vl >= num_vls)) { in pio_select_send_context_vl()
1873 int pio_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls, u8 *vl_scontexts) in pio_map_init() argument
1887 sc_per_vl = num_kernel_send_contexts / num_vls; in pio_map_init()
1889 extra = num_kernel_send_contexts % num_vls; in pio_map_init()
1892 for (i = num_vls - 1; i >= 0; i--, extra--) in pio_map_init()
1897 roundup_pow_of_two(num_vls) * in pio_map_init()
1902 newmap->actual_vls = num_vls; in pio_map_init()
1903 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init()
1937 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init()
[all …]
Dsdma.c752 if (vl >= num_vls) { in sdma_select_engine_vl()
1159 int sdma_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls, u8 *vl_engines) in sdma_map_init() argument
1172 sde_per_vl = dd->num_sdma / num_vls; in sdma_map_init()
1174 extra = dd->num_sdma % num_vls; in sdma_map_init()
1177 for (i = num_vls - 1; i >= 0; i--, extra--) in sdma_map_init()
1183 roundup_pow_of_two(num_vls) * in sdma_map_init()
1188 newmap->actual_vls = num_vls; in sdma_map_init()
1189 newmap->vls = roundup_pow_of_two(num_vls); in sdma_map_init()
1222 newmap->map[i] = newmap->map[i % num_vls]; in sdma_map_init()
1340 mod_num_sdma >= num_vls) in sdma_init()
Dpio.h227 int pio_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls,
Dmad.c2694 u8 num_vls = hweight64(vl_select_mask); in pma_get_opa_portstatus() local
2703 response_data_size = struct_size(rsp, vls, num_vls); in pma_get_opa_portstatus()
2710 num_vls > OPA_MAX_VLS || (vl_select_mask & ~VL_MASK_ALL)) { in pma_get_opa_portstatus()
2945 u8 lq, num_vls; in pma_get_opa_datacounters() local
2956 num_vls = hweight32(be32_to_cpu(req->vl_select_mask)); in pma_get_opa_datacounters()
2969 response_data_size = struct_size(req, port[0].vls, num_vls); in pma_get_opa_datacounters()
3164 u8 num_vls; in pma_get_opa_porterrors() local
3178 num_vls = hweight32(be32_to_cpu(req->vl_select_mask)); in pma_get_opa_porterrors()
3185 response_data_size = struct_size(req, port[0].vls, num_vls); in pma_get_opa_porterrors()
Dchip.c30 uint num_vls = HFI1_MAX_VLS_SUPPORTED; variable
31 module_param(num_vls, uint, S_IRUGO);
32 MODULE_PARM_DESC(num_vls, "Set number of Virtual Lanes to use (1-8)");
5799 for (i = 0; i < num_vls; i++) in sc_to_vl()
13390 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables()
13393 send_contexts - num_vls - 1, in set_up_context_variables()
13395 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables()
14311 num_vls == 1 || in qos_rmt_entries()
14316 for (i = 0; i < min_t(unsigned int, num_vls, krcvqsset); i++) in qos_rmt_entries()
14324 n = ilog2(__roundup_pow_of_two(num_vls)); in qos_rmt_entries()
[all …]
Dsdma.h974 u8 num_vls,
Dchip.h783 extern uint num_vls;
Dverbs.c1501 if (sc_to_vlt(dd, sc5) > num_vls && sc_to_vlt(dd, sc5) != 0xf) in hfi1_check_ah()
1528 if (ah->vl < num_vls || ah->vl == 15) in hfi1_notify_new_ah()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_iba7322.c111 module_param_named(num_vls, qib_num_cfg_vls, ushort, S_IRUGO);
112 MODULE_PARM_DESC(num_vls, "Set number of Virtual Lanes to use (1-8)");