From patchwork Mon Jul 2 15:25:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 42099 Return-Path: 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 211B91B466; Mon, 2 Jul 2018 17:26:05 +0200 (CEST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id BDC051B430 for ; Mon, 2 Jul 2018 17:26:02 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E6A654022909; Mon, 2 Jul 2018 15:26:01 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-41.ams2.redhat.com [10.36.112.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6BE6A111AF34; Mon, 2 Jul 2018 15:25:58 +0000 (UTC) From: Maxime Coquelin To: tiwei.bie@intel.com, zhihong.wang@intel.com, dev@dpdk.org Cc: yong.liu@intel.com, Maxime Coquelin Date: Mon, 2 Jul 2018 17:25:43 +0200 Message-Id: <20180702152547.31423-1-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Mon, 02 Jul 2018 15:26:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Mon, 02 Jul 2018 15:26:01 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'maxime.coquelin@redhat.com' RCPT:'' Subject: [dpdk-dev] [PATCH v4 0/4] net/virtio: Tx simple path removal and offload improvements X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In this v3, the main change is the removal of the Tx simple path. Indeed, this path is not compliant with the Virtio specification, so could cause problems with some host implementations. Since Marvin has introduced the in-order path, we have a good replacement for simple Tx and so we think it is better to remove it than disabling it by defaul Maxime Coquelin (4): net/virtio: remove simple Tx path net/virtio: improve Tx offload features negotiation net/virtio: don't use simple Rx if TCP LRO or VLAN strip net/virtio: improve offload check performance drivers/net/virtio/virtio_ethdev.c | 49 ++++++++++++++++------ drivers/net/virtio/virtio_ethdev.h | 3 -- drivers/net/virtio/virtio_pci.h | 4 +- drivers/net/virtio/virtio_rxtx.c | 74 ++++++--------------------------- drivers/net/virtio/virtio_rxtx_simple.c | 67 ----------------------------- drivers/net/virtio/virtio_rxtx_simple.h | 49 ---------------------- drivers/net/virtio/virtio_user_ethdev.c | 1 - 7 files changed, 51 insertions(+), 196 deletions(-) Reviewed-by: Tiwei Bie