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 532DCA0350; Mon, 11 May 2020 00:35:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A95ED1D160; Mon, 11 May 2020 00:35:14 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A40121D15E for ; Mon, 11 May 2020 00:35:13 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04AMZCAR007994; Sun, 10 May 2020 15:35:12 -0700 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-transfer-encoding : mime-version; s=pfpt0818; bh=zUWsrsWRFDjpH9cpo2/2sB/fv8c89FQHtw2EnTAWXPA=; b=adJQubzPQccrFV2tXygyzyTdXRP2LJvTNY/29uc4aQMlzMSyNjUr+ewbVO7lfL801Sik 0nawYpLUuBBBYQBIpFYjgJXO3AVDTvfQJTOynzhxpDaZ/jhdApPEFSnbAw9/iiEbH9ox 9DVNoFqJsWLGp0WpWOlE1jN5OrHboZdOTnnrMdxJsSvcogbC3qbiRA3GK2aORrAlrTsg qJlxwoMuoWSuywdPPJWvVYnMSpum5e3BeUkBEqsDTSXyVLOFOcPhjgD/n8Tc6EyYfi77 ejLED3SZaIoF4oMfdKveER3KRJnXahBgbEKiPruu+CPYFbio0W7F5XUw582EbyUoyvpP Iw== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 30wsvqcufd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 10 May 2020 15:35:12 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 10 May 2020 15:35:11 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.50) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sun, 10 May 2020 15:35:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=boQUImvwtJmrQX9nFpbrjzV50Z/x8y7y6vXNQG6icwAjcllmSrLEjeDJ4DNIBH/YXwd4RP05WujzeGOkr4WbjUy8LiJmqT4vLEDVMjx9u4BYE9Pf9FPUl1PxIKwvpW5gU8P3J5bx3wT1ktmhlquOgj9QFGrwV6NVzNhDvWdez6MsDnQdep2j9TgEXJSqlqOm4k0MU1LbuRxqtNPHITDl6A2HZPpXCriG4U0KtdwpK1K4gVqY5RLN2Arf3X841gz0WPWGrmsXBKL8mcC1jWKEMjdALq3J65ocw4DQo0havnzvh/VBQ4Bo23c4MKoxJk7bj7dYrKR4C/AlGa5tSGQLSA== 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=zUWsrsWRFDjpH9cpo2/2sB/fv8c89FQHtw2EnTAWXPA=; b=Cd1mpCtqNyMA1FE4NC0sRKrVKqzg0IjTf1hkvUHmi+nKH7mzfBeRYuIM5vyiZQ+jJ+uYjJeQ7Iw9tlWsk1YXQpo/cbimEeBpG+PuPYdwsbUMsgYYm+YU2g1/tJIB+l9GoWZ93NGA+CRJNi3yp7T19oYabJZWCYidmeTDy2Glfscr/BWoetTrXMEh511ZVB22zpxMrqQ4lov2M5MQ4Uu4snsNq/+HjKQ1p5/FiW+qF3VEBb54ALi48QJOlhAst9YexA9KX/yzSHCBEzGBR+zBUM8fFbtmjRn2Fsa3Oy/qkR+kzzpSSkBQnyixqlPw3bRHRxNCie+aRmPfhsa+0MaErg== 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=zUWsrsWRFDjpH9cpo2/2sB/fv8c89FQHtw2EnTAWXPA=; b=rDgn3D+vYvqiSgjbx7ywBcC0t48bczQZkxjotcQAcG97YqGhjobPpfGS2TWIMnL2/PSVhXnc1bXkvkefMdSwGyLdkICJqKEe0TK67/PS37dfkcJaXwms6wIUHQ09zLW+rg3ffuDT9ZcsJMUuB+bov/1qJeTKmYUAN3ESaesDVFo= Received: from BYAPR18MB2518.namprd18.prod.outlook.com (2603:10b6:a03:13b::18) by BYAPR18MB2408.namprd18.prod.outlook.com (2603:10b6:a03:12f::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.26; Sun, 10 May 2020 22:35:09 +0000 Received: from BYAPR18MB2518.namprd18.prod.outlook.com ([fe80::fca4:5e00:46d9:a289]) by BYAPR18MB2518.namprd18.prod.outlook.com ([fe80::fca4:5e00:46d9:a289%3]) with mapi id 15.20.2979.033; Sun, 10 May 2020 22:35:08 +0000 From: Pavan Nikhilesh Bhagavatula To: Thomas Monjalon CC: Jerin Jacob Kollanukkaran , John McNamara , Marko Kovacevic , Nithin Kumar Dabilpuram , Kiran Kumar Kokkilagadda , "dev@dpdk.org" , "Andrzej Ostruszka [C]" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v4] mempool/octeontx2: add devargs to lock ctx in cache Thread-Index: AQHWGHz3R4oY/YweEEuWLBb2eYyFPKiTE0ZAgAWGnQCACWuDAA== Date: Sun, 10 May 2020 22:35:08 +0000 Message-ID: References: <20200326063419.4683-1-pbhagavatula@marvell.com> <20200422080635.837-1-pbhagavatula@marvell.com> <2277114.jE0xQCEvom@thomas> In-Reply-To: <2277114.jE0xQCEvom@thomas> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=marvell.com; x-originating-ip: [223.226.86.58] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ef863c73-ab2f-4c34-aba6-08d7f532651b x-ms-traffictypediagnostic: BYAPR18MB2408: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 039975700A x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zA3HUOmGJrNJNgMDtIhH+R37N9EOmFLdG6tzfaakPdgzFuPx0ybXLHj0znpXjgV2/vtuILmkD+396THxz41qYahjDuxKSAHfHZxMmgJZKD0ktuT5cTvBg9fzSit92IfS6zDQbCBm0iJb5yfm8288SyCEaVqLzjUGFABtIK7OyFf92N903YAFp+58EmGS15iz6TkPmpcvejkU/jvSyTkPPCHvH9ZX1tROXG1po97KDHHGIaG0WEp3DvNA1KBdCCM189D/c2N/sBxTE9ZXtJJw631kvyXEn83BJPVJyDnpVQp9B+nKiFnJRp8FxnoNQ4itbVHQtvmC02/efwRDsvHg7mOrtozwW/AJAi1gd0pwoGDAF/SzneatmhP2aZWpuE0wQ9qNZSdT/vQlbH813uT+aQkyeFBHvgvx8Usgi48P8lGTP3imaCyic/uboIfL7oZbv2d5U3E6u+HJE9wT4zcXH6ke224DCsVx5ERyFJm6eDNz9icsT4ctqlXPfxdmr65lSckiXnrYnDQ2NOANbcUGNqzt/jcgPbx2qgEiecfPRTzbEwKTdnAArGYb70tpopEKZuwB3UFwN27iOd897XJmPS2TDCaJkOi/S79lsrgMYv4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR18MB2518.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(376002)(39850400004)(136003)(346002)(33430700001)(86362001)(33440700001)(71200400001)(2906002)(33656002)(55236004)(8936002)(5660300002)(186003)(6916009)(26005)(316002)(6506007)(52536014)(54906003)(9686003)(66476007)(8676002)(478600001)(66556008)(64756008)(66446008)(76116006)(55016002)(107886003)(4326008)(7696005)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: rLjelCENbUz1zH/9cjOWqiLt3oT5MdgWVBXtU6iMoUO1a0uihGATXK+B7UDH+SC41m+0oKWToPcseqP9+7Uo4zZyGEvK5l9gY4Uc7AtvDDpWRiipB3p0H82TCEcy9/UYfOPXShJAfwrYlc4xpcI3yUsL3wDGckQ3RaHoHzmIajz5sg2ru5Yw48lNh/aV8gY/6qftyNXVhiZgk1ppeygFqiANugKhFgcAGuVPsPV9PlJcEf1TFp1cQftbyCAdBKdrmQRivoXadBdqWbYIRvgA/D4xeQbLE5wbC98XxZ0Ga6f5S97k+BKLuDjd30JCQ2YTgsl8SWwD6FqGt23voYVuMZj0S1OtCqo7dGt+1pGwOOCFpYOw4auVRGTuZeEQhT3vVEXqP054RBvtNjornfxeNchTWqlJQzY60MNhw8klKUD48Ix9LcaBwK6gj0/rVAmEpC+OczltAsvlOcvOnIdZgc6oF9b5d9LAv+PfgndMepw= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ef863c73-ab2f-4c34-aba6-08d7f532651b X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2020 22:35:08.6398 (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: mEojZj/xnzZcgcIL6hM6C5toCghZSdbj6tlUTchA7NNECt9VkZLAyunuXfCADbznGSedAO8JImZHoA0hSv6nHRjcjsgXBWZWuwQpWrpM7do= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2408 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-10_11:2020-05-08, 2020-05-10 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v4] mempool/octeontx2: add devargs to lock ctx in cache 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" >01/05/2020 12:21, Pavan Nikhilesh Bhagavatula: >> >Subject: [dpdk-dev] [PATCH v4] mempool/octeontx2: add devargs >to >> >lock ctx in cache >> > >> >From: Pavan Nikhilesh >> > >> >Add device arguments to lock NPA aura and pool contexts in NDC >cache. >> >The device args take hexadecimal bitmask where each bit represent >the >> >corresponding aura/pool id. >> >Example: >> > -w 0002:02:00.0,npa_lock_mask=3D0xf // Lock first 4 aura/pool ctx >> > >> >Signed-off-by: Pavan Nikhilesh >> >Acked-by: Jerin Jacob >> >--- >> > >> >Depends on series >> >https://urldefense.proofpoint.com/v2/url?u=3Dhttp- >3A__patches.dpdk.org_project_dpdk_list_-3Fseries- >3D5004&d=3DDwICAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DE3SgYMjtKCMVs >B-fmvgGV3o- >g_fjLhk5Pupi9ijohpc&m=3DWIve81BfP51j5YxMwFobYJ6Fa5_lzESSAdznqyR >I8WQ&s=3DUQvvNHvQvpzcZJfEl3jp_pvsp7wM6RtKQrBch6EHVjg&e=3D >> > >> > v4 Changes: >> > - Mark `otx2_parse_common_devargs` as __rte_internal. >> >> Ping @thomas > >Now that __rte_internal marking was merged, >this patch is candidate for -rc2, but... > > >> >>a/drivers/common/octeontx2/rte_common_octeontx2_version.map >> >>b/drivers/common/octeontx2/rte_common_octeontx2_version.map >> >@@ -45,8 +45,21 @@ DPDK_20.0.1 { >> > otx2_sec_idev_tx_cpt_qp_put; >> > } DPDK_20.0; >> > >> >+DPDK_20.0.2 { >> >+ global: >> >+ >> >+ otx2_parse_common_devargs; >> >+ >> >+} DPDK_20.0; > >Why are you adding the symbol both in 20.0.2 and INTERNAL below? > > >Also, that's a pity you did not take time to convert all the symbols >of this internal library to __rte_internal. > My bad will send v5. > >> >+ >> > EXPERIMENTAL { >> > global: >> > >> > otx2_logtype_ep; >> > }; >> >+ >> >+INTERNAL { >> >+ global: >> >+ >> >+ otx2_parse_common_devargs; >> >+}; > >