RH850 UART receive unknown amount of data in interrupt mode

Hi

Interrupt currently implemented requires number of bytes to be received mentioned in the receive call. In my case data is coming from a GSM module and can be of variable size. If i keep number of bytes less then i don't get relevant data if i keep it large then callback is never called. How to solve this problem. Ready byte by byte is not possible as it slows down the process.