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 3E25B45A6D; Mon, 30 Sep 2024 22:51:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06F7240273; Mon, 30 Sep 2024 22:51:47 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2046.outbound.protection.outlook.com [40.107.94.46]) by mails.dpdk.org (Postfix) with ESMTP id 956914014F for ; Mon, 30 Sep 2024 22:51:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ezd9AAREaGwQE6fzC4nhsReDbIRlKilLPmp34TA4i/MIVlY4mkwMGBxlTwRxKaeOe6cmeQkkdW2L7t4AsNlMI3LBvhL5IwTumDvfayzYQoWdN2W/ifvayjUKPq4zKaQUoIXRd0XEUr7XaEKWCKbWElDcjoz+25WFzcHmV3EoDJyzhJSJQu7OYw/V6Mo0hkMhTLwpx1khDS4bQKD4bfQAOEKoTOGt118My6T5IvN3kbrModKMulU4UiMtH0SyqHjDanyqabUpKw3PPz4HUMDRiFnpOyHDx2zZlNB8aImhWaA7/9qtbWp5YqowAM3xBVOheqaOg4VQ/6cGCn5002+rYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Ik0Tlai7BnDqMwcl897jXv7ynsQtifhDgdnXl6OrveE=; b=MTV2huiE3+RE1YUicVQCajk3mUvqqtZNDSx1Xj12Z369TKg2OqaVWqERac1ldfgjq1idVWZVgoj5MspWPEcXNGNHoxdcwUkhK4yfxnh+4FAsUhZIepUpLtpAOhkxek9HG0b7FgfPdcNx2ZxPKqJr6jutp4oeJFz1n3B+akg4n/uxlmFtYxEObSzfBNG28i6nkKBQOV9r8UnGv5bmxNpuwvtfYtvHfGtxpi0b5mCxBmBrUi61GuQcg5PPfXe1C07Hr7LmtePHdBEfxi6I7RxLHrvMEp/UpL3CwGUV53naljDLx1gsTP/jnEFHNr26xTbJ/nAM7cmKQq21avXyEuEMHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ik0Tlai7BnDqMwcl897jXv7ynsQtifhDgdnXl6OrveE=; b=Klk8Pwt7+q8kyaUayxtFLB9NnosR7qLUsac6NuF8YCP8pbMy/9Aam4XpXBTuQoi9cU5iORAd0sE+nsOiVMWFbpSMSSDkHfeXz9MFeURb9tYjKs+Ian4yTj6b3y4cITN/gyu5k7Vmunav6xqtS9ShnIVX5SeVdt2dgH9oElBhIrE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by DS0PR12MB7655.namprd12.prod.outlook.com (2603:10b6:8:11e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 20:51:41 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8005.026; Mon, 30 Sep 2024 20:51:41 +0000 Message-ID: <5c3a0c62-39a0-451b-bb54-b15355254d13@amd.com> Date: Mon, 30 Sep 2024 21:51:36 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 3/3] examples/ptpclient: add frequency adjustment support To: Mingjin Ye , dev@dpdk.org Cc: Simei Su , Wenjun Wu , Kirill Rybalchenko References: <20240910091328.922082-1-mingjinx.ye@intel.com> <20240930084216.1174034-1-mingjinx.ye@intel.com> <20240930084216.1174034-4-mingjinx.ye@intel.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAI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KBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240930084216.1174034-4-mingjinx.ye@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0091.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::8) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|DS0PR12MB7655:EE_ X-MS-Office365-Filtering-Correlation-Id: 0af200ff-65b0-4a6a-9900-08dce191afce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dzY5Qkt0Q1g4bHdpTWlIbmJRL0d2THBJNkZiQnNUb1VLRnVwMlhWMUJTR013?= =?utf-8?B?R2dHTzR6a21vVzA1THZhc3ZlbFpJT25EbExUSDNsWDVuSkJrdk01WE82QWlp?= =?utf-8?B?dHlRWXdkM2hFNWpaVEZZVGpJanVWOXRNbzNTUXp5OWYrYmJpZWZQSnhSeTE0?= =?utf-8?B?SlhEbFlDUFJBUXEwV1pjMVUxZ0RkK2UyRENYcEJhRFh0cHc4Vko3QjRVMFBO?= =?utf-8?B?S3VwQjNBTkh0SDJyMjM0MEJnckNBRDRoSWZrUmd0ZWxwSkc3cmEzMzc5SEdN?= =?utf-8?B?ZTZtVDhIcVRPclR0QWtvZmcxaDhIM0pRcW1vNHJpSWw5ZS9JTzRBRExqdjFM?= =?utf-8?B?WW92ZVhSRnhCWms1b0tUOWx6eDMwVlZPbDg3eEtaT3hJK3REQkpSWDJ5NSt1?= =?utf-8?B?SEVaOVdDRjhNdlZvaG5zOXFWWXl0aFRmK0ZHZXFTTHpweVdW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MDRyUUp2NnhJcXY5eTR6?= =?utf-8?B?SWhiZEk3K1Zydm5PbExBemhjbk5qMGEwQitBbE1GWW9kNjdCemJ3dTBxbkZL?= =?utf-8?B?WTZXZFh5Q2tMa1NaVXMvbFRpTXVlaG1YaGxMVmcwc0ZsWEZrcXRlcXUzMlpo?= =?utf-8?B?aFhLOHRVd3BBaUZXcUwxNFRKQ2ZwZ2hGS2FlbFpwdHRTTFNPZFBaY0VNa3Bt?= =?utf-8?B?cnZidFh1UnlCZ1pmWjlQdFRKcjYvZTFXSUdqa2tzKzVaK2s3d3ZOSzRVZC9H?= =?utf-8?B?UExNdVRwQkl6WkZaSk4yaFc4RlM0R21iSVlaQnorNHR0SjR5U3JYYlVaQi96?= =?utf-8?B?ZE9FRmo2T2pjR3dsMThGYzZ2U2RxVFN1dEZJWEJYcEljT2tXaWxkR1FDWVl5?= =?utf-8?B?ckU3UUFzdVNUSSs4emtncjJiQnVJQmlURHE5SXI1SFB6N20yWEpnU3BDTnUw?= =?utf-8?B?S3lVNHE1UURVREZDbnBuQT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UUVpcWxUWHJDTy9Pdk0yUU41bW5SdUJ6ZTg2WEY3WlFZaVJBZDJsUGd4ejRU?= =?utf-8?B?Y3FWbFQ2QlBHQUJKZlk4RWdsa0QwWjgrZngvK1ZQOWNmOWFGM1IxWVVTSXJh?= =?utf-8?B?UnB0TU1YcHpGT3ppQ2ZCMzI0alNmakdRem5OMEVmOUNvUHE5S2h3S21UdGtz?= =?utf-8?B?aTJWbkFqa01Pa085and5ZkZrcVRsVU1SYUR2d1B3ZnlJSmZwa2xUY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OHNzelUvTzVCdGY3TktmSzY5N2lzRzhs?= =?utf-8?B?R1I3K2RZRDNlcGNDMk4wcDRtZkUwUVoxYWJkMVpsKzRWbk0rdFJneVJ1R0E1?= =?utf-8?Q?eSs56me5rTsFkU0VMqEL/HwPB?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0af200ff-65b0-4a6a-9900-08dce191afce X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 20:51:41.8031 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: R2SAJWsXrmkl0AeAtWksXj5Bh6IPIps3T7zb6aY+IHwJBHu/LHkxDxizbs7M8isH X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7655 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 9/30/2024 9:42 AM, Mingjin Ye wrote: > This patch adds PI servo algorithm to support frequency > adjustment API for IEEE1588 PTP. > > For example, the command for starting ptpclient with PI algorithm is: > ./build/examples/dpdk-ptpclient -a 0000:81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 > --controller=pi > > Signed-off-by: Simei Su > Signed-off-by: Wenjun Wu > Signed-off-by: Mingjin Ye > --- > examples/ptpclient/ptpclient.c | 303 +++++++++++++++++++++++++++++---- > 1 file changed, 268 insertions(+), 35 deletions(-) > It can be good to update the sample application document for this update. Also can you please provide more information how this sample can be used to test the application. What is the environment, how to verify the function is working etc.. This can be documented in the sample application document if makes sense, if not in the commit log. <...> > @@ -724,6 +941,11 @@ ptp_parse_args(int argc, char **argv) > > ptp_data.kernel_time_set = ret; > break; > + case 0: > + if (!strcmp(lgopts[option_index].name, "controller")) > + if (!strcmp(optarg, "pi")) > + mode = MODE_PI; > Please use "struct option lgopts" for the return values of 'getopt_long()', instead of strcmp. 'l2fwd' (l2fwd_parse_args()) has sample usage.