Searched refs:TBNET_RING_SIZE (Results 1 – 1 of 1) sorted by relevance
33 #define TBNET_RING_SIZE 256 macro142 struct tbnet_frame frames[TBNET_RING_SIZE];338 for (i = 0; i < TBNET_RING_SIZE; i++) { in tbnet_free_buffers()506 unsigned int index = ring->prod & (TBNET_RING_SIZE - 1); in tbnet_alloc_rx_buffers()558 index = ring->cons++ & (TBNET_RING_SIZE - 1); in tbnet_get_tx_buffer()588 for (i = 0; i < TBNET_RING_SIZE; i++) { in tbnet_alloc_tx_buffers()617 ring->prod = TBNET_RING_SIZE - 1; in tbnet_alloc_tx_buffers()656 ret = tbnet_alloc_rx_buffers(net, TBNET_RING_SIZE); in tbnet_connected_work()790 if (frame_count == 0 || frame_count > TBNET_RING_SIZE / 4) { in tbnet_check_frame()927 ring = tb_ring_alloc_tx(xd->tb->nhi, -1, TBNET_RING_SIZE, in tbnet_open()[all …]