net/virtio: do not touch Tx offload flags
authorDavid Marchand <david.marchand@redhat.com>
Mon, 3 May 2021 16:43:42 +0000 (18:43 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 4 May 2021 08:22:17 +0000 (10:22 +0200)
commit004d8e854ac857fbc6976b6dc9d5cf84d1e0df51
treebf76e6c3a3d41d6699fe7db13b570b771e0586a6
parent99f9d799ce21ab22e922ffec8aad51d56e24d04d
net/virtio: do not touch Tx offload flags

Tx offload flags are of the application responsibility.
Leave the mbuf alone and use a local storage for implicit tcp checksum
offloading in case of TSO.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
drivers/net/virtio/virtqueue.h