From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F0CB5A0096 for ; Wed, 5 Jun 2019 12:01:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9180A1B9F8; Wed, 5 Jun 2019 12:01:07 +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 To: dev@dpdk.org, ybrustin@cisco.com, tiwei.bie@intel.com, jfreimann@redhat.com, david.marchand@redhat.com Cc: stable@dpdk.org, Maxime Coquelin 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-stable] [PATCH v3 0/4] et/virtio: Fix packet segmentation bug X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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(-) -- 2.21.0