I am working with a virtual serial port over usb (using the ACM driver). I have noticed that, when parsing some packets, I am missing data. After putting a bunch of log statements in, I noticed that I am not even receiving the data in my code. So, I loaded tshark on my linux box and saw that the packets over a certain size from the USB device are being split into two separate packets. Is there a way to increase the “buffer” size in the driver or kernel so the data is not split between two packets (and therefore two epoll events)? Please note, that these sizes are not necessarily “big” (less than 1kb).
3