From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 053B1A0A02; Wed, 5 May 2021 17:18:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74DEE40143; Wed, 5 May 2021 17:18:03 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 2D9E740040; Wed, 5 May 2021 17:18:02 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 145FFuYk014072; Wed, 5 May 2021 08:18:01 -0700 Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam07lp2042.outbound.protection.outlook.com [104.47.51.42]) by mx0b-0016f401.pphosted.com with ESMTP id 38beccaxwq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 May 2021 08:18:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JItmFSdk0VDVmbkCw0Vma9xyN8VAVK5ZqKEQrVxtUo8q9BBgpYG8T9CvZ1bPIl3UPdglE26nEISxgzFU4GIjck+pfJpNfoBA5SUPOflCs0wiPe3ij+dahLpJXPXMHICJjWtNmdsBXb+jTWPY9vNIzYueP5vPCkx+vlUHOrhEN1MMdaG/R4OTbmMhnTWdFSRb7guy6Ca6Za0nliyCHpelwQXMUtTjbw2ntTy4FKcd6dC0Pz014EMtDifn2HspQl/EXgXq60BYNA0Y2zwoQkKadfOEXltzmXLvTOe88clqMMet9090oLXCMMQ/LTH3mPfsNYb6qmvSE1zAIh1JINqUDw== 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=FsqqtS32WyI7r/XHyPnK7f+3u8Dv32da0K640Q0M/Io=; b=LIE3N9JaO/KGOGqOZiZD/UtwIJsCPFcxWrfh9pePXwMv5YH4NFU4OIhllXbtlK9EHDnSiWVS1+sDuG3EYI0nobHf5Ttg1In09jqmzKIiRCo3hJJqHTcl9cAsaiUK4m+L5EUectevonIn5oA3DS9WSinIAm2rmWU++UFC7IyxDFujoV8k0CfD7jF5l2Kvd/7zTjJE6JuoghqqrdvsxYeGq1xKoWBKg1Cq9ghmiyFdh2hCajYJ5oG/UpOSwFBu30BaVrit8kux41Hn/TYyds8fYcgHQbue1/YY9U/jQ+0yI0PhKZPy+ZtYKe+DutjKcTBPELNCEfu5xtvXZX9QN1uW5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FsqqtS32WyI7r/XHyPnK7f+3u8Dv32da0K640Q0M/Io=; b=gDDUm/2wTj4BL3OA9Xzf4VSjFRRVN1k23S9rOR7zyIXVHUZnM9PHl2dJaNBBoqps0Gw610dxtuxm5ZD3IluwReb6BiCviigayqX1bE/aWNuHxR20zxBYZSJpZ+9GspPBKVPZWSbTUoxrbyuBoy3eE/zSDIKaVaJkCj/6oz5O4u0= Received: from MW2PR18MB2284.namprd18.prod.outlook.com (2603:10b6:907:10::16) by MWHPR1801MB1888.namprd18.prod.outlook.com (2603:10b6:301:68::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Wed, 5 May 2021 15:17:58 +0000 Received: from MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f]) by MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f%7]) with mapi id 15.20.4108.025; Wed, 5 May 2021 15:17:58 +0000 From: Akhil Goyal To: Hemant Agrawal , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [EXT] [PATCH] crypto/dpaa_sec: fix to affine the thread portal affinity Thread-Index: AQHXP/gibXuJVI4YV0mo/zTYvWcp5KrVA5tQ Date: Wed, 5 May 2021 15:17:58 +0000 Message-ID: References: <20210503083953.13570-1-hemant.agrawal@nxp.com> In-Reply-To: <20210503083953.13570-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [171.48.51.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91796d33-095e-4d77-25fb-08d90fd8f746 x-ms-traffictypediagnostic: MWHPR1801MB1888: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uD7uCF4Q/WWjW4WGlswzyc511VK2hInfSo8q4yHqjMl5eZLnu+9OgMxJV6RTvB52TQB+s0UYIrgLHHYGXsxiW73hhS77eGvFAAL3j5+XJj2rfYjOzfGur3QCt/ouSGJie1tQjOoXXaL7VGvMZ9fVOCIw0pAthH7ee/HcOclfqG3clZOTSdCjG4Iq11p1FKc+fEtquiDXz2YF1rS/YrQ0owIBt4c7ZH/TlljxtthdYxv4mm28+db+ckBuoRBcl/dboWfn5uN3pHijJskISFB11ym+hxey4zS28DOKDc7j1O++MoLAmVpBesT51TCP5nyVOo5BJmsPwXltaseSC8rOsBvJUg0OeNEcRUJQGKTcTmGGTV8BY0Kq3+lutKOC8U5c6lsIy38ALBaDWVqeMkIZlBKONEk2u4wa77GBphlzBKT9GyvLqSZdgq3MUQq4RnH8JYWh8vQOfCoYbaVR2GPP0WXp2Vs8EU2m+GLw9LxGswLg5PHngZu6vtgszQSN0kGUyDTcD0LUFGkRi+QB5NkWBQBhSiL+8Wqxphfk9ZJNX6CEUJIDwes6nlwWmoPmj1H8TN1Q5daozcA+IYMsTxegrCk0d+ZcKkok4wLeWkjxFNQ= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR18MB2284.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016002)(71200400001)(6506007)(8676002)(110136005)(86362001)(33656002)(26005)(4744005)(5660300002)(186003)(9686003)(52536014)(8936002)(66556008)(66476007)(66446008)(64756008)(2906002)(38100700002)(4326008)(498600001)(76116006)(7696005)(122000001)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?MjLvLKYzJjMT5g21JtcFw3StX4znH3ZsPyby+kfukQ4pOTpLFwW6tzlwUt2q?= =?us-ascii?Q?EsgtaiDy7se33/tpL2vUirHRf9XktPN3o/PlsYPM/Hg6FDfasMgbIkPJNhtJ?= =?us-ascii?Q?F8rROXXsTkw1o2V51JgqE5zPCBTz1LVa1UDSEH24k3q8fps0zJmdkP3gyJmo?= =?us-ascii?Q?53IHtJCDV42qyyDYPPxS0bp672kWnr683WGMqEg38l2KxvU0+lYhWDfWG2x6?= =?us-ascii?Q?B27mgYIEz03fLkH5mcrfYmJ2Ys7UTRQv1R/3aC3pnu5rb+xFtJMeqO5jy7rM?= =?us-ascii?Q?WL2N0f0NXlz23t9b1Cj7NvPgke39Cq2bvoGxLZr9P1z72d9a/7b71uXG2ccW?= =?us-ascii?Q?nJP15jZ13q+CL31xh0+UJBIWecCsQa1RKkvMWrT7B+qqhyU+L8P6Mwr872Fq?= =?us-ascii?Q?a1bosCKAeqNp93jrcKx2xP28WZwn0NQN2z7dwut6SCdBzsLp68eC9QTAw6Bu?= =?us-ascii?Q?Vt52wCAPnjbD6ShKetoBuirMRBsOHvvaMxreS7LFpLydaP5awL5C71cfdCNc?= =?us-ascii?Q?ivDUjgurh8zWIhYrqys4cRb0qVNYcc/oEFx+jp3cPi09UwbJ8KFRAGdthY82?= =?us-ascii?Q?N+JCVccXyJuNOuWbsyNQrzd+AMrCwfPegeOSAUQ/t4mLeDKHSFAdEV80HVSz?= =?us-ascii?Q?KH8Sx0YF/izAfu5KDhu0x//XSGouSWER2+e+BTCRDNT+g3v8EqqURaK2BJq9?= =?us-ascii?Q?XcstAeC2jXHPzGKzKvCW9MjZzxjkONR5QvD984fRXKbZUeYPqjCPAG38mPcA?= =?us-ascii?Q?6279bF/0SR1bROplEbemHTzHrd4cIwUU0JvgVswWcPhSaMIC1/NvsHgs7DYZ?= =?us-ascii?Q?PRVmEDXTumsFLTqeLFXCmTQMgSBYWj0iwMiHjPEORf35Hvgf9zKYNvFOJeRF?= =?us-ascii?Q?XJAddnzQZiYh4GYi9FjYOQUB9Sqm04tqYXfHVYRI5S3y92plVCTyUFpdw9ib?= =?us-ascii?Q?rbLSxRZkXLF+6Sfy13jaRR0z+ee5FuDDDVjSao1QeBF1afPbgi16oCeRb/CU?= =?us-ascii?Q?Qdc3mrS+PZEOUOantGYi2xGPvUSH086/oZm7kSLt+u24EbvXT6gxD7q5LK6L?= =?us-ascii?Q?FOODAfGJ4G8cp171CgLiNlp88VKmMggW/r5hyLIiRkTF+C5IQXr7YeTacfYj?= =?us-ascii?Q?GI6XJCmpJlKj5jLgkBSY6zZREH/f+m8AH4uiZN5lEkjQJPTvB1YMEHfQ/7VE?= =?us-ascii?Q?KGmqvE8v3TRLPxKYxq9RGR34bndDNo3ARz9Sv4oTQqwQRthJfIoGI8gLfkPX?= =?us-ascii?Q?t1/R41Wr677i44xmF4hJnQkdxOWXty0GBmPDCQBACZRaqUylEYprrIch6S81?= =?us-ascii?Q?vVA=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR18MB2284.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91796d33-095e-4d77-25fb-08d90fd8f746 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2021 15:17:58.3469 (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-CrossTenant-userprincipalname: 6YfoBGfJP5fpyr98wS81jpKF5rQgyG2CNUBoZrZpUK74pEBUA0hxa0HZcglP2jqXrMdQqKoSVrbh92kUIZVgIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1801MB1888 X-Proofpoint-GUID: gL9BC4erpUCW_OffTvCcXdBLgfWwhqaz X-Proofpoint-ORIG-GUID: gL9BC4erpUCW_OffTvCcXdBLgfWwhqaz X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-05_09:2021-05-05, 2021-05-05 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH] crypto/dpaa_sec: fix to affine the thread portal affinity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > DPAA requires the I/O shall be done in a HW portal context only. > The portal affinity is currently only being done in session create > and config APIs with the assumption that same thread will be used > for IO. This is causing issue. > This patch add support during I/O to check the HW portal affinity > and affine portal- if not affined already. >=20 > Fixes: 9a984458f755 ("crypto/dpaa_sec: rewrite Rx/Tx path") > Cc: stable@dpdk.org >=20 > Signed-off-by: Hemant Agrawal > --- Applied to dpdk-next-crypto Thanks.