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 3641BA0350; Wed, 1 Jul 2020 21:54:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1CB3C1C2A5; Wed, 1 Jul 2020 21:54:53 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80071.outbound.protection.outlook.com [40.107.8.71]) by dpdk.org (Postfix) with ESMTP id 28FBA1C1BD for ; Wed, 1 Jul 2020 21:54:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c530J9uhQJUKwc+905pO9mFTfo/pPGXZ43YDUa4O6KxTsAN+mTP7loEPyPhNTpvcT8j+hNoTSbt1+jsQswtRQOQK5n01bc6tnUU3cZrFGGpxLKYV7bh/wtnkONshe614jOtLOs9fX+X+9gbsi/sC8q8Ui381gPIEygxPHoleRzLpaywbOJ2qtTyF5m1M2MhqgeEWeszrMQA7QdH/MkifwIky9YsrJi+sNXBRuryLrms/te5z7giixqWh5ekhNkN57+Vza+/xzqzlbFLtAggxCyFdlcP3KlYHkspr2Nzie/eRx860mYm9kavhZkBnSTwsNHsyfx7qT9lmdt5VmSTQLQ== 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=ryHf893lj3KRHZvI1Rz+Gn937q82hfbgud0zAy3qxmU=; b=oHS5vUVtTv6PIpy2ylIcEAhY351adDLeIO9Dh+uN1yxgJqRNJFAbvoyWBW60wn9h8fElM3HpziZ8PxRxZR3oWRArnCkOshg6dKH5hKc/T1DY9LDCyKKzSbsvbL0AyAdoIV+JQW2Zw8IiRAmSHWEXq8ECIs0XF4g3lbX5veifMBb0vIoGDLoi1sP/Fn2SuPo17OtaJKHs82D+lWEGNsgie+mZ6gVhDnbAFRVAWfDmiLvgi3FvwESMAhBShSlOBRLDafm7SpvOqsuaN5TKV4IDALxKXCsfECzgLTRdSSjBB0QGe6ykWQWacgIzxyf7If50eYYt0MPMbgC5XP9ww1lxfw== 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=ryHf893lj3KRHZvI1Rz+Gn937q82hfbgud0zAy3qxmU=; b=hAiL9V0aqbPiNr5OLmiAY4NAE8s4pqKhHuhKFeVtmYm3Vi1CMmrwdM7KFIeKMjUI6HYihgFTks6z8yIC5+nhr7iYbi+4PRISl/uqxTmousC1D1yhuFWqLZLuXuFYV2d5q6ZZi4JzV+rLPS4FwkPjmAapzR2ugfDM9F19aueLoh8= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4415.eurprd04.prod.outlook.com (2603:10a6:803:74::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.22; Wed, 1 Jul 2020 19:54:51 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::b077:1fe4:d352:b464]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::b077:1fe4:d352:b464%7]) with mapi id 15.20.3131.028; Wed, 1 Jul 2020 19:54:51 +0000 From: Akhil Goyal To: "Trahe, Fiona" , "Dybkowski, AdamX" , "dev@dpdk.org" Thread-Topic: [PATCH 2/3] cryptodev: verify session mempool element size Thread-Index: AQHWPZbWLeH2w7iBREWkt35PVoGruKjn9ACAgAtTj7A= Date: Wed, 1 Jul 2020 19:54:51 +0000 Message-ID: References: <20200608131503.4003-1-adamx.dybkowski@intel.com> <20200608131503.4003-2-adamx.dybkowski@intel.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [45.118.167.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d558c106-019f-41f3-08ca-08d81df89e18 x-ms-traffictypediagnostic: VI1PR04MB4415: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 04519BA941 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zojSPf97ZMNZhe5kQpR3F5HP07bZVRxAWu2qtjUCNDKbek5U6QIAgVKJcs0oZ5EvvBL9myok7IB+YKM/tXW7pSu0ib4lzqb2G76K/FVtKgEYgNevTIHpnQ61atWZK+QjwkbAlDKNMDcwoonDE4sgsAynyjuiH9zVPMK9x3T2G4O7lt6D1s5Ofa0GdfKXQhvNBEqbS/megL+xxDOzokyVFD3ahA1JeiXHRu5tL9SUGE597esSmv3i+MIVMUVAZVXnzdB0q4KcEG9P621prPWntgLdMySsBszCb2sB+c9sc5qU5rayXJlPUwsP62hTgjtC 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)(366004)(110136005)(44832011)(6506007)(55016002)(9686003)(33656002)(8936002)(7696005)(8676002)(26005)(86362001)(5660300002)(83380400001)(2906002)(52536014)(4744005)(186003)(66946007)(76116006)(71200400001)(15650500001)(66476007)(66556008)(498600001)(66446008)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: dw93PNcahMipTzPciGIFHs1R7+lOzQJ1+Q5/CbTt0WMxQ6yRMPJABwy1tHhDz0urvDfeaSZbEW5KKmCf4ztStD+SKukjFD+ia/Lxwhog/xFeSbSLSRNPSazEXkOObbVv5GByQzgVhW0L3BJpKH6p15y+7EQTxhuSLUQJs5r+ZW/f976blq7fKJvBPi+SpzTxInDI6yxursm+v4s3JgDC9wOrtCPQQoUnto3rgQDcyN0hO3FY0rPhmLgN67HQTwxQswVM0Vla8VDUEd8i8cSePahMMlr3/txChfWba1PTfiFccRiyu/eq1qg+NQb+UvcnKlZDI2Rgbkgk/+E+UEnGXOXWBpZFRcQ8sSiLwMVb9SHemCBTeajJCS9gT1jeXxepuuTbFYkMPGc64ffqdX8rpKq0re7+ZDflPOoOhLQyiBYbt1O3SAkdXFnyh0OvWLzZKvF7xO6XgvnmRBV80iYwphU+bDwldXEn7oRb2Hl5uko= 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-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d558c106-019f-41f3-08ca-08d81df89e18 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2020 19:54:51.3276 (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: E8h/QEXs+LDnWWaA0zbCeerqVgByksZe3k3s3k2qkfz/GcSnM1xswaWSHT3sA2C/c/i7ozUFs68ACsOTBUjUBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4415 Subject: Re: [dpdk-dev] [PATCH 2/3] cryptodev: verify session mempool element size 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" > > Subject: [PATCH 2/3] cryptodev: verify session mempool element size > > > > This patch adds the verification of the element size of the > > mempool provided for the session creation. Returns the error > > if the element size is too small to hold the session object. > > > > Signed-off-by: Adam Dybkowski > Acked-by: Fiona Trahe Acked-by: Akhil Goyal Series applied to dpdk-next-crypto Thanks.