Thread (24 messages) read the whole thread 24 messages, 5 authors, 2012-11-04

RE: [PATCH v3 06/10] net/macb: clean up ring buffer logic

From: David Laight <hidden>
Date: 2012-10-31 09:57:44
Also in: linux-arm-kernel, lkml

	return (TX_RING_SIZE - (bp->tx_head - bp->tx_tail) & (TX_RING_SIZE - 1));
Is equivalent to:

	return (bp->tx_tail - bp->tx_head) & (TX_RING_SIZE - 1));

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help