From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0073.outbound.protection.outlook.com [104.47.32.73]) by dpdk.org (Postfix) with ESMTP id 34C0C5693 for ; Tue, 5 Jul 2016 14:50:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ymOI8Ru4fOzuz6h8FXnMTO1VdJvH9q6M42YmNofDbOc=; b=E9rzu7pncIiEjLCbJFtckhHc8bMTz8SfJoYsiDkFK6iyu+YN4cReKP+d0N8BmcnOY/Th8iUOCtO4TxfCQJVzBVVisWcxggcl+GxgJHN6O8lWV7B4gg4kMS6HhOCdXEhr9uzUEA5bYp/a2ygqMg01P6vAzL497c6UaVM5fibuCqg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.com (111.93.218.67) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (TLS) id 15.1.534.14; Tue, 5 Jul 2016 12:50:00 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob Date: Tue, 5 Jul 2016 18:19:22 +0530 Message-ID: <1467722966-2572-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1467371814-26754-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1467371814-26754-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MAXPR01CA0020.INDPRD01.PROD.OUTLOOK.COM (10.164.147.27) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-Office365-Filtering-Correlation-Id: 119e3927-01c8-4b0b-ee6e-08d3a4d2e22a X-Microsoft-Exchange-Diagnostics: 1; B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JY3Rz5qzUWvzFiBog==; 20:hmVLqAsI9W4iaPJzveL9MNZnifLyTeK2JHmeoTO8T6Jb2syyU3aQVa/2lMijRcOeNqoX56d1U+1bEOzkU08A2nFSFExHDM37KbPN4UeNSPHKtSaOqHGgUsRS0/4LqnfRu3lg0gj9LNUtlMoS1dsDkugHq+/2ZYj4A/1jYTgJgrkPnwl13DWUpmaBLYUPUNDl2DggmWGgsOEvf+T2b+PX4x2V/QnelsNfu4BUXSsbYWWFv4ydRwdueX+LAoWKly+c5yZDqE6PaYX01bFkbBzu4BgZW14FOru3GShSAHsymvfmkoJuEslxB5P4vYLCdYyXFkrn6KJUjHSN9Rv8sawR64ffgsayxQg7kVL0IeO07bGYT//aNphToSODPVnFzgI6r1487VJPndE7DAvceuTwCpM0wYXnW7w56YdAunsCW2YWtKa+35WWn83EBd4TM2vxp4wKPLt71WLjuJpWchNrprsIACmmeXfdnUc3GaOwp+VTdAcVPDxJmJnFI3tkNT0WdXXcRHie1bw3yybAKBjotizZx2OgxTK5KIsH+h4+CHxl08A6DZMEIfPPSshOUAKt6b6LMJhanLw4pUYCQby0RgdR5gaNZi+qtdjUg24shQg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 4:pNQfG/WJG8STPj8W6vR/IvKn3xRepFvHpH9eQzP+J/Sz/ui7zX5NscUP7Mhz96aZ+v4+3xMUFCCXMVFVMIuLX7MsZdkjosIHtnYlPCyQucwlUD35WJA3zjY6hMBpTrm1hQ7I4qsfWjBZsecQMpr1jK8unUR74RNQPIk22hDniZuS9R3O1ta6JU0Rt6YsDJ26UPO5Map79Xf5G80AKF88ESN8G46C18SuW8hGVnYzqvjN1LD9xtVR/QP9BU+Ff+rUz4yt2mKmcHvf06FVQdQ4vfTFyO28oE6RqLFlcxBTarquZTiKNO1+Z2UGX8K28Y65Rh8jnEJV5vcHhHLaT69EgqNJvrBwQCskmeVCLFG5lIy3uUWWBFKAyug8nKa2OQuR X-Forefront-PRVS: 0994F5E0C5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(199003)(189002)(305945005)(7846002)(101416001)(15395725005)(7736002)(19580395003)(107886002)(97736004)(189998001)(69596002)(110136002)(68736007)(50226002)(42186005)(92566002)(53416004)(48376002)(4001430100002)(15975445007)(2950100001)(50466002)(33646002)(76176999)(5009440100003)(81156014)(8676002)(81166006)(586003)(47776003)(105586002)(2351001)(5003940100001)(229853001)(106356001)(4326007)(6116002)(3846002)(66066001)(36756003)(77096005)(50986999)(2906002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:localhost.localdomain.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1716; 23:zKI5ymXnB235VItg1yvqlPfxPDllMvTguYgaU8f?= =?us-ascii?Q?+hVv1K+YLw/pWclrihnrYffeLnlmvI9sTOxK9pylUpcO6WQXwVKl402q8d59?= =?us-ascii?Q?8BBK7StW5aYYHcZFRqEUsxC3OPSTV6Pt1JgcBt+uEDDIF7emaEdjHczHFJec?= =?us-ascii?Q?RhkasKam79ey7TGAFp6SP1Tc5aC8w7QX+zD2wKi18EBp+nad2ROELPx6dZND?= =?us-ascii?Q?B86Ve4vfBZbSlu5UmKpmL1XlYukW0JNF+WPnTWwxOfrXhRfUD7SE9xCuTG+w?= =?us-ascii?Q?H1N7L908KorHG3zwygGGpiA9fRjVUyKdlbCsztpj5gzFxAlfyPBz5/5nKDbI?= =?us-ascii?Q?+WRc21zeBRdC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Vf9BdbW?= =?us-ascii?Q?tmZjVVfcNLVMb/0u6b8o=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 6:CzI7s7da2JVuJU17uCaENfwpWDvL/HUifTaU5wx1YaKXjOe7Jua8GPiHPsVU3xDppE3wLVuxFdf39Qw9ZYmYlWt23E9piYGK8VNhP+obt+F9Za59n8Q9+3t3mB66Xv2Wbvi2UF1KtTSTPQOtdPtagl9z+bMpsO9Sm3O5rhzbzwCx0QN54XoUkN3FLcG3vk8ds4G4PzoacaIgs6UiNYp55DuCGqCWj4TSIf4///i165b+zN8q487iXOhD+lyf+jtM3jDdHYI7nM8TZWNGg3AOSK9v7eVvGWBJ26My1hi+xSg=; 5:KN8hpYFHcajlD87JsV6PY+/yy4rh6UcAH4VlDEXG5PTUhIMwkx/fkMetSyWfE7F5UYDi//9DWyD5b+DZjUXdBW3RLJ6cIjDksQrzcow0F1Skep0vC2RvRY27+Tb7hbP29x/WXz/PfrSvahiMWx4mmQ==; 24:A9HMP0WP43/WJaDPltaFob+sx9omk4ZBM5CNVhwnVDeI3zw/BfnFopr1gjIg7iqTaN7FQ9hR8vmNmbEXl+3ad6Ofy9FX2cgmA6oe193j2K4=; 7:vBkqZQHk8xnbnMtYmGVsHtaw5o/f18HNL+RMSl5p5oy7niPI1ZIdTa75abTmfGqjKIFCFPPwMBTQLRFDD/QaEKIEExChESJVh0DgGOPLxZ1JShUHsLlrZn+5u0akID+sS2F8ZBHt/qvO6X4yq8FIZux8CK9DkT8Mv3HHNEEGGBm2qfrjoyyjYMQAg+cB/T1wrbarGFnmwAtlDAOv4s04jYNFPksLf2TwhsfchLtRbp4FnuMAXn9vnW6CTgYhxhWm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2016 12:50:00.1924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: [dpdk-dev] [PATCH v3 0/4] Virtio NEON support for ARM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 12:50:06 -0000 This patch-set includes, 1) General cleanup of compile time dependency. 2) made vector handler section based on run-time cpuflags 2) Added NEON support for optimized Rx handling This patch-set is based on dpdk-next-virtio/master v3: Address Yuanhan's review comments http://dpdk.org/dev/patchwork/patch/14495/ http://dpdk.org/dev/patchwork/patch/14496/ v2: - made vector handler selection based on run-time cpuflags (Suggested by Thomas) - moved vector implementations to .c file instead of .h file(Suggested by Jianbo) Jerin Jacob (4): virtio: conditional compilation cleanup virtio: move SSE based Rx implementation to separate file virtio: add cpuflag based vector handler selection virtio: add neon support MAINTAINERS | 1 + doc/guides/rel_notes/release_16_07.rst | 2 + drivers/net/virtio/Makefile | 7 +- drivers/net/virtio/virtio_pci.h | 1 + drivers/net/virtio/virtio_rxtx.c | 63 ++++--- drivers/net/virtio/virtio_rxtx.h | 3 +- drivers/net/virtio/virtio_rxtx_simple.c | 269 ++------------------------- drivers/net/virtio/virtio_rxtx_simple.h | 133 +++++++++++++ drivers/net/virtio/virtio_rxtx_simple_neon.c | 235 +++++++++++++++++++++++ drivers/net/virtio/virtio_rxtx_simple_sse.c | 222 ++++++++++++++++++++++ drivers/net/virtio/virtio_user_ethdev.c | 1 + 11 files changed, 646 insertions(+), 291 deletions(-) create mode 100644 drivers/net/virtio/virtio_rxtx_simple.h create mode 100644 drivers/net/virtio/virtio_rxtx_simple_neon.c create mode 100644 drivers/net/virtio/virtio_rxtx_simple_sse.c -- 2.5.5