added tx sw flow control and reduced application buffers