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 EB234A04FF; Tue, 24 May 2022 16:39:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA9C642B7A; Tue, 24 May 2022 16:39:50 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id C667642B78 for ; Tue, 24 May 2022 16:39:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653403190; x=1684939190; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=KtGlFzQZyVKJnjGPlt/6rnXpR8GddUoFZrkbufAUDUo=; b=QWxpWCgR+TpXzHAOqUqV/Nfa+FtegM+zImGfAT3joYujJwJ92SRmVe8/ uSnrTsz3/0Njlmi4ihO+mfZNuI997DnjtEsTylu+1Z4Bh5ptilciwfyWs 6dL5UIZe/VS5pgOPaBfLxEBi/h/unRkeAPwDF6FsDkMfZ3mE0AAeISEQ5 dIOOxvJ5VIfWH7NfBEMVfqoQ56kvv53Hbbik5xoo5hd984ug0JZixB/Hd rJWKbwUlWiSt8Y2bLO4BWMmp2lWoSHottIybCTOY0qDTrIcMMbHEt8ECz tBDcgjpQwKLyEstUPod6mBI5U7cLKOPmzjsCPy235WQkiCSGxOKUQ8XmQ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="334194705" X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="334194705" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2022 07:39:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="703498965" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga004.jf.intel.com with ESMTP; 24 May 2022 07:39:47 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX601.amr.corp.intel.com (10.22.229.14) 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:39:47 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX609.amr.corp.intel.com (10.22.229.22) 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:39:47 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) 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:39:47 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.106) by edgegateway.intel.com (134.134.137.103) 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:39:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LAC/rrknFbifhC5vuk0WdF8OC8X+ZoAUAvTQSSNtXIgay4WJ5ATQGGFxYV06t0MO+27Aj8kcNWLG1oI3Fu5OOPyNjbIBbtOeXUmU8guS2A6TWzBmfh2E4YtNHtq5i3eu55UL+A3vKhnh1eGINJ8eP7kzoNhJfJvwmNi2zHjSOJjpgvRGz3sC9pFusQYg8FKHNmMCy0xbncF2BDhUHr8EJQ2i8LmGRUFERZKJ8YDOGfwMN3wGy0SiEV54N4wzXvNOC6Y520X7SShialS/DYKYlih07tLgG6Zb1xlEUn6vMesNohxf3e7ZDFEmRP18C7vMmBlPGKU3dBlw2mAdNI/x3Q== 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=Prxk0NPXQ4NuqRDDB4wleoeSnQFubrZoPlhLrcpNUZE=; b=QEB71BmZP3OM4+CVFbYTaRorikyGly+k4L8rLv95a0dn1w8aDGOuL5O+cd1rfNbRTh/jOWSXBjG1pr+epuK/Cj3/RtcjY2QuJa2mfUP7hpbAaTz62CpAewr6yAgcNrwrLZmdJPOj0aY/H2pWljZ6Vf1OO9ddz1NFQ4Na1lhDW2zYvsCYk5X1NCKbMn3TIQfBwkZk5d0ivvTHiltshTUGB4YKq4DCGdjrjItWsK+vfOFRYvDxggIW5YH4KJF/DJFy8JFpkhAVmm3rrneBV9LpKPSpyUZmM5kEF9n0/1y4Y3FqBo1N1s+bzhqjWgFj1f/l0wb6rxT9oJ30RBYcCxkjqQ== 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:39:44 +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:39:44 +0000 Message-ID: Date: Tue, 24 May 2022 15:39:40 +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 2/4] lib/power: add get and set API for pause duration To: Kevin Laatz , CC: , Ray Kinsella References: <20220408140847.1319312-1-kevin.laatz@intel.com> <20220524131407.423609-1-kevin.laatz@intel.com> <20220524131407.423609-3-kevin.laatz@intel.com> From: David Hunt In-Reply-To: <20220524131407.423609-3-kevin.laatz@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO3P265CA0006.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:bb::11) 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: 16859bd4-64aa-4927-846d-08da3d933e94 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: XcZ51IMl6dBoLJmNTjCNgGpAC8fIgUoveCEjHHr/zEbfRGAm9+iXjK7/AVtZ5dnYGjSVvhTHAYAQd6Qy02EoFqpuag8LVfsm06xF6WOQbpzENHjNBKz/zr5K0Q3Yu3Uq8HCjXGh0IAbrm7YBtE1TlNL2/jpJQhQBrJNwN3rwTvci4TeN0Hd3CI6crNsqDrXVvod1iXSUefX1vdDfgh+Sw/akmjGEifZwyEyYLpk4rG5XMY8S+kJfcMDKve/8RcUYez4KkQ8tAaAU3mt4182FiqKShKJmkTQjAbnsqzkUObhNiKwyW8zekoBqkUKMcbMGpUWABKhhP+/Pt9rU2pNKnSUL7RGqmjHdeUeXFWFHcmnhrzCPF5jFew9GxAfYHJ//rUyJGHQkFV5vExsGCrccsa6dYGfB8eGG8sPYdmzoRy3D3DJcYJofU2CrG4tBEZWlY3vhbLqQxiDqDN22wtaLI624lRQFni2qc9InCJHwi1WeG8Lz/raCzQF5vzYKRbvZS3chsuSXUx/qvnQFRPGnQuHjIW+Yl5qMZVLixowHVM/U3NJmkeXSpuPj6KKXlbGsPvBkzuBRE378xxoEWvFvSP1eXVlHd3OekZul5COmcNXXVdG/9PsjSj+Q6Fqg5z4aU7HyMVGFvtTcmKAMrGh+inMP6eKUt9z0ryEaHPMMzBfJhSbTimUhycSdigGAhqwrYpjeGAp7MvdVd0nqFtT7aWYDJRkvluo0V+uIWnc+rUU= 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?NTZrWnk1TkZQS0ZXQXJUN2h4ZGQvb1NuNGNYekNNdTg4MUpTcGlEUFNCV3Ni?= =?utf-8?B?WkpKaGZMbElMd1VOODJzRkMrQlJ5MkxTSFpPbGlBeDBSemVSczdDSk1wYWtD?= =?utf-8?B?WWtQKzNQZ3JPdkcyajBndWVGTGJsZlBHQTRTdVVHQXlTOXhxUlhwTWJyR2Ns?= =?utf-8?B?cUM5QVlDcUJvWDlJMVh6ZUN1SnRVTnVMWUt6WHN4cWVHV01mZm5mUEdiQlVL?= =?utf-8?B?Z1hxT1pUSEhCMjF4WlZMckt6am9BSDJCS2ZEWXNCTFRvU0JHUDFEYWZNSlIx?= =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ME0vMU5KRGlxRWFsS2wranJoMkpUV3NlS0hNcUcyYUgxVm9M?= =?utf-8?B?ZXZWSmlYWUJzRnlBSmx0TEZYK1hCU1dqS09ITE9BVklkOUtyVkJubWtaS1FB?= =?utf-8?B?Z3lkZ3MrRVZTdWVWa3dqZkJEdjVwVEtjQmhzRmZwdmJwMTlpMFUzMW41bGVM?= =?utf-8?B?UUJxWUFTUUM3T05mTU9iUVJSaXJ1ZGlOOXNvWHFCRmlSTXhrZllFT1FzeEpo?= =?utf-8?B?dm1uT295bU9oOGdKUWE4T1JXTVVzalNPc1ZMQVdqUFpidjYzOFZyUT09?= X-MS-Exchange-CrossTenant-Network-Message-Id: 16859bd4-64aa-4927-846d-08da3d933e94 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:39:44.8253 (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: B669/A4AkerbPihiaNGhyXydl6T3H/U2l8yrwhfn4+PlQXahb9fLfgL0yukHMS19tKO6ovqAZHG7pHckj5x7MQ== 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 API for configuring 'pause_duration' which used to adjust > the pause mode callback duration. > > Signed-off-by: Kevin Laatz > Acked-by: Ray Kinsella > Acked-by: Anatoly Burakov > > --- > v3: changed printf to RTE_LOG > --- > lib/power/rte_power_pmd_mgmt.c | 25 +++++++++++++++++++++++-- > lib/power/rte_power_pmd_mgmt.h | 31 +++++++++++++++++++++++++++++++ > lib/power/version.map | 2 ++ > 3 files changed, 56 insertions(+), 2 deletions(-) > Tested-by: David Hunt