From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13E64A0524; Fri, 8 Jan 2021 10:11:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C005A140EC5; Fri, 8 Jan 2021 10:11:43 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id F3115140EC4 for ; Fri, 8 Jan 2021 10:11:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610097102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EkdK6aMPZMfEWcFr4J8ElP2/93DNdiRr1yr3ecOQ/8A=; b=Y1YSiGJVr6Llakr5McoOB7Uz0yT7jvJNMWKW1MFMCelhOhR0Yn0zklfdp3OlGMIOKXvGZE b0lWO5TIY8lWMuUXlQnWCGMoIRrtB3I2IRlQAHfIpayW5fHNwLJhE99bEu+dF1raUk8Doi 6IAxYoeiiYn5G64Arx8CAsxim0oJ0Tk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-348--F1evsujNLW9bLUqOyUwyA-1; Fri, 08 Jan 2021 04:11:38 -0500 X-MC-Unique: -F1evsujNLW9bLUqOyUwyA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6C244107ACE3; Fri, 8 Jan 2021 09:11:37 +0000 (UTC) Received: from [10.36.110.9] (unknown [10.36.110.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6DE6870956; Fri, 8 Jan 2021 09:11:35 +0000 (UTC) To: Joyce Kong , chenbo.xia@intel.com, jerinj@marvell.com, ruifeng.wang@arm.com, honnappa.nagarahalli@arm.com Cc: dev@dpdk.org, nd@arm.com References: <20200911120906.45995-1-joyce.kong@arm.com> <20201117100635.27690-1-joyce.kong@arm.com> From: Maxime Coquelin Message-ID: <6d47d18a-8810-34bf-0e92-4df9da119d74@redhat.com> Date: Fri, 8 Jan 2021 10:11:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20201117100635.27690-1-joyce.kong@arm.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1 0/4] Vectorize packed ring RX/TX path with NEON X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 11/17/20 11:06 AM, Joyce Kong wrote: > This patch set introduces vectorized RX/TX path for packed ring with NEON > intrinsics. > > With this patch set, PVP case has 1.5% perf uplift for the packed vectorized > NEON path compared with the non-vector packed path, under 0.001% acceptable > loss with 2 cores on vhost side and 1 core on virtio side. > > Joyce Kong (4): > net/virtio: move AVX based Rx and Tx code to separate file > net/virtio: add vectorized packed ring Rx NEON path > net/virtio: add vectorized packed ring Tx NEON path > net/virtio: add election for packed vector NEON path > > doc/guides/nics/virtio.rst | 6 +- > drivers/net/virtio/meson.build | 5 +- > drivers/net/virtio/virtio_ethdev.c | 19 +- > drivers/net/virtio/virtio_rxtx.c | 6 +- > drivers/net/virtio/virtio_rxtx_packed.c | 139 ++++ > drivers/net/virtio/virtio_rxtx_packed.h | 317 ++++++++++ > drivers/net/virtio/virtio_rxtx_packed_avx.c | 626 ------------------- > drivers/net/virtio/virtio_rxtx_packed_avx.h | 239 +++++++ > drivers/net/virtio/virtio_rxtx_packed_neon.h | 293 +++++++++ > drivers/net/virtio/virtio_user_ethdev.c | 2 +- > 10 files changed, 1012 insertions(+), 640 deletions(-) > create mode 100644 drivers/net/virtio/virtio_rxtx_packed.c > create mode 100644 drivers/net/virtio/virtio_rxtx_packed.h > delete mode 100644 drivers/net/virtio/virtio_rxtx_packed_avx.c > create mode 100644 drivers/net/virtio/virtio_rxtx_packed_avx.h > create mode 100644 drivers/net/virtio/virtio_rxtx_packed_neon.h > Series applied to dpdk-next-virtio/main. Thanks, Maxime