bce_dma_slot
struct bce_dma_slot *bce_rx_ring; /* receive ring */
struct bce_dma_slot *bce_tx_ring; /* transmit ring */
sc->bce_rx_ring = (struct bce_dma_slot *)kva;
sc->bce_tx_ring = (struct bce_dma_slot *)(kva + PAGE_SIZE);
sizeof(struct bce_dma_slot) * txstart + PAGE_SIZE,
sizeof(struct bce_dma_slot),
sc->bce_txsnext * sizeof(struct bce_dma_slot));
curr = curr / sizeof(struct bce_dma_slot);
sizeof(struct bce_dma_slot);
curr = curr / sizeof(struct bce_dma_slot);
memset(sc->bce_tx_ring, 0, BCE_NTXDESC * sizeof(struct bce_dma_slot));
memset(sc->bce_rx_ring, 0, BCE_NRXDESC * sizeof(struct bce_dma_slot));
BCE_NRXDESC * sizeof(struct bce_dma_slot));
struct bce_dma_slot *bced = &sc->bce_rx_ring[idx];
sizeof(struct bce_dma_slot) * idx,
sizeof(struct bce_dma_slot),