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 8E391A0C41; Fri, 29 Oct 2021 19:51:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DC6240688; Fri, 29 Oct 2021 19:51:42 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 7A17940395 for ; Fri, 29 Oct 2021 19:51:40 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10152"; a="230668032" X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="230668032" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 10:51:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="538801337" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 29 Oct 2021 10:51:05 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 29 Oct 2021 10:51:05 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 29 Oct 2021 10:51:05 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 29 Oct 2021 10:51:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dATw8QOzIoZWdi/4cm4aleo2vI4/IkXfqx/RFaaeqAzgteWeyC4HPbqxxE8Z1RP3M6DJMn2uC1byVeIs2dalFn53OCOLSqXGQ34uvmMsnr3/xYPtH/jkxC7xdNkll/M8DMKGw6Iw80Y8zgKd6fUf2BJHyGArkSDCGjvKG/Oo7lfWRCt+WAAPXgS7l+0VZjpA7iLgeTu9XITB2ZX6rzp0qHIrSbL82fHIEc5w/kES6XCz4YLcvdzyy7in22+gXKyI0tO4C/RagR6MYTPhfnaIlh0Yaw6WikhV3ALcRawaSDrtWXOjJN1WNo1/rS5WPGO2Iqie421uiRr8I/oBlTwX3g== 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=i8znFwpBq9CA2Sg2EEGvR4yAZSnPh8rYUOXfDha/5Vg=; b=WhrY/3G6sDhcg9CYixICufVWgBAIEL/l/kEeUUmtGp2J88CYhEyiPYdR1SzgmrVU4bkt1n3xz8k1/RoEbYv1hctj/LtKGwSvNK/U1S3IBsFB1hqmDQ14CDzZzGmWrwiOcEpq2RG6H2PrPvldeySTqrysxtUUSIa4QPUkpg/CmbKPaxXJzCCwvOZdltFgfNl0JGM3Y85oUPBcDLQTNgScFVcxBoucMga/GLCfjfpFkZEu9JyI3MdstgihYJ2VmfaGxl7SY1rN4pxvKNvZuIxR4X3uX16q3BqDBWP098YhvnX3r82A2CRZ+/EN3fT6QQ+6eP9hk4eYEey6uHYBNjU8kw== 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=i8znFwpBq9CA2Sg2EEGvR4yAZSnPh8rYUOXfDha/5Vg=; b=TQWvg0/DolfEcwWL5u0P0aiyeFSBpViTOmWSsPUShBm/T/qbcODxcyyB7R+T9cwcYwzy6M29JYvQ7cOTfQGVUnzCdXInzgLETJD97bS4qDjellCjJM5+q/Olrno+IVUPVJIybXaBfpMYhuZeCw8oDTBz4ZcDSL8VqAzLftBDCo4= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4887.namprd11.prod.outlook.com (2603:10b6:510:30::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Fri, 29 Oct 2021 17:51:04 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4649.015; Fri, 29 Oct 2021 17:51:03 +0000 Message-ID: <2bdfc985-1011-d866-7e89-32baf8f1669b@intel.com> Date: Fri, 29 Oct 2021 18:50:57 +0100 Content-Language: en-US To: Stephen Hemminger , CC: Reshma Pattan , Ray Kinsella References: <20210903004732.109023-1-stephen@networkplumber.org> <20211020214236.71444-1-stephen@networkplumber.org> <20211020214236.71444-3-stephen@networkplumber.org> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211020214236.71444-3-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB3PR06CA0024.eurprd06.prod.outlook.com (2603:10a6:8:1::37) 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 DB3PR06CA0024.eurprd06.prod.outlook.com (2603:10a6:8:1::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Fri, 29 Oct 2021 17:51:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a4832131-423d-415d-aa2a-08d99b04acfa X-MS-TrafficTypeDiagnostic: PH0PR11MB4887: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:972; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TKpO3RCFfC+ndS9aHInZO/sQKAIZ9FgfvC0V3dF4D0ZYfxq7+czhO03IBZ0oT7e48zjp1IH07JAJbTHYSsx/I4FCKviLUCdxxiwZXTKr2AYZB0jsIgl6eErDJYUr/A0xZXiWz5XhuzGZrVazGw5t3omNrit4qh+iEbnnz1AIYRNkM07E9V2htdwFjM4rUuFTwA0cYnnjtvpHGsB+6jRehEfnSPRnqrMmk9OiE1+rUpr6C5P6oLdmhhun9lXwDxzsxJpki/tKOZufG9qwKiP0newjh5IQgl9bciCuoIlZe6qJap1bxKp+MbPr8IFiauK3j26GQQyd/tZCJnaG8wdNk2kNjt/hyE9D2O/brSOjtF0CbQKWs86HWbqEI3ZPgcRJeM37SkkJhRIXK+VBbWV/+S0d6nJDhriWmpiIs6/xTimtsRGcMutv9BhHyX8tN98ZgfuakpaUiKqyGfWBomoev3HnpCSP8uGPW+QP3peorMCVyyhgOMyJN9/Obr5rEy8Xa6EkywKrYaDWhzAKELH17EXA1/eAg1MHy78tnqBu4N8Bimdw3tp+CXI8tqK3nSlxwFGVUxxfDyMlGWoGJ1mQoWnm6cInTPT1aCl1JMVo1IhuAcuEKkSnjmrMELmwDtjvvCTsqNueT0n5XEyW8+6BLuC4elSgdMiV5aX7ZXERsMbDd+Vzv90FiLLceLBX9mw2qso+kC6Z5UrCuoGwmL8mxw== 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:(366004)(956004)(31686004)(26005)(6666004)(66556008)(66476007)(82960400001)(186003)(66946007)(5660300002)(508600001)(8676002)(8936002)(2906002)(44832011)(558084003)(36756003)(6486002)(53546011)(54906003)(16576012)(38100700002)(316002)(2616005)(31696002)(86362001)(4326008)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z3IwY1MvWlBaV05KRy82RzJXU1c2QnJvank1WWtRQXJ1NFZNUlhEYTc1MnZD?= =?utf-8?B?aWF4eWNTekErRmx6YjJKVFBFNlljdDJVZmxYWWhaRFVUZHgvdVUzZGVuVjhY?= =?utf-8?B?eWxwZTE5Vm9TcFhIbkczWFNQVlREYVdmMDIxUk5zWGxaYWI5bWNTd2VHQnpl?= =?utf-8?B?VHFxa0ZmMWdqRHROWGFoLzY4SG5uVUF2OGZnMlluZXBQU2hnQTVoZU5QWTRV?= =?utf-8?B?YytZNE9BREFRZmE4RDFaWE1wNWEwUi9MV1NFU1l0T2tLY3lGRTZGRldZb2N6?= =?utf-8?B?b0VjSEd6SEVlcEVrc2ZtTWQ3dTdyc1RLb3Y5ZW9jbXFNZ1RONER6NFB2QmVC?= =?utf-8?B?TVJ2OVNpajgvWE5ZTEo1VTNIY0Y4Sk4ySVNKVEczcnI5LzljUUtqTklyUUNR?= =?utf-8?B?TTJjS2NOQUJBRHlZYVhtRFJ5anZ0dkZ1ampOcDJhaGQyd0loT1hLbWYxa0Fr?= =?utf-8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change-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 17:51:03.8528 (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: tikfgYynRsxaoj/CQOrdVaXj3MeXo1AOFiCzW8iULtBOEf3yyF+auQ+dpuWEApSCRdttk1oxBXF2CmzuxN8MjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4887 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v15 02/12] librte_pcapng: add new library for writing pcapng files 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 10/20/2021 10:42 PM, Stephen Hemminger wrote: > + /* DPDK reports in units of Mbps */ > + rte_eth_link_get(port, &link); > + if (link.link_status == ETH_LINK_UP) Should use renamed 'RTE_ETH_LINK_UP' macro with RTE_ prefix.