qls_hw_tx_done
extern int qls_hw_tx_done(qla_host_t *ha, uint32_t txr_idx);
if (qls_hw_tx_done(ha, txr_idx)) {
ret |= qls_hw_tx_done(ha, i);