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 3CC2243272; Thu, 2 Nov 2023 22:13:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2BE740262; Thu, 2 Nov 2023 22:13:28 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2057.outbound.protection.outlook.com [40.107.93.57]) by mails.dpdk.org (Postfix) with ESMTP id 271BB40144 for ; Thu, 2 Nov 2023 22:13:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SgoqkLEaPTsVx+/2/GPzqR1kcC/YH66IYSY+JO0BotxsJl01lB+1WhflfKOmZK7ir4Zfe8BgMGYV2cyD+yANfB6hTeR+CI32O9zcPF/r24S315yqJ7vHnnlKehcM+96J6suxhtkVg6wyVsE6on3v1G+kQdSw3oSRpOIdm14zUA7ZbRfUH6hpsrTPXxQrve0TWgrLZLw1lArx4UeqNlCHC3dv9ajwjaJcAZF7xVJ7ECpAkSzT0uJVTKdBtrH2M4bPi9CJJ8gii1kSMbR64ffWmAe+2d0URLexzJ9VqcWgXKdwyLmLMe4s4xkb30huWz4r6piW7mvxCGQa8V5ZK14QfQ== 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=NpIKaEqnf5RfhoYLFh0RsVfI2x+z2kUsfA7U/3GBnzQ=; b=OKR0AzOh5ABYEquSH66G/5jMoK24VcZEn1jjA96HnuI/MEGBjNbSk0B50BBY1jilW2w2kqxRRfli1nnlCeu7G6KGOa0I+HPNmmOTRUG6KUOxQo8BFxM1UhNB5TBPtp2PZOh1fkDskxrY6jfT4UBHnmc4uiLRYJjoGOwI6ukk3D1aF13gqjGyW/wVfUaVpH6u2gNaoBaTy8Y+VaBAoh6BAFbuwEKlKKylveXccC3ahywKOaDFzZ1dBlrs3L7ECjs3bY87jsLiKgcIyVOUoc53v3ylle3G9faHw1EVFh1Eq9+wDJqXa76/KAWp1i521W9AwOUDr/xGCKUOqKuRMRqKlw== 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=NpIKaEqnf5RfhoYLFh0RsVfI2x+z2kUsfA7U/3GBnzQ=; b=oqyjFQ84XS4bT7G5OLVa3DesLYYYzuLvuo4kzRoFhk0KMOhTH0/IOkkJN1T3edh9Wtgprnd5xMb2tL8Z4HKHrrNc3AN5O7vDdgP+VIgWYUaQTXP2qV2PgMMepDuxmVmrKnr0eVQrOcY8RjIbnTZLrBeFRmjBaZEZuLtiKa2XfLE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by CH2PR12MB4908.namprd12.prod.outlook.com (2603:10b6:610:6b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21; Thu, 2 Nov 2023 21:13:25 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.6954.019; Thu, 2 Nov 2023 21:13:25 +0000 Message-ID: Date: Thu, 2 Nov 2023 21:13:14 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drivers: remove compile-time option for IEEE 1588 Content-Language: en-US To: Thomas Monjalon Cc: dev@dpdk.org, Aman Singh , Yuying Zhang , Ajit Khaparde , Somnath Kotur , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Hemant Agrawal , Sachin Saxena , Simei Su , Wenjun Wu , Qi Zhang , Xiao Wang , Beilei Xing , Qiming Yang , Jiawen Wu , Jian Wang References: <20230203132810.14187-1-thomas@monjalon.net> <3a74993a-a37d-381a-f33f-49deff8f0f10@amd.com> <2634630.Isy0gbHreE@thomas> 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+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QAR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fxJ7sYM4P8Mg5kKOsaoUdyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <2634630.Isy0gbHreE@thomas> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR4P281CA0207.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:e5::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH2PR12MB4908:EE_ X-MS-Office365-Filtering-Correlation-Id: 173b409c-6c4a-4c84-a0b3-08dbdbe88d2c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BGrFq6G8b75NTMGUWLdns/T/ES8pdoF0Wlg1dnR96sqDqAajnm7pvarxvkGRhfbyGOBNKXHJOjFsghnpk2tSlWt4jpBQEEgZDDPJLSwwHeXwkPN71jbPdWhzRG3gLIJmNVuO8kwt+XCbb7gS74qoTXaXCz/JMzzDdf36Rzl3ZQoaz0pOtvbqWxVCCtvosVTCzj+GiNlWkgAoLA/iiq79dB25G0//LCrd0QcYR0SaUxby3bpsOC+MjlZ8qCmXUlg7v+pBv6XTXggpevgs4JN5k3gtkg1mccHHLqi1/GjqftD9q4tVKRb5sFmHgdfbcgH+oVvis5jUFla/ctxib/xPnQT80J82+hxLFxx3C8rAiyKjh7JjdNm2LQeST8OhBI63CsaLGGd+o0PcUFY/CiUcsj/DUB8cgFSZNCGqhOWJ6N0HCHyrV5eFthfraxTDTeLazZw0QariQK94n+kpV+TRXFzqzsqETZ/RYeB9FLeLLRzQk2ucGbEaHo1vMG5eSHaf/AaaSqaY+kCT57jwKS7sTSQDrCbqg+r+02mK3lhtyu7KRThel0+/V4gIj7BgGEJOMVYFQOGZAShqvG1rRdoDp5dAha+7ULlSPZQTx/wvapYWEoqtOiJGLbidm5WAXzasG9pIKvmvIiJtixJTLOMnuA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(366004)(396003)(346002)(136003)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(41300700001)(31686004)(5660300002)(2906002)(7416002)(44832011)(4326008)(8676002)(8936002)(6506007)(66476007)(6512007)(2616005)(316002)(54906003)(66946007)(6916009)(66556008)(6486002)(478600001)(6666004)(36756003)(26005)(83380400001)(86362001)(31696002)(38100700002)(53546011)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TXhvRlQ4VU0xWSs2TzBBdW5lMnVqam9ONFFYUVk5Y2kxQ1UzRXZDcGNxLzVx?= =?utf-8?B?MVROcUM2WVM3UXgySVB3dmt1VWMxaUdUU1NOU2lRU0tqUTdmQVQ1TUwxalVK?= =?utf-8?B?OG5LMjVrbXQwTE42MjVaeVFGYnRHK0xHb01uc3YzNTZhQVZTbi9vYWpSZG9o?= =?utf-8?B?eDgwNjlIaXhHck9PdEJFTjZKaU9ZWmI2L2FtNWFMN09ZNjBCbmpJcTZiaFpE?= =?utf-8?B?MnVCMTVLaDlnckczRmoraE1TVUJRSitJWXVMMHlDM1VhelRCNFpLSmVjR0Fo?= =?utf-8?B?THdYSlYrUUMzeWpEd2EwV3Brc0s1STVDbGxTZS9CTVQzNUdaSjM2Q3NlMWRp?= =?utf-8?B?NTNHUmlOZkV2UHNNQVZKSWNrRk9FZ01QOUhBOVFHeTNYRGFBdFJ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Id: 173b409c-6c4a-4c84-a0b3-08dbdbe88d2c X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2023 21:13:25.3045 (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: Kr/2wDbaCIhWf7lCvVP+TiJhTJVVIhL135+voude2dujhdKlqF4c7dznpWWtt+FJ X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4908 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 6/25/2023 4:45 PM, Thomas Monjalon wrote: > 23/06/2023 16:00, Ferruh Yigit: >> On 2/3/2023 1:28 PM, Thomas Monjalon wrote: >>> The option RTE_LIBRTE_IEEE1588 has no effect on any library >>> unlike its name. >>> >>> Also we are suppose to enable/disable features dynamically, >>> not at compilation time. >>> >>> And the best is that this macro is neither documented, >>> nor in rte_config.h. >>> >>> It looks to be a mistake keeping this flag, so it is removed, >>> meaning always enabled. >>> PS: it is disabling vector paths of some drivers. >>> >> >> PTP (IEEE1588) processing brings additional overhead to datapath. >> >> Agree that it is not good to have undocumented compile macro, but just >> removing it may cause performance degradation. >> >> It may be possible to have separate burst function that supports PTP and >> driver configures it when application explicitly request it with a new >> offload flag (although it is not exactly an offload), what do you think? > > The best is to enable dynamically with different functions. > > There was no comment from driver maintainers. Perhaps better option is plan flag removal and execute it, like to remove the flag in 24.11 LTS, this gives enough time for drivers to update. If this sounds good, I can send a deprecation notice to record this plan.