Searched refs:num_vls (Results 1 – 9 of 9) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | pio.c | 291 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() 1896 newmap = kzalloc(struct_size(newmap, map, roundup_pow_of_two(num_vls)), in pio_map_init() 1900 newmap->actual_vls = num_vls; in pio_map_init() 1901 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init() 1934 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init() [all …]
|
D | sdma.c | 752 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()
|
D | pio.h | 227 int pio_map_init(struct hfi1_devdata *dd, u8 port, u8 num_vls,
|
D | mad.c | 2694 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.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.vls, num_vls); in pma_get_opa_porterrors()
|
D | chip.c | 30 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)"); 5800 for (i = 0; i < num_vls; i++) in sc_to_vl() 13393 if (num_kernel_contexts > (send_contexts - num_vls - 1)) { in set_up_context_variables() 13396 send_contexts - num_vls - 1, in set_up_context_variables() 13398 num_kernel_contexts = send_contexts - num_vls - 1; in set_up_context_variables() 14320 num_vls == 1 || in qos_rmt_entries() 14325 for (i = 0; i < min_t(unsigned int, num_vls, krcvqsset); i++) in qos_rmt_entries() 14333 n = ilog2(__roundup_pow_of_two(num_vls)); in qos_rmt_entries() [all …]
|
D | sdma.h | 997 u8 num_vls,
|
D | chip.h | 783 extern uint num_vls;
|
D | verbs.c | 1501 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()
|
/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 111 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)");
|