Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dpio.c1875 static void set_threshold(struct hfi1_devdata *dd, int scontext, int i) in set_threshold() argument
1879 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() local
1949 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 …]