Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_rxdma.c642 int max_iteration = 0, max_index = 0; in hxge_rxbuf_index_info_init() local
672 max_iteration = 0; in hxge_rxbuf_index_info_init()
673 while (max_index >= (1ULL << max_iteration)) in hxge_rxbuf_index_info_init()
674 max_iteration++; in hxge_rxbuf_index_info_init()
675 ring_info->max_iterations = max_iteration + 1; in hxge_rxbuf_index_info_init()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_rxdma.c1052 int max_iteration = 0, max_index = 0; in nxge_rxbuf_index_info_init() local
1084 max_iteration = 0; in nxge_rxbuf_index_info_init()
1085 while (max_index >= (1ULL << max_iteration)) in nxge_rxbuf_index_info_init()
1086 max_iteration++; in nxge_rxbuf_index_info_init()
1087 ring_info->max_iterations = max_iteration + 1; in nxge_rxbuf_index_info_init()