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 820D4A0546; Fri, 30 Apr 2021 15:32:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1E324014F; Fri, 30 Apr 2021 15:32:41 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2070.outbound.protection.outlook.com [40.107.94.70]) by mails.dpdk.org (Postfix) with ESMTP id 60A224013F for ; Fri, 30 Apr 2021 15:32:41 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jL/0e9+Z9Dp1PMnY2r2PeZhC1zF2ATvMCUhN7f4QiyBOeneHzgc8EqtADbI4ySyaX7KJKsTAE/foUweGUmxyj15CaiLA7dDC+rXTuBo8pNz6bOkeM8exxTnCWCfT4H1cq0HFWq+F1XOVQaCjSbK7j1KRwIqveW/PrBl/ZtwJIWLI2U5Ie8k+5P+0Em0COFBsuYxUf8ZC4fHSCnd23zpeBydIYKT7IsAZw2eTS/81Ojcq7L6CCziZ8NRqkZOmkzOLffjT/3XEwd/TVYrZac/V8pO4xvg24wmNNtFpi9KMWU9H+4ECKWzQ5OxgZp0pzouPKCcqAIdNpS4kwIF+QWRhew== 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=LoDu6jSlPMbHUiEf5tfKoVJ1Xf/U6jkiSUD5GGPav2M=; b=n1sGAeoMnEuIWX/rVuTsWnFcmcHSdBp3W7WiEBgDqRhfz5uaoO8i7uuBW41kdDK+oZDwE0tRrBNZWT9sKLGaKC73KrVhXr/f5iD+XfTaB6IHtxMTb+3bWBkJzMbknOAsc3GNVzA5x+f9EDBqEzKnmml+SxIV8/0Xz1rGYtN8YoHzZeU1AA/WK0jf0rxAO1qqiGOoh3fVIjQpgFRcMUqHcMH4l/qoU+xZkCnR8QvtmJFmvsrxCIoq84gyWsYXArtN62ryh03XOE2AKNcSraVNr5Ao9VWOmbUNkxmckGvi8/msafi1Bm2IX5WswU2rhvyuFYTOnNW4+G4mRVftGER0Lw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LoDu6jSlPMbHUiEf5tfKoVJ1Xf/U6jkiSUD5GGPav2M=; b=bF07821WHF4+ha3BHtcwmiUo/ThHXDIe2r5fCncD/T7cEih4s7T8lRxCkNcOyFJnkqZHwHpi0hkBhRwmCsu40/P5IaLGqNG53FpcLr7NgwTWNxfX7xgygb7AO+N5IgHFtHrm5R0ehk+ZJHICO9Ln43am+6D0dlYkN4palBkNOUPIEja8bqlLxNq033LzFMnKla6B4hy+DrWHT86fcxHhibKorJ8Ly1tNFKAEqWjsuORn5oNVVPhWQOprCXJhL06CY5fFgBKFYwRd17i/dPjMnKPFDV8+Y2+YESh6+84FTeXAP4rUfHK8iUH3CtgxqvZ7j/XEWGYC+tpIMUegCHEZ5g== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB4529.namprd12.prod.outlook.com (2603:10b6:5:2ab::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.26; Fri, 30 Apr 2021 13:32:39 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::c595:e3bc:686c:16a4]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::c595:e3bc:686c:16a4%5]) with mapi id 15.20.4065.027; Fri, 30 Apr 2021 13:32:39 +0000 From: Slava Ovsiienko To: Alexander Kozyrev , "dev@dpdk.org" CC: Raslan Darawsheh , Matan Azrad , "leif.y.johansson@ericsson.com" Thread-Topic: [PATCH v3] net/mlx5: add power monitoring support Thread-Index: AQHXPQe8bXYeSNhzeUOHNoCrNT5T1arNEDGQ Date: Fri, 30 Apr 2021 13:32:39 +0000 Message-ID: References: <20210408032554.20255-1-akozyrev@nvidia.com> <20210429145518.20999-1-akozyrev@nvidia.com> In-Reply-To: <20210429145518.20999-1-akozyrev@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1171a34f-2652-4883-0821-08d90bdc6cda x-ms-traffictypediagnostic: DM6PR12MB4529: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JcFcleppw0j84rPe5msDgD7lUQgePxlht1anm4cmV6mOFS6aMSBjjQog56LmqYZ+0IVJN9FwosxgRPoobWq7oyIloEkdkv2DZyCNkOHTlQpgoJnwE8OM3PL43rhTSW7eqXC90nkpxXIdx6wUwjNTBf89/yZO1PfDB+o5pnMsxnHeEMgMlFf0e0OS4/5IlgbNjKv+tPAn1c9UxfsyxvS5hKxPaYrHGMODjPpiYY0PYIObEbf+0yPeoggon75HqrisTgRu3VZY6dlaIHI+zWJriNABwUpjlu9PdAL7+0afp8txMN/e7ohhgySxYfEmHVbKLqG2jk5iRJCi+eautci/+fnHQ1fd3rZKgip4QdOXgEEMi6ZCeYPgp0rNcvjMOtLLyygC/5qF5czPF2Jz5DDvHQlvMjhXaRQihfGLoT/L8yr0dHgkNeawC5qtxY6doxa62cqJSZ0aedmLkEo8iwcwCdT0dSZeqL0vIj9edOdwJXMzAz8vzyL5c/VmX4XuzH0EuiOgwASwhe9nEoJPYOHzozOF+iZWFF+/rnyu3V90pPUnANVYEONWatHiHuFWAongFFc8yitW4GTboTIXIHVL9JI6JRj1zJonkShct1YF8sY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(39860400002)(136003)(346002)(376002)(9686003)(4326008)(33656002)(478600001)(122000001)(38100700002)(71200400001)(7696005)(55016002)(83380400001)(66476007)(66446008)(66556008)(66946007)(76116006)(8936002)(26005)(86362001)(2906002)(186003)(53546011)(52536014)(8676002)(54906003)(4744005)(6506007)(110136005)(5660300002)(64756008)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?s+o5lE/XRy2lHtBkRKlhdYl/QunpmzKb3uDQWgxHm/ccQiECWC0zzlvFPpXX?= =?us-ascii?Q?JXiI0aDf0Spbmlq4lli9JPnfe7Xc2o7SVdLkHVKyT0IbZoLd9zAq7B7lXBUg?= =?us-ascii?Q?ZHaVfq+uVL46Igbtg+T85lixXDaQejxWNII1+v7Is8vOwT9/nM7b0p3AafiC?= =?us-ascii?Q?oNn+8OmE3/NcYQTy/HyWJyGaCOdrS13F7fZuFpOmUxeQDPSHxTJdmAyiw76g?= =?us-ascii?Q?VY9bDDf4eTIKKpiqe5QK6FIsmCkR1Zkt7ys6wbzLs3OPEck0DAdW89bIIpa4?= =?us-ascii?Q?ENBi/MPLWeTuaWNLMXdxuAqnz1g16hBlyCoM8cEPJDs7kP1Zi4nDm+gK/bH6?= =?us-ascii?Q?fdIu8MOBipq6V+lcg4TkITZNyl9Bb8A7K5HV4MPUVOmpYaWBjVkqeWGROWv8?= =?us-ascii?Q?aBMnMLYy9SK986lnUM2Fa455wS1HG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Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1171a34f-2652-4883-0821-08d90bdc6cda X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2021 13:32:39.5425 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HTYAIpUaJjG1O2jh5L2geZJf4pU6dLU1Z5EpcXsAqeBhFWyWlL40atyEpjSqFMpEhaDrsBH3yoGvY3c7wA5GCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4529 Subject: Re: [dpdk-dev] [PATCH v3] net/mlx5: add power monitoring support 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" > -----Original Message----- > From: Alexander Kozyrev > Sent: Thursday, April 29, 2021 17:55 > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Slava Ovsiienko ; > leif.y.johansson@ericsson.com > Subject: [PATCH v3] net/mlx5: add power monitoring support >=20 > Support the PMD power management API in MLX5 driver. > The monitor policy of this API puts a CPU core to sleep until a data in s= ome > monitored memory address is changed by the NIC. > Implement the get_monitor_addr function to return an address of a CQE > owner bit to monitor the arrival of a new packet. >=20 > Signed-off-by: Alexander Kozyrev Acked-by: Viacheslav Ovsiienko