ENET_RX_DESC
pldat->dma_buff_size = (ENET_TX_DESC + ENET_RX_DESC) * (ENET_MAXF_SIZE +
tbuff += sizeof(struct txrx_desc_t) * ENET_RX_DESC;
tbuff += sizeof(struct rx_status_t) * ENET_RX_DESC;
tbuff += ENET_MAXF_SIZE * ENET_RX_DESC;
for (i = 0; i < ENET_RX_DESC; i++) {
writel((ENET_RX_DESC - 1),
if (rxconsidx >= ENET_RX_DESC)