Searched refs:scontext (Results 1 – 1 of 1) sorted by relevance
1875 static void set_threshold(struct hfi1_devdata *dd, int scontext, int i) in set_threshold() argument1879 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext], in set_threshold()1881 sc_mtu_to_threshold(dd->kernel_send_context[scontext], in set_threshold()1884 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres); in set_threshold()1919 int scontext = 1; in pio_map_init() local1949 int first_scontext = scontext; in pio_map_init()1967 if (dd->kernel_send_context[scontext]) { in pio_map_init()1969 dd->kernel_send_context[scontext]; in pio_map_init()1970 set_threshold(dd, scontext, i); in pio_map_init()1972 if (++scontext >= first_scontext + in pio_map_init()[all …]