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 EDCFCA04FF; Tue, 24 May 2022 16:40:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFFD342B88; Tue, 24 May 2022 16:40:11 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 3D4A742B86 for ; Tue, 24 May 2022 16:40:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653403210; x=1684939210; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=P5Z28gyc+DLUIXoi4+7AdBx1Nqw1+iTNB63iWxtCltM=; b=Srrx9wrEUbrc/XVclptuEXaV+RX4l6CEGp3pYuTEMzMbG7PA8fLnQpCg Be8foeQBl+o90Lm+TuLynuMg7hKGFm0Zt1oHrLZNY3+fn7P5FlTO6U243 ptn0b8vxl1abgrHRndjvUCkKAuZsjDp9IDif/U2BWnKnzZGWkbGjx2IM3 5erTonzAz2xhkAYFrOtKV0cr8FBC+/mabq9aI07PIfDzOcIbTLT0GJrOV ZP5RpySCxx6i2zqziKBLlLvKiQ8WLRHKu9NGX6mNWxEU0SBltRTk47+Dv tQ+jbSyiKSAl2jsC2zuen3c8BROc8LEJjowVhz3TXP+w4QIL4iHIm/j40 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="336601977" X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="336601977" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2022 07:40:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="572686097" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga007.jf.intel.com with ESMTP; 24 May 2022 07:40:08 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 24 May 2022 07:40:07 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 24 May 2022 07:40:07 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 24 May 2022 07:40:07 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 24 May 2022 07:40:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l+O/dIcrm/cn9iXDz7ELYi/fcq33Ydg2ZIu5dk5j+gXBbs83PkyoP9lQX3mB9JiIWs2QjiYjKZuSOrjpvig7fwDbXVaRmRv0DPwNAKT77eQEYOIbN8t1fbcjA+FWE+/XN9VPBQ7ORpa4G+flkzFtN0hxQkYd+DzZQl8pdfNdt4b6luE9w1G2JDUfXgy8J2WIHPLck8anwdAUBBKtIIo8ptdaIj0VfqFB3yctc67zkr9D2DSXyyiJ/I1AQ2JFT6UjmEbw9xqEhr7DepogZ2HWH3UmXfGx+za0ShD0Hjawmidca4hjcmIIK77Yg1C0c5VF+0Z7wPB6iqggaek8rk4u2g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ObJJytKuclsRgPeZBuMY6wP5dC1Nuwd/0oiQDGm84+0=; b=nklHMbVWIczjP4lhLtpT6iByXfqk8IXJJls+tK8j/Ny13oAGfA2iorEAKC1bJGOwiDG0YkhnzuwJdoKy5uZOtQ2SSH2o2gdSPTezno+x16uzE9h6q7zbQX0LAe283qujDWpoehB8YLN2Oqxf+PAgUd187Mx12/1fMO7T2HsR3bmo3fBIkD00mXJT6Ym6lmq8GSXbUbyFk8OjbmZ4ZKQUWporbu6hEkJG0UK9tFeHfXsbF86nlI1vaTSMvhnylaz0RSPRmU2f6uB3HzRTKL+P/Ib4wmYByVlfMPGrgyH2+6fSyGtC5LF+NaYTwCkSjPAgtUuW3588uamMGkP6YUJ6pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) by BL1PR11MB5413.namprd11.prod.outlook.com (2603:10b6:208:30b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Tue, 24 May 2022 14:40:05 +0000 Received: from BYAPR11MB3799.namprd11.prod.outlook.com ([fe80::c5b8:6f47:c4d3:24a6]) by BYAPR11MB3799.namprd11.prod.outlook.com ([fe80::c5b8:6f47:c4d3:24a6%3]) with mapi id 15.20.5273.023; Tue, 24 May 2022 14:40:05 +0000 Message-ID: Date: Tue, 24 May 2022 15:40:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.9.0 Subject: Re: [PATCH v4 1/4] lib/power: add get and set API for emptypoll max To: Kevin Laatz , CC: , Ray Kinsella References: <20220408140847.1319312-1-kevin.laatz@intel.com> <20220524131407.423609-1-kevin.laatz@intel.com> <20220524131407.423609-2-kevin.laatz@intel.com> From: David Hunt In-Reply-To: <20220524131407.423609-2-kevin.laatz@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0454.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::9) To BYAPR11MB3799.namprd11.prod.outlook.com (2603:10b6:a03:fb::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 59232af2-d979-4bdf-f558-08da3d934ac9 X-MS-TrafficTypeDiagnostic: BL1PR11MB5413:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d3TgtL8CGpj/DTglCXs3U1+0Ld8d5sYjVF78c7cQFva3pywoQDjuCUcXQNe3J1aHl6QobDsd0VNZ87ww4K6o+TqKkg3sCTNYVVyreQ530MvZtwEZ5rj3jJXpCnBmehKOONxgDsSP9OoiFCbwdIv56/Gg5kBuqjWtMRWgMeU59ZPBvjgKhWDDL1h6sinkH5eh9gbmnAhKiglvkX8IuWMjhj0V4y9Eik0Jw8Ln6UqG7m/woJWhQ6nln1cHF88G2arvA0ZV5qDpPG3swIqRgpjA4ej+Ni2Ixb05Qh3QWljS85oX2d2hKdu5ibgmR0VbufmDNwWkpz4BUS3PGirI5w+pHFfJIUzGvTyoVrMqbM41yRCqBbueX6JUXh2biYnM0P+U2RzBXPQD4Aacu3bMrgHuGhMAriLjCxlXingbLNEN6cj5u4xBlDhKJ0Av+RQwx+RoYF9FS/XGo+GcDTzULwRf9wm7/iFA/X6Xj88I8E1g8+gPYR7hIypn3ySaVPwrl6YYog3ua3pdtettTUmJduhCNLIcb4TEmae8wM8XXstBNzuwdxNPK0GiJIekCwnZBadFYC16GWh+rRipAqDlDexx7El9YdYKMwYUBRhpmBifG8TRAWQE36Bmc98PYmdJuS+yZoroIqGpvjm/8VKkIZAX+mayN4QekE026ujEHX5PGKd3lUujbUwteSDLpX5oaq3sHBRQ6ru8dIfFCYcs60JPq/5YWkOdOapOuPSu98lTrec= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3799.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8676002)(66476007)(4326008)(66946007)(316002)(86362001)(66556008)(82960400001)(31696002)(38100700002)(2906002)(53546011)(5660300002)(6506007)(83380400001)(4744005)(2616005)(26005)(44832011)(186003)(6666004)(36756003)(6512007)(508600001)(6486002)(8936002)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RzRsZURBelZsNGljemd6Tlp1aVNYU09DWjFLTUQ3dmZXU0c2MGQ5TStKS0E0?= =?utf-8?B?cGc2Y1JoeHdGcmQ1emNVNnJnYTdqTjNJSFF0MXNXejdPbG9kOWU2Wk4reEdi?= =?utf-8?B?RmlrZnJ5NXptWjl6WjlmRlF6eGpHR0Rkcmt1amc0amN1QUpzVVR0bm4yQmk5?= =?utf-8?B?bU4rRmNnU1g0WVEvQm9rWi9SRXdtTVpJVURFRTU2WFo4V3hwWlVjRkJmNEZC?= =?utf-8?B?YkFqZkR5bE90Q2JlUE5jNUhMNVMzRnVwclR6TXhwc1VaRTFOQnZqRThFMWd5?= =?utf-8?B?SGtKdkVHdHNE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em5jaEMzL1Rn?= =?utf-8?B?ZW5wdWJRY05LWDR5dEVTUHJacUVhdDgxbndFS1pRRkliT1RUMHRaZVpqa1Vq?= =?utf-8?B?Y3k0VWZMRVY3czdQdDE3OHgrSzBIbkRpWTlBaGx2cy85VS8rS0s2cE1LRWFm?= =?utf-8?B?WnVCSlZJUDlQTitpZi80ZDRIdGxPd2NGZFpzV2tUdTJQSEFvb3puSi9tbmxZ?= =?utf-8?B?bTNlVkttaWpWVC81T2RQWWVMY3psbGJEcDQ4M202Sk5KU3RiM05Qdz09?= X-MS-Exchange-CrossTenant-Network-Message-Id: 59232af2-d979-4bdf-f558-08da3d934ac9 X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3799.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2022 14:40:05.3707 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BsNF53iD8YOlHxjDjs+1WoGX0USvP4i+uIDG4ri5LLMIYiCGEdwpfGT2PBVDEh93dtv7XEBNFUdh9r3bWgAHvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5413 X-OriginatorOrg: intel.com 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 On 24/05/2022 14:14, Kevin Laatz wrote: > Add new get/set APIs to configure emptypoll max which is used to > determine when a queue can go into sleep state. > > Signed-off-by: Kevin Laatz > Acked-by: Ray Kinsella > --- > lib/power/rte_power_pmd_mgmt.c | 21 ++++++++++++++++++--- > lib/power/rte_power_pmd_mgmt.h | 27 +++++++++++++++++++++++++++ > lib/power/version.map | 4 ++++ > 3 files changed, 49 insertions(+), 3 deletions(-) > Tested-by: David Hunt