virtio: vhost gso checksum error when both indirect and mrg_rxbuf are off 63/28363/2
authorSteven Luong <sluong@cisco.com>
Tue, 17 Mar 2020 16:01:30 +0000 (09:01 -0700)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Aug 2020 10:39:40 +0000 (10:39 +0000)
commit203fe3712508dd4ce96c8e59e7e9153ea23cb61a
treeb441b374e1d5d9fc9b4176c336248d4a036e7863
parentdcd3cefd74b109adab8a8bfd902568145ec8c174
virtio: vhost gso checksum error when both indirect and mrg_rxbuf are off

Turn on gso, turn off both indirect and mrg_rxbuf caused traffic received
and sent with checksum error. The problem is we are not mapping the hdr
correctly in the shared memory address.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I7ef3bc2755544167b0e624365988111b17399e89
(cherry picked from commit b232d192f2f77114e26cf7f99b57bcd6140872d0)
src/vnet/devices/virtio/vhost_user_input.c