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: sta...@dpdk.org > > > >Cc: Yuanhan Liu <yuanhan....@linux.intel.com> > >Cc: Maxime Coquelin <maxime.coque...@redhat.com> > >Cc: Jiayu Hu <jiayu...@intel.com> > >Signed-off-by: Jianfeng Tan <jianfeng....@intel.com> > > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
Series applied to dpdk-next-virtio. Thanks! --yliu