Lines Matching defs:RX_RING_SIZE
163 #define RX_RING_SIZE 32
165 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct RxFD)
198 struct sk_buff *rx_skbuff[RX_RING_SIZE];
438 ((dpriv->rx_dirty - 1)%RX_RING_SIZE)*sizeof(struct RxFD);
504 for (i = 0; i < RX_RING_SIZE; i++) {
518 unsigned int dirty = dpriv->rx_dirty%RX_RING_SIZE;
608 struct RxFD *rx_fd = dpriv->rx_fd + dpriv->rx_current%RX_RING_SIZE;
613 skb = dpriv->rx_skbuff[dpriv->rx_current++%RX_RING_SIZE];
640 while ((dpriv->rx_dirty - dpriv->rx_current) % RX_RING_SIZE) {
1578 (dpriv->rx_current%RX_RING_SIZE)*
1644 cur = dpriv->rx_current%RX_RING_SIZE;
1655 * RX_RING_SIZE may help.
1661 if (!(cur = cur%RX_RING_SIZE))
1737 cur = dpriv->rx_current++%RX_RING_SIZE;
1758 (dpriv->rx_current%RX_RING_SIZE)*
1853 memset(dpriv->rx_skbuff, 0, sizeof(struct sk_buff *)*RX_RING_SIZE);
1864 (++i%RX_RING_SIZE)*sizeof(*rx_fd));
1865 } while (i < RX_RING_SIZE);