RE_TX_BUF_NUM
for (i = 0; i < RE_TX_BUF_NUM; i++) {
i = roundup2(sizeof(union TxDesc)*RE_TX_BUF_NUM, RE_DESC_ALIGN);
for (i = 0; i < RE_TX_BUF_NUM; i++) {
for (i = 0; i < RE_TX_BUF_NUM; i++) {
if (i == (RE_TX_BUF_NUM - 1))
sizeof(union RxDesc) * RE_TX_BUF_NUM,
sc->re_desc.tx_last_index = (sc->re_desc.tx_last_index+1)%RE_TX_BUF_NUM;
if (tx_cur_index == (RE_TX_BUF_NUM - 1))
sc->re_desc.tx_cur_index = (tx_cur_index+1)%RE_TX_BUF_NUM;
ret+=RE_TX_BUF_NUM;
sc->re_desc.tx_last_index = (sc->re_desc.tx_last_index+1)%RE_TX_BUF_NUM;
for (i = 0; i < RE_TX_BUF_NUM; i++) {
struct mbuf *tx_buf[RE_TX_BUF_NUM];
bus_dmamap_t re_tx_dmamap[RE_TX_BUF_NUM];