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 69B1B457FE; Fri, 23 Aug 2024 09:36:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08FE1432E8; Fri, 23 Aug 2024 09:36:37 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2058.outbound.protection.outlook.com [40.107.21.58]) by mails.dpdk.org (Postfix) with ESMTP id 9082D43003 for ; Fri, 23 Aug 2024 09:36:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WUGHUHQolTPYzV+4I9ECGoEY63B/2bMybsfbAxfF3vsnfDSZ+N3Rt2XiL8L13dlc6HUh2y6cM6VeHI8k3LTwxpphrOiwUrK1JrKnq/D+RCpVb0tQOO+h43TR08qQgoMF8CHwLCTOaUP+a0Hfh1AGnmR2b72coBFHvNMtT6dlKWuUwAE6oHqijtVUcPt7rZ4q9e8vSqLGeWgXfJen37t2kC2tMHOd4VuZw2Ob1mpX28x2x+oDotU4/tGBpkUqI9qPEwlSaJQHLPpNGlzUh/SknPtAoQYYYPAv0z9P0bJw0HqipX8xkxuhaS+yI/A0DMCe8X7PXJ4HzqdTXFeB4+HKpQ== 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=kFQEgLhhEuZ8p9Vd7mdu86fNOyznB3Qy8xjF6P0vgEQ=; b=a53osLqd+Ov08O2kRlPdVSeQR/06urxQiXhdtbNiuX52iX1OpkwH/+yngAJ3WowIeH4Kve3JlMYUfAiQWciTAReZbNB2dOWj/JSwMHbbgV0wasonNGJ32K8Idjh+5TvV3xtwJM527chIWYesR9A9A2xYX3AxFAkcAHF9k+v3O6NtkggVRv3VnmtvfSqT3UV7I29vN0mXxyUhgoBBL+kGezu9qc4KGpM+pSx1fmDiwzcZ6GJkob1pRJgpHAvgRF3qIIzfYR3gOPLiw0Ohrl+ZGF6lI22E/J6zaqx4WBF8hPWgGcRxDlsDhsbZtgkwqI/N/86y4K8aw4JvoihraU78gA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kFQEgLhhEuZ8p9Vd7mdu86fNOyznB3Qy8xjF6P0vgEQ=; b=xXXwfaW1Ub6AXoq3uCfS4puyX49/BZyWirjnmqa9taeCZ0lOq9ouKIOMo77bj72yzRS9/mII4zLR6LTB28A8XCDfqE4aCbJr03C0p54hvf0J7s4++TBpHrcZnk5Rdr5YEbtb84eUQl3AimJCxVA7gvEXvG7gt1JqHVKFqwu+y891g/yOiKiXYbR+7HlBr8bZeL1khw9bcdb0tXo/YKUkkTjWOytCY/U1TK6rEwuRJ9xx5cdtpUfMAecg0d5p43cKyD8iGe9gj2finJ8cOokv7z7qhl+/vE7Ds1HXuQFCauXam59kgq+F7yg2vGyl7s1xte6+WpT+pYcNxAdyq6EdMQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) by DBBPR04MB7994.eurprd04.prod.outlook.com (2603:10a6:10:1ea::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Fri, 23 Aug 2024 07:36:17 +0000 Received: from PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::367:d59:375:fb87]) by PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::367:d59:375:fb87%3]) with mapi id 15.20.7875.019; Fri, 23 Aug 2024 07:36:17 +0000 Message-ID: <48ba21e5-0b5a-00b9-5fc7-79d598b9dd98@oss.nxp.com> Date: Fri, 23 Aug 2024 13:06:04 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 09/17] net/dpaa: support IEEE 1588 PTP Content-Language: en-US To: Ferruh Yigit , Hemant Agrawal , dev@dpdk.org Cc: Vanshika Shukla References: <20240801105313.630280-1-hemant.agrawal@nxp.com> <20240801105313.630280-10-hemant.agrawal@nxp.com> From: Hemant Agrawal In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR04CA0158.apcprd04.prod.outlook.com (2603:1096:4::20) To AS1PR04MB9336.eurprd04.prod.outlook.com (2603:10a6:20b:4dc::22) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|DBBPR04MB7994:EE_ X-MS-Office365-Filtering-Correlation-Id: 084f37b3-c20a-415c-fc12-08dcc34645cf X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?SDJqTnZCNU1KeTQzOXpJNU9GdDF6aU91cWVZYzRlRzFvYmJxVG9NaWFqcXVa?= =?utf-8?B?bks4ZzRvVTJUUWQ3UHA5K3g1bFNZNEdUUEdVRmlRdUhDbEwvNzk0U3pRRHM2?= =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PR04MB9328.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b3hCdmYzZ0w4dEVhU1BLSVI4T0crbVVUT0JsemNHYjluNDB2VnE0bWQ5NytR?= =?utf-8?B?S2ZyQlRGNXNMMXlvckRjb3NYV21sS3I5Ukp2N2FzL2dSdnVGV1J2OG9HaWo4?= =?utf-8?B?TFF5cndEQUJqd0Z4clN5WHEzUzFSbkNYdktPRmpoZHJYQWJzTUJONHdiZDhy?= =?utf-8?B?QzV5SHdEcUtOcm9IR0ZINThZVjY0Wk8rNURGVlNhNGtwUlQ2ZFNiZUdpWU5Y?= =?utf-8?B?b2kyaXN5SDQzU2U4cjlncitiWWpOWEpuQStSUkNrVnA3WXBLNFRoU0JIaVdP?= =?utf-8?B?enFTYzNtZTRkV2xYMFkvZHk5MVNXSDhqbjNndzBxNHdjZGExS08zZVF0TExZ?= =?utf-8?B?MXFETEVaMld2MTFhQU5MZWI0NE1jSjZVMUsrcVNmMXVMMVM4eEdjZGc0RWRn?= =?utf-8?B?SlBPTEtWSSthR2ljTGVXak9uVndUcG9ka25SWUVSRmFINXdPMEt4dnhCbHJE?= =?utf-8?B?TGxIMFFJekFNUGpselRubU9rbTNLblczOCtkUXRXbE1CSE9KZFdVWTc1ckQx?= =?utf-8?B?OEJ1QVdjSStOQlBzS2o3bTJOT2hlWDQ3dy9VNCtyWGFjYnZBcTZiRmw4K2Z6?= =?utf-8?B?WDYxNEZvcENPNGo5bUVZT1l4OFNTVkJkbEI2NEVzdk5uZUo0QWpjV2F6L0pq?= =?utf-8?B?ZFV5b0c2Y1V6aVQya1ZQMERBSWVRclpaa08ram1vaHMrd2JheWh2U2RsWlM2?= =?utf-8?B?MDFKNk94WUt6QzlYcDBWQW81RkxyQlFzSG1KUTk0WUhEc1hRT29oUysrdXQr?=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NLZWtwSGZZeUJr?= =?utf-8?B?ak9vbGNXc0tKRU5BNk9OaGFBRHVWcElUYThESnNKaTlGK3E0dlhaQTIzSXN5?= =?utf-8?B?ckxRNFIvVVB0aWF0UWdXM1lIRE5YWjVBVnJmUlhxV0hSK1J5aDF4dzdZUWNn?= =?utf-8?B?b0VTVEs5QkRHNFcxcnh0cWMrTXVkOEZ5OENYUk9RS1F4bC9JWEczN3llTVVw?= =?utf-8?B?SUh2YlVIZG1vblUzR2t4dU4vNGdyNGd3NllzRFJVc0ZTNFZ0ZTR6TjIrN0hy?= =?utf-8?B?S1p2WW5MdkU2NjFHQVplQkg1K3RmQlRQd1dxT1dBVmZCVTBxd2ZrdWg5MU01?= =?utf-8?B?dVNZVXR3T055TXF1eUM5VzlIRll1R3FLV3JaKytlU25jdGRucEJBWEhKd004?= =?utf-8?B?T2VyMWlJeFBBaWYzR1FuKzk2UjlldjRaWTFKV2lwbm13UElNZ2MxRWZxNDBG?= =?utf-8?B?dlc5UEh4STgrblJUVzd0c2tkN3dmRWhCZHlJWHFEdXBHdzA4T2paaTdjOTJ6?= =?utf-8?B?OEE9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 084f37b3-c20a-415c-fc12-08dcc34645cf X-MS-Exchange-CrossTenant-AuthSource: AS1PR04MB9336.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 07:36:17.3203 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0rBN2CBC7o87eec5egPGiSHtTSkpUy8xtdxbROBOuCdkUU+WX1wH88cD8Umrq+vdgxsWKivvdIpdg0nlTJ+r6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7994 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 07-08-2024 21:09, Ferruh Yigit wrote: > On 8/1/2024 11:53 AM, Hemant Agrawal wrote: >> From: Vanshika Shukla >> >> This patch adds the support for the ethdev APIs >> to enable/disable and read/write/adjust IEEE1588 >> PTP timestamps for DPAA platform. >> >> Signed-off-by: Vanshika Shukla >> --- >> doc/guides/nics/dpaa.rst | 1 + >> drivers/bus/dpaa/base/fman/fman.c | 15 ++++++ >> drivers/bus/dpaa/include/fman.h | 45 +++++++++++++++++ >> drivers/net/dpaa/dpaa_ethdev.c | 5 ++ >> drivers/net/dpaa/dpaa_ethdev.h | 16 +++++++ >> drivers/net/dpaa/dpaa_ptp.c | 80 ++++++++++++++++++++++++++++++- >> 6 files changed, 160 insertions(+), 2 deletions(-) >> >> diff --git a/doc/guides/nics/dpaa.rst b/doc/guides/nics/dpaa.rst >> index e8402dff52..580edd9327 100644 >> --- a/doc/guides/nics/dpaa.rst >> +++ b/doc/guides/nics/dpaa.rst >> @@ -148,6 +148,7 @@ Features >> - Packet type information >> - Checksum offload >> - Promiscuous mode >> + - IEEE1588 PTP >> > When PTP is enabled, please update the .ini file to advertise the feature. ok, fixed it in relevant patch.