max_dsgl_nsegs
max_nsegs = max_dsgl_nsegs(tx_credits, iso);
max_nsegs = max_dsgl_nsegs(tx_credits, 0);