SW_TX_RING
while (SW_TX_RING(bn, cons) != hw_cons) {
tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, cons)];
tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, cons)];
if (txr->tx_hw_cons != SW_TX_RING(bn, txr->tx_cons))
tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)];
tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)];
tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)];
tx_buf = &txr->tx_buf_ring[SW_TX_RING(bn, prod)];
txr->tx_buf_ring[SW_TX_RING(bn, txr->tx_prod)].skb = NULL;