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 5EB07A0C56; Wed, 8 Sep 2021 14:06:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 485DA41140; Wed, 8 Sep 2021 14:06:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id EB3E340DF4 for ; Wed, 8 Sep 2021 14:06:31 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1889TYpn030875; Wed, 8 Sep 2021 05:06:31 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2175.outbound.protection.outlook.com [104.47.55.175]) by mx0a-0016f401.pphosted.com with ESMTP id 3axtka8g4d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Sep 2021 05:06:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BcmXMzJxCDAp1mPYPqiGflq3ESiFMFr6dwYaNpv26dYeWclcy+oKNkKuvVYIoqPjwrAon7rDxTkgKIaIsLXjgZ9iHN9RuwNW2ofOoI/o12AYHJtUEmWRUA5od1m7N5a1WxkN/MbkVsqcWdGLbc+d1JYiBVehA4ynik80agXzGclzQCcgYZ8n5ulE2kWFpbTVOFjDra7zv/SJOoUWXvOFk4k5Lg8WLE5L9zRrjLaWUkCWhYNX9a8PnHM2mVJbd4aSUgUxTSj0zs2J3Y6T5cB3ro8LFnsY9XNjmumznqySyXCZ8j4QscXN0PJO/6qDMugPayBEJBmp9Ms9GEjzFbaBiw== 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; bh=ssO8m3ez/9EsZuAlWroeKGeEMvHl2gwVpo8Np9lzc2Q=; b=BR84ZGqB4o5yeooHybNXMQh2KsRMXlcjLp+OTskb30i8tUUTco8loPOj0pVjvPewkDp3aN30oT6uDOt+LC0scsL/xLr55PgajuYQROOi1MM2WHXLcnlsnqZRPx4pi92Xa5BDgz89r2OlAlEuaeE9NmdHPlHFPKZ3uTAHoWqGG32dlFxtVEVn0c+kSqU6We1YeoraMgP89KjdGRcSnaiPOZYV+3Muswx6i+Qqn5RvsilENh73zuuGAl8N2ddJLleWocIRjfAHdRHYYvJcSX2sRB/xdsD7lePIoaAmQSg4qoJgTevGMgEjk4fuJY3AqCewD3loplDYjpG90d35mujV7A== 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=ssO8m3ez/9EsZuAlWroeKGeEMvHl2gwVpo8Np9lzc2Q=; b=GJP9KaiKB64CgvKX4kTfpsfVf+D9HZKm1dT+LMFnFtAXZ/dIoPYZ4z+5XpM2e6Fu0HT/LP9l0jHkhzUBxSqxIwLyUsfVQejFMrE0S9Uk15DKh7oeJyLWZaGzijAu9u1l4/afSSE8PDPayT4k6j7PAzUUHIpNhROgyBzqqKy63a0= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4417.namprd18.prod.outlook.com (2603:10b6:5:354::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Wed, 8 Sep 2021 12:06:29 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29%3]) with mapi id 15.20.4478.026; Wed, 8 Sep 2021 12:06:29 +0000 From: Akhil Goyal To: Srujana Challa , "thomas@monjalon.net" CC: "dev@dpdk.org" , Anoob Joseph , Jerin Jacob Kollanukkaran , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda , Sunil Kumar Kori , Satha Koteswara Rao Kottidi Thread-Topic: [PATCH v2] common/cnxk: fix attaching NPA LF to CPT VF Thread-Index: AQHXlCgdy6xeX3MS4ECyhwg274XP9quaK1tQ Date: Wed, 8 Sep 2021 12:06:28 +0000 Message-ID: References: <20210818115635.3526239-1-schalla@marvell.com> In-Reply-To: <20210818115635.3526239-1-schalla@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 269dacb5-5a4b-4857-3f09-08d972c1171b x-ms-traffictypediagnostic: CO6PR18MB4417: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pO91RXNdc6M9rg/pD3AvEcVehITJFueHtKo8i/Q9B10OjkjMCpbAjiq9etJ3UgsGPd07wBnWRlb5pUsdHH+zlC2pCAJFXgtKbmcLUNY0h6vqveOJuuKmuGZWuN8r9bobO6NCsfXHhMf6oKj08NqwAq7EuKb9BTtqRtlio0kAcB+Nq473Ym1FCeU4g0j19RhKVxvb5Aqj3AR7n2GZSDhd6z7WOV2mJRt7sNIsgyUyiQd8veLKFSFpC0W9f8mVVGzmE2VyB8jeNJ67T5h5yU5o6a0zmNODtBBYIMdoG0cViSvocyeV4erCJmdwBMFNiwfPxQ/K562yRYI81ezVyo+ASG03bbYyEvUklTqgjbAf+JoaRtIkhSIWDB5QqBQUJ7VmA3xA7LzvUhqVyXa93jXJAtTK0NHWdPC+3dfpOxxH4L4fFHXFR/qwRsl8nNirlb3nLaXczJ0rOdEZUnLp4OlGZ5fMlVkhpIIUVcBNJWA6EWwyuNpr5DbLqlSxqvJ/Zbt4zrEWO+eEvZvXO6ZIUAmyZif3Bh32JJx9vPwoWPu8n8quRmJpUelOtyz6mgxhnxBvvC1pd8Fsdkzh1vyjf3/8Buf+alHHpKhkeET4f3T9T30GQHYXaoO86BYpGCHUzVh3qbQk81eZ5YjrQZGgAsRol9y+DGOTqQIBjqBpSMG+GiXazXuSObZIadrRW5JDz9E01omACiPQfxCZq+IvbSc1ug== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(2906002)(8936002)(107886003)(66446008)(64756008)(110136005)(6506007)(508600001)(9686003)(66476007)(33656002)(55016002)(7696005)(52536014)(316002)(122000001)(38100700002)(54906003)(66556008)(71200400001)(4326008)(26005)(186003)(83380400001)(38070700005)(5660300002)(55236004)(66946007)(76116006)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TW9pz8mnEbpLgW3bRbeGn/6h4Vk07LFtzRAuKHUGi+1xjUuwpu+oX4IOeLld?= =?us-ascii?Q?bKTvhQltRFgiI6XaPj2BMFl70mgYL2sTIhuJsOz5h/++1/EFmHraQwzKKUYE?= =?us-ascii?Q?pFfqcdr68hl4KaoIcz8ABg7td6sU+JlFzu4dYFZ/u8Yiwjys8UJxjH0p549q?= =?us-ascii?Q?44bNowHI7o2hS7UQPnqBPt6JIVZEfwhaZfW4uP/D99ggQNXPbwLfjFCUphuR?= =?us-ascii?Q?da+4trne8+oDA+4Kjd82re6A1vnWBAd+SUIlQ9ZnYX8t7J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5ofxjRORfnys0FdjIBSQNeluLtVIDWV4pSyKi+LKmnVlL8k?= =?us-ascii?Q?77hIOKl7Xd8xNxrPEypg5wtKuRasFNS0qWrgRn9fygW94bvXc5zRgDe8FMZh?= =?us-ascii?Q?+4PcpN+mrJIheTVM2Rlob6/Q4DdBDXuy4B9BwSGbdlHI9I90JGEz3QlPntSi?= =?us-ascii?Q?mJuPBk3ktkNgNWOy9mqNuCIN?= 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: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 269dacb5-5a4b-4857-3f09-08d972c1171b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2021 12:06:28.9471 (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: W/1wYNwyZYHMrqxEhCSc4G8ShtzNOhuB41kiYoGdkr7kp2F1BeE97l0YOyRO4KpIxL0OHHPwhwJKUWzmOyvTug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4417 X-Proofpoint-GUID: JgO41MaFgjEgTmSWwtUSmWsReNqvudcq X-Proofpoint-ORIG-GUID: JgO41MaFgjEgTmSWwtUSmWsReNqvudcq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-08_05,2021-09-07_02,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH v2] common/cnxk: fix attaching NPA LF to CPT VF 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" > ATTACH_RESOURCES mailbox for CPT LFs is being called without > setting modify bit. Because of this previously attached NPA LF > to the CPT VF is getting removed, when only CPT VF is whitelisted. > This patch fixes the same. >=20 > Fixes: c045d2e5cbbc ("common/cnxk: add CPT configuration") >=20 > v2: > - Fixed checkpatch warning. Changelog should be mentioned after --- Acked-by: Akhil Goyal Applied to dpdk-next-crypto >=20 > Signed-off-by: Srujana Challa > --- > drivers/common/cnxk/roc_cpt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/common/cnxk/roc_cpt.c > b/drivers/common/cnxk/roc_cpt.c > index 2ffd271566..60a68876b0 100644 > --- a/drivers/common/cnxk/roc_cpt.c > +++ b/drivers/common/cnxk/roc_cpt.c > @@ -478,7 +478,7 @@ roc_cpt_dev_configure(struct roc_cpt *roc_cpt, int > nb_lf) > int rc, i; >=20 > /* Request LF resources */ > - rc =3D cpt_lfs_attach(&cpt->dev, blkaddr, false, nb_lf); > + rc =3D cpt_lfs_attach(&cpt->dev, blkaddr, true, nb_lf); > if (rc) > return rc; >=20 > -- > 2.25.1