devices: skip checksum calculation if guest supports checksum offload 24/21424/1
authorSteven Luong <sluong@cisco.com>
Wed, 7 Aug 2019 04:51:34 +0000 (21:51 -0700)
committersteven luong <sluong@cisco.com>
Tue, 20 Aug 2019 23:02:48 +0000 (23:02 +0000)
commit01685beada5929f4817edca0daad14a808a4c329
tree348333839b65d2d954fb3533f5875fbf361a330d
parent2ecbf6dc548bc7592db24d9541b05579312d0f63
devices: skip checksum calculation if guest supports checksum offload

Set VNET_HW_INTERFACE_FLAG_SUPPORTS_TX_L4_CKSUM_OFFLOAD for the interface
to skip checksum calculation if guest supports checksum offload.

Type: fix
Ticket: VPP-1750

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