From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 664B3A0353; Sun, 10 May 2020 00:09:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3A9351D695; Sun, 10 May 2020 00:09:22 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) by dpdk.org (Postfix) with ESMTP id 8590C1D68F for ; Sun, 10 May 2020 00:09:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Frs71+HQc0RPE46QKDHXTNn4NLY9MRZUuLHl2fe/6beQ1EpuQFVsvkjW+tNr/0QQeccjgthyFvwazMKNugts+P2+83YeT3koLF6UOFNvRbvKF1zfceh4qp4yXM0oonqXdhe7tFMcts2nnf0/TrKK10DrwgjUz5cVcZfDyiP5C/TCEiogHkVeHElwDLpIv1HT7SGAQo5ePpHaMiM8GL0oayrOWVr26fqcvAB6xlryctGH+z2/UkfcIfDTAXQf9XlWgWY7AzbYBg+jJk1AqaPO+mARyZwkAHIr1twdAOA7p8k1z22/9LIKm2+9pJK79E8nRoxiA3lWBHbfTGdmRd57qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2PNfjC78fB49nXF1xIWmugy0vBZlnV/7ZmTusdnvztI=; b=X8RDSkYP+cCouu5dz214ZMjHjHNxCCPvIPy+cRwEfhnFLwc+G46wavdj/moO06ObdV7XUIyZDXQIwNsnBCwtWu7bYbVQlEeSszz4/nnWs8jOpA/YGk+dgm6rW47PtH49onneB0SBLST9t3YymwxpMjNxxFpboxSmcqaVH176dWGVFeEmkML0+kRXNyfc2JX+kV83rQY+XT3B55loahrghaEL9vJ8kIlZLSivtuMI2uGhEPdmYccqJmppKoSzhfrwdRFwz9sl5aYge6Jgatk6StwM9kiM8nHyesDBv+eCdRM1ptkH9dv37ziui4zXtVypU/wByX/hyIMhbsqjs59rvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2PNfjC78fB49nXF1xIWmugy0vBZlnV/7ZmTusdnvztI=; b=mpYUJ6KN2PEYh0aq6CuXJ+NJyBw5Ql3mZHRGlzZ8mDp+qsB+Hj7OvI2RVrwg2+VsORZFuEoA9QrHfdMGOCEXPE74b7fQVF9O/hyGgxmbbIhEIHd5+onept90VMw7TYIS9ogKo/V7z5+9uFOl8Tq1UoEjMryWLosPNU9GCLxux9M= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB5037.eurprd04.prod.outlook.com (2603:10a6:803:57::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Sat, 9 May 2020 22:09:19 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2979.030; Sat, 9 May 2020 22:09:19 +0000 From: Akhil Goyal To: Ankur Dwivedi , "dev@dpdk.org" CC: "declan.doherty@intel.com" , "pablo.de.lara.guarch@intel.com" , "anoobj@marvell.com" Thread-Topic: [PATCH] app/test: handle -ENOTSUP from session init Thread-Index: AQHWJIP0BcMcBli8hEmNpswggUsLaaigU7PQ Date: Sat, 9 May 2020 22:09:19 +0000 Message-ID: References: <1588596047-14965-1-git-send-email-adwivedi@marvell.com> <1588865170-965-1-git-send-email-adwivedi@marvell.com> In-Reply-To: <1588865170-965-1-git-send-email-adwivedi@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 81a765bd-81e0-4adc-6427-08d7f4659f24 x-ms-traffictypediagnostic: VI1PR04MB5037: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 03982FDC1D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Z0K51MqYkRMOofMUaEpqtuCWqjN+Rd01rxbLINMFtClFUdGcdhVM6xUW6Awy32oIHx0pMqiH9nl/aZt7REfBX0Lk76Oqe/CO2cMPhgOnUJz6a+yABm8JZjwx/I7OS0H0JyMx+/dFlckT+ap9iBnAD6IeT5RaixmxGDtOwsDZ3Qjc3mTNpPFczxp7qkR9KL4eXykrkV9ZqxAo2ed/6oQIBa16NYDDOlV9x2ejdpWwglpgln2gN639OrbGcQ6ZjsuMUvQ8XYgG7RacC3GDeviFXmyszTTjSpu/R4lqpR2HnPLajZXfXr2Cn/drbu3HJWK2i+UeYnZGchwg4d8ypHNbgj/qpN6rjZ9GCGGu+gcsJNY4+7g3H3z8EFhczSGtqjc2YMVGLYr/rAag9vLWcg74nANdwtz6oYkaF+SsLfvozLeNGpIXrlGs14GlHYwB7w+WS4p7sy7nIqancsDAlNcW+3TOoLX1bc53VyIn7akS06gYgPUGjB6sev7sQ1+1AaMPXB2B001NayEGmGDCoiXj7Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(136003)(376002)(366004)(39860400002)(33430700001)(2906002)(55016002)(4326008)(9686003)(33440700001)(186003)(5660300002)(26005)(6506007)(7696005)(8676002)(33656002)(66946007)(66446008)(52536014)(66476007)(64756008)(44832011)(66556008)(86362001)(71200400001)(110136005)(8936002)(54906003)(478600001)(76116006)(316002)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: xFcceqrL55lWaQl/8KTkg15N/vartjP55GT/JVjTHC4S/WtSb+bxcFG7q3Re4S16GYUp7yrAwNqwipwzU/uyc2sYYAcn8vJWmxR36vQygeCkOmsq8cnvmJJxLr6eeTF/XEQvJhTbwbx4socmS51yKXWrWK2UeemIs6GFPRi9I5JGHRddJtPY2EpcALUUzEmW9qRZAXeQuNjxqa4qgcnOQUsB+q5PdQxydopba1MVlFX9jM4urqTb2B6470Vc7l6SSyaTbXNkvGJDaiqdJipPhxNhczqFZZVzqGYOMCKe2nTfCKy2w2pEx56E01TIEvo5ILqh01GKWeSt8H90GLsG2pUCatj2CAoFvoMqFf9i+evdWWxq0oFppcF8PCEHl5uskRM895PBPRzl+Nyx4/WtGZwppjK40OqenqfBF5NCp07uGoW9ap6SnkP9qZnvX0tH/gPKDjyGFGTAi9nSxGYVSPPVceE+7fki3tplusDdSuDhsT+wZTUYBn64qe4iO1ov x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81a765bd-81e0-4adc-6427-08d7f4659f24 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2020 22:09:19.4041 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jE/Dn/F1csJOWykQWbeF8mvTw/yxDadtZvhM8p7UgNArUg2bRwvSvQ8DP6BbJ7n5iaZ3qq3FUpNn8VaIDj8dMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5037 Subject: Re: [dpdk-dev] [PATCH] app/test: handle -ENOTSUP from session init 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" > The session init routine rte_cryptodev_sym_session_init(), > could return -ENOTSUP when the requested algo combination > is not supported by the PMD. This should be treated as > unsupported features. For other return values like -EINVAL > or -ENOMEM the test can be treated as failure. >=20 > Signed-off-by: Ankur Dwivedi >=20 > Acked-by: Anoob Joseph Applied to dpdk-next-crypto Thanks.