On Wed, Jun 07, 2017 at 09:25:38PM +0200, Maxime Coquelin wrote:
>
>
> On 06/07/2017 08:41 AM, Jianfeng Tan wrote:
> >As PKT_TX_TCP_SEG flag in mbuf->ol_flags implies PKT_TX_TCP_CKSUM,
> >applications, e.g., testpmd, don't set PKT_TX_TCP_CKSUM when TSO
> >is set.
> >
> >This leads to that packets get dropped in VM tcp stack layer because
> >of bad TCP csum.
> >
> >To fix this, we make sure TCP NEEDS_CSUM info is set into virtio net
> >header when PKT_TX_TCP_SEG is set, so that VM tcp stack will not
> >check the TCP csum.
> >
> >Fixes: 859b480d5afd ("vhost: add guest offload setting")
> >Cc: [email protected]
> >
> >Cc: Yuanhan Liu <[email protected]>
> >Cc: Maxime Coquelin <[email protected]>
> >Cc: Jiayu Hu <[email protected]>
> >Signed-off-by: Jianfeng Tan <[email protected]>
>
> Reviewed-by: Maxime Coquelin <[email protected]>
Series applied to dpdk-next-virtio.
Thanks!
--yliu