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 1837AA04FF; Tue, 24 May 2022 16:38:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B91B040140; Tue, 24 May 2022 16:38:58 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 88A66400D6 for ; Tue, 24 May 2022 16:38:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653403137; x=1684939137; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Zc+BP2doHr1EnzJsXeuzdFxspvuthTU5RaUXzPzuLNA=; b=Y1Z+vbaQU3Xp6Xn9n5wJWTf2CDSC2qp19P808sd2LmK8FXH23NzT6ZWz Z+pXpfQk4YxxdO62HADuzE5eCZhN9n4RXEH0jFHAZDjUxJvzy3s5s7aBI 85uvSa1q0+gApItlZEebL4B7n9APbWAYsDGvhDWT2mcyzVbtR1Lnu2lrf +6x3QeLCuICHX0GAjXNxN/OeUfpnjFewuFChW4IMA0WQVW27KiAGwtHTe eWs3jxaxxOdQSnPchv34eptyLzk3j35i/nR2npShk5Me4XeCCi6hwWvYI GjQzClNuDB+9bhfObX/Cgc8cHea/7iK4w+JUxHcvVE2QgHIw2w0lDtk5o g==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="273661554" X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="273661554" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2022 07:38:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="526428642" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 24 May 2022 07:38:55 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:38:54 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:38:54 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) 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:38:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oS+ku3fescrP4E2uD84+eX5FVDVrl722gWBYYj25aE3f3KLDQyA3olDAxQ1OYQ1aWE69xj27RXZYH2p8Z82ecNTMgPUPOfhsO7bQC89Sw/cI7jygdVu4ssJ8QmfDWm5gTwcnrR3sAcUKXbJMgIJGe7bQNi6q3ninp4ZI1vxHYSR420NMUh6VwzEVtAdYgoBswmzas41WMgLi2+Fl10EjlEOIbnZVdh9x6K9P0dedBFGULzaQwf+Oj2XzhIlpQaKoB0Zf9FOHy4l2QTIusBxK/SXTeHShPAAQ3J5mWiH4g8LL60s/8Pzd3in5aaIhHvWBy3ZbvVeOeSmnvpTwrkQITQ== 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=TxZ3YIhBvEIAAP3tcsBPHFyH+XgUDoSj2tw2SwX64rM=; b=g9hJ7qXAguOJJm6LasmL3aQ0s7SnNO4kXbB4UuEZ98R4qCL3sZ47CLhLBIgFyeowjGHCgPo2xzu4w2FDgxU6QLRe5F+e1jqCfZnra1J5TBsb92oyLchRjkRPE84v/lWBiEmlTNzFEU0DfqZyqu0Y8kRa/KZMdYyXzaj2UhU4dQLYovRKu1b912vl48nZ2GNM3bI0kzAcqOGqYmehfshoK8BrGnhULH7loiebVs3Zz+d158GCwX6StXccUoaD7+llq/xp5E9Js1AH/7w8LTfXNd0S9Uh4jcKkI6yLSVszm3IPko2zdqqlghVAKe/n3Zm3AuJkOtiy10KlrdsZJgxUYg== 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 PH7PR11MB6449.namprd11.prod.outlook.com (2603:10b6:510:1f7::17) 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:38:48 +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:38:48 +0000 Message-ID: Date: Tue, 24 May 2022 15:38:42 +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 4/4] examples/l3fwd_power: add cli for configurable options To: Kevin Laatz , CC: References: <20220408140847.1319312-1-kevin.laatz@intel.com> <20220524131407.423609-1-kevin.laatz@intel.com> <20220524131407.423609-5-kevin.laatz@intel.com> From: David Hunt In-Reply-To: <20220524131407.423609-5-kevin.laatz@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0160.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::21) 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: bfc79e20-4321-4f90-162e-08da3d931cd0 X-MS-TrafficTypeDiagnostic: PH7PR11MB6449: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: 6NpVOEG/FnxO3JNSlP8b2v5GY+HN6FghjDWWf7VSXbE0KE7iYpd9wpd3filD7dhN7CBLXQJ/Th0AZ1x5Ij1agW8eRqUwmRzT1bcvNaGA07D20+6VIynWQ1YtWowoeCmgnBBOtbdTzn1gqBDmI/ICZ1AqH17/UQv745xqCdQmHWE61fQYobiJF/eXwUnkWmPibp/yGdTd0sAQAKl5NEuLNFx8aqHSNpNDnLXhdqsTXOPy1u53MzWk2rT9HI27AOueBcGwz+Tn2ouCjkKsis5hmEIHZQG8ZwSh2hUEn2Vn2s12wXVAmzELc9OeTj0vDAfgbteeQj5L2hoU29JvsOwuLzS9TowtmA27RyHFFxXuIXOtUrz+cG4V4Ml8nSFnCGSfu3JjikvJ9+d77YVGbR9COH2O5STUh4LuY0DV3FvBhFwnh+n6rQu35MTzMTTTM80J8zPkdYNdlNfteC46J4rJ8XqNLUUt2axAUCltnmIJfXXVfDEv+GHN/BjYrUnb7J1NMXQDk5Zkt53oITYXtZRjCJbJI3DXchX91fcZKEsJIqnB11Z2Z6j6NuZTLQXuvs6+smeZZvRORayCRJb0NMbBxO2lTKNuiK/uAC6bIfpV7gzD47VJoD4pFJnPmhb1riSCVRHRVAs7o0rfIpzMhAVZSBvr3gzeqlsKmxWrAQDOGxwjrx1Xo2bevM1UOOUgTwf/Er9dKnfA/6I4j+KGVQ9Jbp/rUEZqEIfLAXxTMiA8B5o= 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)(6512007)(26005)(186003)(2616005)(6666004)(107886003)(53546011)(6506007)(5660300002)(31686004)(36756003)(2906002)(44832011)(8936002)(4744005)(508600001)(83380400001)(66476007)(66556008)(8676002)(4326008)(66946007)(82960400001)(6486002)(86362001)(38100700002)(31696002)(316002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OTRNcnhDMllOYlNiZjY1L3ptdHBsNjQ2QTJZNHdkT1dURVAyMnlVSm9UTlQv?= =?utf-8?B?dUxBckVLbkNpcDE3WWRLY1MxNlE0TGpSK0RWK0NqOFZLQXI0MWpWOE5EMlVU?= =?utf-8?B?VVBXSkErUVhrWVEyek1kRnE2czJyUVRBWTFrdjVmNm92dU9wQW9EUWFWdm9i?= =?utf-8?B?V2tNVEowKzVWNkxmQ2lMVjVJWG5HU0JoMjZtU0Z4T3B6aHRTZzZVRlM4ZmJO?= =?utf-8?B?UDQwNW41OStRR3RLbGlmZXpTK2FTdC90eWNjMVVLa0xMZ3NaRTZYWGpFWnVC?= =?utf-8?B?a0lnazJJdjBnUm9CTWYyVUE3bERMS1F2eTlGSHpGRnpaUFhWTU56enowa2sy?= =?utf-8?B?Z2FobHd1NEpvVVVuMFlrMXBGajhhYlBDRWFkZW45cDQvK1g4MXJBbXlpdjBx?= =?utf-8?B?NFVLQUpSbTRXNFg0cDM3MU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3dWxwK1JzNVBvdkVZZW85?= =?utf-8?B?dzRuSzRZeXdvTmdsVXN1Wm93ai8rVkJLakdGclVwK21TTmRpUXIwUzcwV29O?= =?utf-8?B?NjNzd3JZWklRSDhJWnhjMmdsVU1CcHR1em9BOWpyMUx2cFJRWndUQT09?= X-MS-Exchange-CrossTenant-Network-Message-Id: bfc79e20-4321-4f90-162e-08da3d931cd0 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:38:48.2513 (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: dwJiglCxH1BODjlfgdKZhA87PWKNmTR3oLU8z9PLsm0Fy/tnHWRIDYao7NUrWEGAY6zjkVGqygU+JQg/RuI8ZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6449 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 CLI options to l3fwd_power to utilize the new power APIs introduced in > this patchset. These CLI options allow the user to configure the > heuritstics made available through the new API via the l3fwd_power > application options. > > Signed-off-by: Kevin Laatz > Acked-by: Anatoly Burakov > > --- > v3: move setters out of arg parsing > v2: add doc update for l3fwd-power > --- > .../sample_app_ug/l3_forward_power_man.rst | 8 ++ > examples/l3fwd-power/main.c | 86 ++++++++++++++++++- > 2 files changed, 93 insertions(+), 1 deletion(-) > Tested-by: David Hunt