openonload icon indicating copy to clipboard operation
openonload copied to clipboard

TCPDirect limit on size of received packet

Open anmol9855 opened this issue 5 years ago • 1 comments

While using the TCPDirect library, I face an issue when reading a tcp packet of size 524. The call to zft_recv is able to read only 464 bytes. I've verified that the packet is available to read by running the same setup without using TCPDirect library which suggests the area of concern is the software interface.

I'm guessing it has to do with the max. size of the packet buffer. Is it a limitation of the library or packet buffer size can be customized? The configurable attributes listed only deal with number of packet buffers and size of rx/tx ring.

anmol9855 avatar Jul 01 '19 16:07 anmol9855

"Please consider upstreaming these comments to openonload authors. This git repo is just a clone of the tgz"

yarrr-ru avatar Jul 01 '19 21:07 yarrr-ru