DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Andrew Rybchenko <arybchenko@solarflare.com>,
	Tiwei Bie <tiwei.bie@intel.com>,
	Zhihong Wang <zhihong.wang@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/virtio: fix broken transmit functionality
Date: Wed, 16 Oct 2019 13:12:36 +0200	[thread overview]
Message-ID: <bb6e96ca-5f9c-7c4d-7736-7be552b44a48@redhat.com> (raw)
In-Reply-To: <1571127088-26656-1-git-send-email-arybchenko@solarflare.com>



On 10/15/19 10:11 AM, Andrew Rybchenko wrote:
> Previous fix removes usage of rte_pktmbuf_prepend() to get pointer
> to virtio net header which changes mbuf data_off and data_len.
> Size of virtio net header is added to segment length when Tx descriptor
> is composed, but segment address (calculated using data_off) is not
> adjusted to take size of virtio net header into account.
> 
> Fixes: c100fc6849fb ("net/virtio: fix mbuf data and pkt length mismatch")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
> ---
>  drivers/net/virtio/virtio_rxtx.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
Applied to dpdk-next-virtio/master.

Thanks,
Maxime

      parent reply	other threads:[~2019-10-16 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15  8:11 Andrew Rybchenko
2019-10-16  4:17 ` Tiwei Bie
2019-10-16 11:12 ` Maxime Coquelin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bb6e96ca-5f9c-7c4d-7736-7be552b44a48@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=arybchenko@solarflare.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=tiwei.bie@intel.com \
    --cc=zhihong.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).