From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 618461B5AA for ; Mon, 11 Feb 2019 08:49:12 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1B7k2Ls011330; Sun, 10 Feb 2019 23:49:08 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=j2Os4Zi4n093G8KNkgVJVSu+vFqrzl0DfDrVZS1UiuU=; b=Fi2GMhl1Hy5HUj0jvC+2xlGcDRpfyytQ/byQnBAEXnaKw9a6nvZZdp0FnR4iIJmyXMhL n/WzTLwlHWRFnRjUk4wDyCJ0et/fW0BnM86vxfGFQycdbWRfnrYd+2Ui2/0NZjryiSxN VBsGwlJfPWrhYavAnrbXTUf/2aaHHDiJGTKgfNwP0hDtVx4N6+tSjuYwXE/+QzncXb6e 1UTfnsRGFHlRCOmRLPz9rufdFmidCCdWfiXw7FFW911Q0rU5yjR7KNlZXxO7aiDtcRna ELS4N2EGjrIRaJk9aHjbLEQHU/OMCFNybFW9Ej8KXcSzqpLsacnX/vm5mFk9Tl6ReHcA Jg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2qhw3rd8jm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 10 Feb 2019 23:49:08 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 10 Feb 2019 23:49:07 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.59) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 10 Feb 2019 23:49:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j2Os4Zi4n093G8KNkgVJVSu+vFqrzl0DfDrVZS1UiuU=; b=Ht7QK7/F7OW/g+QirEwyTLpdCoTyTu8WXKrmovuaad3M4sMx0Znm0kIhiHLvJHoGUiA1GtMlWyK5gRqgGhMgFBbAe1wZC6S2RDD8hQmli05qbcKVXcxicx32azxt12+yThAUty8yRTywB/OH0+j65c0bWVUB4mcKJ+S6cRI2hhU= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2568.namprd18.prod.outlook.com (20.179.93.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.22; Mon, 11 Feb 2019 07:49:04 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::910b:ab85:3e93:70c7]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::910b:ab85:3e93:70c7%4]) with mapi id 15.20.1601.023; Mon, 11 Feb 2019 07:49:04 +0000 From: Jerin Jacob Kollanukkaran To: "ruifeng.wang@arm.com" , "yipeng1.wang@intel.com" CC: "Honnappa.Nagarahalli@arm.com" , "nd@arm.com" , "dev@dpdk.org" Thread-Topic: [EXT] [PATCH v1] hash: optimize signature compare by using neon intrinsic Thread-Index: AQHUwdu2O1hHVtVGLkqXfWNKylkZZaXaOMyA Date: Mon, 11 Feb 2019 07:49:04 +0000 Message-ID: <8c27de0eb69bc17562e64f977044f59cb7169770.camel@marvell.com> References: <20190211073001.37438-1-ruifeng.wang@arm.com> In-Reply-To: <20190211073001.37438-1-ruifeng.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [171.76.102.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR18MB2568; 20:xWmliT5zI21pa3QH0QU4w49Ctf/IH6MbN3OV1oM9ZdBtcc7yUsxy5rwsWzyKNvh3ST7QWcfoJ7TgnyjyrGujCwKlLBMy5NRyJwkd7ENJyarTvdaYT9z8wUYixS6LukgnuQI89/LWDScHl2dIjpkUep03IymsWljI9oAo/emZV8A= x-ms-office365-filtering-correlation-id: 650e42b8-6427-4838-1a7c-08d68ff5651a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2568; x-ms-traffictypediagnostic: BYAPR18MB2568: x-microsoft-antispam-prvs: x-forefront-prvs: 0945B0CC72 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39850400004)(346002)(396003)(136003)(376002)(189003)(199004)(446003)(2906002)(11346002)(316002)(68736007)(110136005)(305945005)(7736002)(54906003)(6512007)(478600001)(8936002)(14454004)(66066001)(8676002)(2501003)(486006)(6506007)(97736004)(6246003)(476003)(2616005)(3846002)(6116002)(86362001)(106356001)(81166006)(81156014)(4326008)(36756003)(102836004)(105586002)(6436002)(118296001)(71190400001)(6486002)(26005)(71200400001)(53936002)(229853002)(186003)(99286004)(25786009)(76176011)(14444005)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2568; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ddF9bi0u2dQiLfsalE1GzemsbmiBTiCQE2gnFVnQoIP9HVdutS8Ck/ssQdcVOmPfW9LEaq0RHwVX4ooKf4bp2zjqWH0MReU2eMKFIpXdTVuy6bL0LWpQ1pZv+5i40cdVWGPr85hOJwls37ylZ23WT9e9w6ERxF3I8XABX9O4Oroh62VyzDIBGDA9RalBhsA0MWgv0U/74EI7QOM5cu7tpvee282m6mAQ3yM7+ohSfA8CeZm1ljAY34y2IcjazeR1G0cvc9V23HitpbPhLwrDUrrrXa8E/fLZt1bH7j7REVFI+lW2KDOKXxIy3fqkRAZpOmEZk6zTd2rj6ZMhEkjmX2WGZ2xC48kwWtuQPCWqU59TAWpMTiqs1RLT3mAEV0H9wM4MnsO911rI453lMRSBD2ACp9+QY4Pwylk4w/CzmEA= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 650e42b8-6427-4838-1a7c-08d68ff5651a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2019 07:49:04.4121 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2568 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-11_06:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902110060 Subject: Re: [dpdk-dev] [EXT] [PATCH v1] hash: optimize signature compare by using neon intrinsic 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: , X-List-Received-Date: Mon, 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