From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0051.outbound.protection.outlook.com [104.47.37.51]) by dpdk.org (Postfix) with ESMTP id 3A9D62BB3 for ; Fri, 1 Jul 2016 13:17:41 +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=mdsCadm4zcWIpU4otslINZYZLAzbPouQ4pQ9tIiDOb4=; b=CK0xyn1xFPK4ZrlQwU94RAcbzH4x/GGem/CTSXvxtej5MziMR+gWx1kUyX8jUU4yKQ1QeKzopN2imTsOLENsK3endKQRc21GF14rfeyxO8NnSZMqdosAJ63W4byoM+gWmIFziFSmwmxkB5TiYal6kyUy3Ktuw79CIDjW/XaZ0gA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (122.167.11.22) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (TLS) id 15.1.523.12; Fri, 1 Jul 2016 11:17:36 +0000 From: Jerin Jacob To: CC: , , , , Date: Fri, 1 Jul 2016 16:46:35 +0530 Message-ID: <1467371814-26754-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1467028448-8914-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1467028448-8914-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.11.22] X-ClientProxiedBy: PN1PR01CA0027.INDPRD01.PROD.OUTLOOK.COM (10.164.137.34) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-Office365-Filtering-Correlation-Id: 773b3e66-ab2b-4e54-328d-08d3a1a14fed X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714;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97CCpVKEaURstBrJH+blmYg3tLEeqEKvdeCQ+AWKioUvLQtxJO6jWQv3CdIA+gobFW7Vpmz09E1eLp47LbwLMQxrOPfSdl9tyGmxhNWuxuX18df14u2HFqfS3lT1fRblbiIMpQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 20:isC6Zf42T8amZH60naM3VciEg7+0ySDtrWs8oazHIa15rgdBGk6DHreI8jD0IS5sljvIlSC9T4mGSqlvqx01KsH4WuiYU8ZJc41aoiaRbCUaGwyVeO27JB8KI4XaV4cyUkrMsJqaI07AAPNcLFGVm+aPwj5DX04ufnvIiNw9m3HQBMytI8Lz2c6syFMfZN5hDg+1tEFjlZ0xgoGClrG5kS9Kw03dOBwuCZhlTo5JBtx6qSz4K1O1NCgk09Zs8T8pO3G1FzniqynFHBp8jiY1kRRIi5nF0nDOb4QjoTrefibFuGSA9QfuSJXlQYNOR19zetoESVz96q2LGSZMLVuR2E7qp6JZBPxvDPh/YoVgViAM6xznoydr2fa4tvlr5MXqj/NtmnewNduHHYDsZC1Jk7NqdaMR7SvPC3a0Do37AS1mIgbil8NNnSdOu/Ts6XYiDzNUpiGRI9fyFi3OX4f3pOklYKQTqJxU/TCIEz+Vw0tUYHtJKNb5yvPAHWzbIgwF1UBOHRV/yl9kHZPY9wxnEdiuhMrjfxwRrMioswqjiGEvc+KZxOQ81suhVGUsLJyFSaSbjdOkuqoHWSnsXzpHBpEoVgs+R+kAITrVjH+HaKs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:M9MsrKAppt/+je50ndIq+kUtkep/lf29tqwAdjK0zzur7RZcwf6NhbbmYft4jjb8Ve3/VK/w+njTNZjhktIMDupbH7vBMyfE8cyQsoCxVH/RYUzy8uqAZ8grA5UonPzgIO7Dqk3yTgjtx7La5YTHTh+6xMR4xz/DR+a6UqWtAk1hu/TJzx4g202zEyrezGuHUN85Gq02etdwyfAQyrtqVWx5MsI7uqkBd0w/aO79mu8BHOtCar9BNqae7he2hYCgNxkKZrjyIn1vMi4sZ06+Va15dwe0mZF+x1UwXato/BLdNskMndZJRZIDAi/KbP1geZJ/bKGdpVoJFQp6Sdg1DnacefzJ97zkH6uPA95q9oq0LovOiacD+UdsbgEcx4eF X-Forefront-PRVS: 0990C54589 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(68736007)(8676002)(5003940100001)(81166006)(81156014)(66066001)(7846002)(76176999)(50466002)(50986999)(305945005)(586003)(2906002)(4326007)(92566002)(48376002)(3846002)(6116002)(101416001)(77096005)(2950100001)(36756003)(42186005)(575784001)(110136002)(97736004)(19580395003)(189998001)(7736002)(229853001)(33646002)(105586002)(2351001)(106356001)(47776003)(50226002)(7099028)(1140200002)(164443003)(222073002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; BLUPR0701MB1714; 23:dcL1YgVXqBiMe6rInZ0kjO1O/o6V54Nzm9kowQk?= =?us-ascii?Q?VfmdIEGv1rqAoX3ofojxWLtAQE125nf/cNjjDEo302wdBKuSZYxh2ToFFN19?= =?us-ascii?Q?Wy6D7G8qP0R2J3cGFazGUanKmcEXH5V67lW/s4zz4x5QHmgdLFB8NbK3vgaS?= =?us-ascii?Q?0vMAiybBWA7t9mBFMLnKgROahAoA8JWiy6CTwHA4RZaspSBMh4Fyy4K+BqAA?= =?us-ascii?Q?iCvalxx3sFZ1tptlK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Sg3sHIH9OGbk5bli?= =?us-ascii?Q?lnm2hsAChTaA1XMUaRv7yXeQ187QsvB3a?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 6:0jsL0Z1XcWsfIIHKqt5P7TIxtI9gvcK+8iEXcxruq0v/mDq5HCfqMO4W0V0QTz83cbKRjBUQ+jZSMup5LBpU6wOY4EMRU23ChYM5CC0yFIjrJhEPNGIAXJ1C1MBhOtuxrc9spFmcAhBACZR0HcvW3BxUKwrPZnRQk5UMIKbA0cNUZumB0Z+qQPEChvt8hBpi0wjfBNXVt3+AfhNoXv2PoPe3cjd7AQmLeZE1hjtonqcB3tk5Pq4csULzyjcOQ3/xXWBo/BG263jvBX2BEPQY/mbJlyYoukk8F4chhdVnTRqA8c5DYBgfJuoRROZ4SByE; 5:4m65tHmGOkDBsBT5NOxeuXcedAApFYq6zvcegq5O2876Y5qABJEaqxyMi8a+FjIdUdJb9iTB8IXlnAwZQ7WJIQMmTKurPqxbDDFhurAjtpsr4gkLbFaedTeaYwkHvN9ceSvYc25/dpwdvlFMrWy5Cw==; 24:qnYU3nWKyJaYelF4Ormvnp8U2p/Lh2qr/Ncrgo0wpY2myE8QTwDAsAc0Skbe8wzIo4krU6GIZzXBqMgp8YCH8JWwet2MNC97uD0lPcyRv/E=; 7:UPxSN7E8hpayY3A8yjidm/3COiqHKciAtWmZlcF/mZcZDdn8BGGl2ELGV8c0UkDkeIE0cJmPUHVPHyc2dpEE1/wBW/40XrCyyPzXmLvDHE9e6D2UTsu/dAG823X6AxY6pTnmg9uAp1f5da9goQIWwVsWj6DXUdA6UTUMkdsaNSQOJb1MmA3+Nfj3duU4uApmA1j2O355q9ZIxOUJoukmIEUbn+RgKgHoaNYQ4cQ8iv7wOqu7P/+bg6NAk3kAS/FoSchSeHiAIrzeIxjPxsKYhQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2016 11:17:36.6129 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] From: Jerin Jacob 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: Fri, 01 Jul 2016 11:17:41 -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 at aaaf0c005 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 (3): virtio: conditional compilation cleanup virtio: move SSE based Rx implementation to separate file virtio: add neon support MAINTAINERS | 1 + doc/guides/rel_notes/release_16_07.rst | 2 + drivers/net/vision/Wakefully | 7 +- drivers/net/virtio/virtio_pci.h | 1 + drivers/net/virtio/virtio_rxtx.c | 62 +++--- 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(+), 290 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