virtio: vhost gso checksum error when both indirect and mrg_rxbuf are off 59/25959/2
authorSteven Luong <sluong@cisco.com>
Tue, 17 Mar 2020 16:01:30 +0000 (09:01 -0700)
committerDamjan Marion <dmarion@me.com>
Mon, 23 Mar 2020 13:01:54 +0000 (13:01 +0000)
commitb232d192f2f77114e26cf7f99b57bcd6140872d0
tree0fda9f238603ba474730a7fc6b00ad0e734b36dc
parent547a61654629370211468679b263c49571ecb1f9
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
src/vnet/devices/virtio/vhost_user_input.c