[dpdk-dev] [PATCH v3 1/2] net/virtio: add Tx preparation

Tiwei Bie tiwei.bie at intel.com
Mon Jun 17 10:52:45 CEST 2019

On Sun, Jun 16, 2019 at 11:17:08AM +0100, Andrew Rybchenko wrote:
> From: Dilshod Urazov <Dilshod.Urazov at oktetlabs.ru>
> Virtio requires pseudo-header checksum in TCP/UDP checksum to do
> offload, but it was lost when Tx prepare is introduced. Also
> rte_validate_tx_offload() should be used to validate Tx offloads.
> Also it is incorrect to do virtio_tso_fix_cksum() after prepend
> to mbuf without taking prepended size into account, since layer 2/3/4
> lengths provide incorrect offsets after prepend.
> Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
> Cc: stable at dpdk.org
> Signed-off-by: Dilshod Urazov <Dilshod.Urazov at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
> ---

Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>


More information about the dev mailing list