Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dpio.c333 count = INIT_SC_PER_VL * num_vls; in init_sc_pools_and_sizes()
1814 if (unlikely(vl >= num_vls)) { in pio_select_send_context_vl()
1915 int pio_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls, u8 *vl_scontexts) in pio_map_init() argument
1929 sc_per_vl = num_kernel_send_contexts / num_vls; in pio_map_init()
1931 extra = num_kernel_send_contexts % num_vls; in pio_map_init()
1934 for (i = num_vls - 1; i >= 0; i--, extra--) in pio_map_init()
1939 roundup_pow_of_two(num_vls) * in pio_map_init()
1944 newmap->actual_vls = num_vls; in pio_map_init()
1945 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init()
1979 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init()
[all …]
Dsdma.c794 if (vl >= num_vls) { in sdma_select_engine_vl()
1201 int sdma_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls, u8 *vl_engines) in sdma_map_init() argument
1214 sde_per_vl = dd->num_sdma / num_vls; in sdma_map_init()
1216 extra = dd->num_sdma % num_vls; in sdma_map_init()
1219 for (i = num_vls - 1; i >= 0; i--, extra--) in sdma_map_init()
1225 roundup_pow_of_two(num_vls) * in sdma_map_init()
1230 newmap->actual_vls = num_vls; in sdma_map_init()
1231 newmap->vls = roundup_pow_of_two(num_vls); in sdma_map_init()
1264 newmap->map[i] = newmap->map[i % num_vls]; in sdma_map_init()
1382 mod_num_sdma >= num_vls) in sdma_init()
Dpio.h269 int pio_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls,
Dmad.c2736 u8 num_vls = hweight64(vl_select_mask); in pma_get_opa_portstatus() local
2745 response_data_size = struct_size(rsp, vls, num_vls); in pma_get_opa_portstatus()
2752 num_vls > OPA_MAX_VLS || (vl_select_mask & ~VL_MASK_ALL)) { in pma_get_opa_portstatus()
2987 u8 lq, num_vls; in pma_get_opa_datacounters() local
2998 num_vls = hweight32(be32_to_cpu(req->vl_select_mask)); in pma_get_opa_datacounters()
3011 response_data_size = struct_size(req, port[0].vls, num_vls); in pma_get_opa_datacounters()
3206 u8 num_vls; in pma_get_opa_porterrors() local
3220 num_vls = hweight32(be32_to_cpu(req->vl_select_mask)); in pma_get_opa_porterrors()
3227 response_data_size = struct_size(req, port[0].vls, num_vls); in pma_get_opa_porterrors()
Dchip.c71 uint num_vls = HFI1_MAX_VLS_SUPPORTED; variable
72 module_param(num_vls, uint, S_IRUGO);
73 MODULE_PARM_DESC(num_vls, "Set number of Virtual Lanes to use (1-8)");
5840 for (i = 0; i < num_vls; i++) in sc_to_vl()
13431 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables()
13434 send_contexts - num_vls - 1, in set_up_context_variables()
13436 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables()
14358 num_vls == 1 || in qos_rmt_entries()
14363 for (i = 0; i < min_t(unsigned int, num_vls, krcvqsset); i++) in qos_rmt_entries()
14371 n = ilog2(__roundup_pow_of_two(num_vls)); in qos_rmt_entries()
[all …]
Dsdma.h1056 u8 num_vls,
Dchip.h830 extern uint num_vls;
Dverbs.c1545 if (sc_to_vlt(dd, sc5) > num_vls && sc_to_vlt(dd, sc5) != 0xf) in hfi1_check_ah()
1572 if (ah->vl < num_vls || ah->vl == 15) in hfi1_notify_new_ah()
/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)");