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 F1D84A0C47; Thu, 2 Sep 2021 12:02:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC76D40041; Thu, 2 Sep 2021 12:02:24 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 3A5E64003C for ; Thu, 2 Sep 2021 12:02:22 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10094"; a="219116882" X-IronPort-AV: E=Sophos;i="5.84,372,1620716400"; d="scan'208";a="219116882" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2021 03:02:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,372,1620716400"; d="scan'208";a="578097516" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 02 Sep 2021 03:02:21 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2242.12; Thu, 2 Sep 2021 03:02:20 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 2 Sep 2021 03:02:20 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 2 Sep 2021 03:02:20 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.43) 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.2242.10; Thu, 2 Sep 2021 03:02:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BI/d4rmypJyXRbGdOj7tRvC8HQluO7ntc0Our/P99NMK5x3V4lyURtgI1m2mMm/Ji5UWWd+viw8tjhdemi13Eoa3pR+14qEeymTez3nQUU85Nry2UOCMrLlQKQv6b85ifTCkINGjkMuOgltwjaM72gvFcuBiIiRTwJoSkvOhxo+1dtGVWl/56j/cc8EI/1zLOrY39kI4mGPA2/tl4Hjgwy/P59mrMml4yhrRW63G/Kygo9EalhJAU7Vl5WhKwkESpJsjWIeO7+aIab228OhVOaUXu2eDzSf2rf4LbHy+muCkHXA5Dk/R7Tn4sIBEWrzXcCrKbDpKpWukJKwGJQF/iA== 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; bh=9rnlNZdWohGcLcBMwSl4j0yoJZIw8sICJAnR7eSqCYc=; b=ecWZyR5HAGYDd/Zl7dVYdumEQpSWSYsr+eTPYFi15MeFdR2AMFPa5Vk8X1aNKVn2z9lUiR1G9rK23OemWMtLseWZGmB0enjYpPXk72lDuOSsyCTY/eg/Tfq8Pr7/JdrWwd74cjqr4gRCnBAEHRMUbHMynp+U2ArB135cQ2RETcwPIR9aWcVuKnwOffs/AbE7mWtQt138Z+DnOaDREcTS+HEi39msDfHlWuhpRJPmVX3bZdvQrzAIx0TTQLL50k3p85kADvToE5JssXpBgPDKMXAIg80NZ+iAa+yjq7XHJkfCSimSsjpWhbboENhoOl963dnxdXUxaHvenOrVsfgGdw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9rnlNZdWohGcLcBMwSl4j0yoJZIw8sICJAnR7eSqCYc=; b=D4AlCTP0G5TTNvz4+jOBCozdOLjMhjpdjFsDg3bLadyaMI/1pGoq7XcLii1oUitEQ2nSQl2FzHLH0cWmTho2AZLZFVzGZviydHT0duylPwf7Muqj8fBVId8aOkN0rqOcix+2EbZl6msXIiJ9mXNBZaaOPYibvCaDlb1GP+s+F64= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5111.namprd11.prod.outlook.com (2603:10b6:510:3c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17; Thu, 2 Sep 2021 10:02:17 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4478.020; Thu, 2 Sep 2021 10:02:17 +0000 To: Bruce Richardson , Aman Singh CC: References: <20210901061821.5259-1-aman.deep.singh@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <53eba2ae-7406-6aa2-496b-58bb3b224e7e@intel.com> Date: Thu, 2 Sep 2021 11:02:11 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DU2PR04CA0174.eurprd04.prod.outlook.com (2603:10a6:10:2b0::29) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0174.eurprd04.prod.outlook.com (2603:10a6:10:2b0::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.20 via Frontend Transport; Thu, 2 Sep 2021 10:02:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03e97481-af30-4e16-e9cd-08d96df8beca X-MS-TrafficTypeDiagnostic: PH0PR11MB5111: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ipWTssN0808kwarz0KtXTg4ABWVwTT8msdcIFQ1mkPlO1s3mfe0cs4pIWb57cYngufMiXuL0lKCCLBmJaHkwBsnY9xMeIKALs4dt1BNBlLngfi428zOs5ONZu6X7ZkTZGAc1A9WGOCQeHqNQXmvDEYdwAL+n5R5JZd1YhX1rCebmsMNCkV2YSzwJkEhjM6iIfPIFdeYIG4qXaErLWvUD/CncG1j4LhStUZYYhl6Xzle1sbc+L4kTcJZJgPaAVEGQCNeUSVKyGL1RvdcmaRN43Bq2XG/v6eronrZAtj5bCjRhSL8oHlnTqjkhgjo7y3GU5wWAX5J1r5NuMUe9IZCJBWL0dryG9HNY0nldIzaq0WWED9+zPWXVDwDpjMnIGikg8Z56jherafwxo0CYk53O/hqRY9HOsBuJ1Blq1TU2i8kJRR88w+TCe5fLY/b+ceLqm57JdW5ScwWy9JHR0Ms2Qce7P32U7tpoBiKH8nz9DyLCQhLsa6hbFpEwpM/HPmUJl3jNYFa775ANiNw+dH1jfhb+WzKszWWw6plIkT/LdNBK2PFC7v5hkeagKb7eOFF7c2M8H9m80mKk1RGgZN6DzTqBuCfTSgUq9NbY+69FVCSbv0CJXvMNC/VSBhdGgR2tAEMruJOcQobemxVub7Kw2z9snPKqTSioM6anFo6fXrKvW7DGoS5m1IdpU4XHipIcN5/IyKZiJ/x6Kav2xxBmIA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(6486002)(66946007)(31686004)(5660300002)(86362001)(38100700002)(66556008)(66476007)(26005)(53546011)(44832011)(6636002)(6666004)(83380400001)(8676002)(8936002)(36756003)(4744005)(478600001)(2906002)(4326008)(110136005)(316002)(186003)(956004)(31696002)(2616005)(16576012)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aCtHYnFidTlPNGhGVm9ZcHhiYml5UnY2Ty83eXd4VkRNNHVnMEtqVXVpakw3?= =?utf-8?B?QXk5eFZXRG1DdU5MbGt4Q0EvWCtQVkFDaVg2dWYwUzB2MFZ5Q0FHcS9Nc0Vi?= =?utf-8?B?ZExQWUozQlIwQTdNQjlCaUhHZnhORnVUcFVBM09NaWhhVFBPSUl2QkhtdVJJ?= =?utf-8?B?RnEzNytiTUlhWllRLzBaYkRncGtkRDhwUkpGdVFhbGNYbHVweGFDa3VwUTEx?= =?utf-8?B?cFBnZDVOc0VaTFJ5dG9MMERBNWxidmk0c2dlcEliS0kvMzN1SU5BMlJBMVFE?= =?utf-8?B?cWY5WS93Ti9Tc2h6WndubU91ajg5TVVxWU9CZHozZHZSWU5rRUc1clFuZG5V?= =?utf-8?B?a09kMlF1OCszK0VhRkdQZ1dvTy9RVSs1eXlRL0lTdjk3RjV1dkJWRjI2VkhJ?= =?utf-8?B?Q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9Q?= =?utf-8?B?dmlmVk4reWI1Mkl2dUdTcmlqZVc1RVJMRmdLb0RBSURrMjNucWhJREJSckds?= =?utf-8?B?WCtCd0dLSWdyUUZtTVdEajh3MzkvTzFLaVhGam1vUExLZU50TFJ1TVZCanBa?= =?utf-8?B?Rjl0KzMxN1hrbktseVhFV0hmVEcxV25oTDZteXdRU3BXZlJiVmN2am1GbEJQ?= =?utf-8?B?SEpXWENPVjJ6UFVDYndUZ0JsZkk4TjZLaStmamdtYitBWnVMT2krelhJa09Q?= =?utf-8?B?ajV5MnAxRTZUZmttaU9qZ0U5SWVXUHhVMmhtNnFRRU5nZFNtMTkrTXBpSDBW?= =?utf-8?B?UlhiT1k3N0pvRUdCTEtremdkd2h6WGFWUkZGNFoyYVg0WjVmY1VseWx5ajdR?= =?utf-8?B?SGpYZjA2VmVDTFhHWHRnMFRLYXJZV0s5YnFhTEFweDNwYUVPTnBRMWxGU2Zv?= =?utf-8?Q?YrVPM+9/gBRx/SKm5cPc50Gr6Ox3C0lzgFKdUzW?= X-MS-Exchange-CrossTenant-Network-Message-Id: 03e97481-af30-4e16-e9cd-08d96df8beca X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2021 10:02:17.1972 (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: xOAioEdGyJFswFrBiFoLPA3vLsr3Bg7w3Y/GhBdu7yuuYdwMIUyiu/Uf5ECI6brpfJC0mGSmU3fBoXfuQM4gFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5111 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] eal: add log to print dpdk version at start 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 Sender: "dev" On 9/1/2021 10:14 AM, Bruce Richardson wrote: > On Wed, Sep 01, 2021 at 11:48:21AM +0530, Aman Singh wrote: >> From the logs it is difficult to get the DPDK version >> that was used. So added a debug log to print the same. >> The log has been added in eal_init so it gets printed >> at startup for any application. >> >> Signed-off-by: Aman Singh >> --- >> lib/eal/freebsd/eal.c | 2 +- >> lib/eal/linux/eal.c | 2 +- >> lib/eal/windows/eal.c | 1 + >> 3 files changed, 3 insertions(+), 2 deletions(-) >> > Note: EAL already has the "-v" flag which prints the version number at startup. > More common usage is when -v (--version) is provided app prints the version and exits. No strong opinion but it is possible to have the version output always as debug, and convert '-v' to log and exit.