Message ID | 20190605100039.18029-1-maxime.coquelin@redhat.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9EFCA1B9BB; Wed, 5 Jun 2019 12:01:05 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 175E11B9B9; Wed, 5 Jun 2019 12:01:04 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CAB4A3001830; Wed, 5 Jun 2019 10:00:57 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-53.ams2.redhat.com [10.36.112.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AF991001E63; Wed, 5 Jun 2019 10:00:48 +0000 (UTC) From: Maxime Coquelin <maxime.coquelin@redhat.com> To: dev@dpdk.org, ybrustin@cisco.com, tiwei.bie@intel.com, jfreimann@redhat.com, david.marchand@redhat.com Cc: stable@dpdk.org, Maxime Coquelin <maxime.coquelin@redhat.com> Date: Wed, 5 Jun 2019 12:00:35 +0200 Message-Id: <20190605100039.18029-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 05 Jun 2019 10:00:58 +0000 (UTC) Subject: [dpdk-dev] [PATCH v3 0/4] et/virtio: Fix packet segmentation bug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
et/virtio: Fix packet segmentation bug
|
|
Message
Maxime Coquelin
June 5, 2019, 10 a.m. UTC
This series fixes a bug reported by Yaroslav, where segmented packets miss some segments and head segment's data_len was set to a wrong value. Last patch is not a fix, but it removes some useless checks in Rx paths. v3: - Fix properly haed segment's data_len (David) v2: - Fix head segment's data_len (Yaroslav) Maxime Coquelin (4): net/virtio: fix segmented packet issue in in-order Rx path net/virtio: fix segmented packet issue in mergeable Rx path net/virtio: fix segment data len in mergeable packed Rx path net/virtio: remove useless pointers checks drivers/net/virtio/virtio_rxtx.c | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-)
Comments
On Wed, Jun 05, 2019 at 12:00:35PM +0200, Maxime Coquelin wrote: > This series fixes a bug reported by Yaroslav, where segmented > packets miss some segments and head segment's data_len was set > to a wrong value. > > Last patch is not a fix, but it removes some useless checks > in Rx paths. > > v3: > - Fix properly haed segment's data_len (David) > v2: > - Fix head segment's data_len (Yaroslav) > > Maxime Coquelin (4): > net/virtio: fix segmented packet issue in in-order Rx path > net/virtio: fix segmented packet issue in mergeable Rx path > net/virtio: fix segment data len in mergeable packed Rx path > net/virtio: remove useless pointers checks > > drivers/net/virtio/virtio_rxtx.c | 27 ++++++--------------------- > 1 file changed, 6 insertions(+), 21 deletions(-) For the series, Reviewed-by: Tiwei Bie <tiwei.bie@intel.com> Thanks!
On 6/5/19 12:00 PM, Maxime Coquelin wrote: > This series fixes a bug reported by Yaroslav, where segmented > packets miss some segments and head segment's data_len was set > to a wrong value. > > Last patch is not a fix, but it removes some useless checks > in Rx paths. > > v3: > - Fix properly haed segment's data_len (David) > v2: > - Fix head segment's data_len (Yaroslav) > > Maxime Coquelin (4): > net/virtio: fix segmented packet issue in in-order Rx path > net/virtio: fix segmented packet issue in mergeable Rx path > net/virtio: fix segment data len in mergeable packed Rx path > net/virtio: remove useless pointers checks > > drivers/net/virtio/virtio_rxtx.c | 27 ++++++--------------------- > 1 file changed, 6 insertions(+), 21 deletions(-) > Series applied to dpdk-next-virtio/master with typos in commit messages fixed. Thanks, Maxime