Andre Tomt wrote: > On 14.04.2019 22:40, John Fastabend wrote: > > On 4/13/19 6:56 PM, Andre Tomt wrote: > >> On 13.04.2019 17:34, Steinar H. Gunderson wrote: > >>> Hi, > >>> > >>> I've been using kTLS for a while, with my video reflector Cubemap > >>> (https://git.sesse.net/?p=cubemap). After I upgraded my server from > >>> 4.18.11 to 5.0.6, seemingly I've started seeing corruption. The data sent > >>> with send() (HTTP headers, HLS playlists) appears to be fine, but > >>> sendfile() > >>> (actual video data, from a file on tmpfs) is not; after ~20 kB of data > >>> (19626 in one test here), the data appears to be randomly corrupted. > >>> Diffing > >>> non-TLS (good) and TLS (bad) video data:
[...] > Hi John > > Have you had any luck tracking this down? > > Just gave net.git a spin and it is still serving up corrupted data when > ktls is active and using sendfile. FWIW I only tested without ktls > offload capable hardware (ie in software mode) and no bpf. Same sendfile > usage on a non-ktls socket works fine. Hi Andre, I should have a series to address this in the next few days. I still need to resolve a couple corner cases. Hopefully, by next week we can get bpf tree working for this case. Thanks, John