Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dxen-netfront.c111 unsigned rx_min_target, rx_max_target, rx_target; member
245 batch_target = np->rx_target - (req_prod - np->rx.rsp_cons); in xennet_alloc_rx_buffers()
274 if (i < (np->rx_target/2)) { in xennet_alloc_rx_buffers()
281 if (((req_prod - np->rx.sring->rsp_prod) < (np->rx_target / 4)) && in xennet_alloc_rx_buffers()
282 ((np->rx_target *= 2) > np->rx_max_target)) in xennet_alloc_rx_buffers()
283 np->rx_target = np->rx_max_target; in xennet_alloc_rx_buffers()
1004 ((3*np->rx_target) / 4)) && in xennet_poll()
1005 (--np->rx_target < np->rx_min_target)) in xennet_poll()
1006 np->rx_target = np->rx_min_target; in xennet_poll()
1173 np->rx_target = RX_DFL_MIN_TARGET; in xennet_create_dev()
[all …]