From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68169A04A2; Tue, 12 May 2020 13:42:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 356311BFBF; Tue, 12 May 2020 13:42:36 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 5F3501BFBD; Tue, 12 May 2020 13:42:34 +0200 (CEST) IronPort-SDR: 5QoDLI0oqowT49mt/lBPSr5Kdb3onelQWRrnlPnyqL3YWcutMgFdHRKNmK9almLHpwni1Mon+S lLjFrTqFXlPA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2020 04:42:33 -0700 IronPort-SDR: MvxKJFu8/SGtsGBS+KSka6oPHdsC4b5s3KOtJvtx629NP0M0QgtYgs4XqRI/5x772Ua5H8Ck+U 2yMHKJmGpaiw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,383,1583222400"; d="scan'208";a="340875845" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by orsmga001.jf.intel.com with ESMTP; 12 May 2020 04:42:33 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 04:42:32 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 12 May 2020 04:42:32 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 12 May 2020 04:42:32 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 04:42:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rby3mLmPF9Z5kXJThvfGJMw31hvwRc9vBdT0EUXqppRba9zDj/6Y0sMofXEUyBVAhXs+5yJvXY1wOmG2qTx1BzXUSGtzA+IZdy6GXLGUGqpbW43FzFAkpLMBVCvmI88lGlDEmjoOD0arWd8jCoKz1qVcwMUHXZJfNs6zClkKuHTET017DT4RgtahHpx5J4nYmRmSmFGcHl+iQEOEbJQXPyWUPMDcvPCUbNgweUckIA7VL43JyAjDHNxff2i2d9jS7tPZCiWYiWNwvPjfhYB+csznODBJuacyg95ZGTgGTIiawuHeFqPxeCJfqQGyvhZ+zIgcWHIrsLPR+uBr0yvw8w== 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-SenderADCheck; bh=564S+1TGbu9TN8jzOBQcQeirVBx667OIqbMEUcdMN1k=; b=LR1HKJA0L+a9pGY8oAlvtg8Hvy86LsUvqCXw1CIOzJrnnL+FHl5Pbm9fierrgcHOsmeJz0UwzXsG1/3YtqLr4p+HXlEkYT7Kf97SW+TiQLjxZGdCI1TDoBoVDa5n89crk8VlMpTt8Cf/KDnAasu1SOJYcCVwjjMTjJ1MxdhPO47tnDGzZMmgQc1SRAKN6AbQ9pC7rGDJPiDLCT5qP4hFCN2xkkgft0EbPfhfXFU9ANSuB+ndGpukIFU2N8gZIEfPGbhtJH4YfYcUknG8/pZG0fw9FyZavq4lvsYR77HFDCgVpNEWXzplC6oDg2/7eU2F/ZlRF5mqROgvZlEk7NHkMA== 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=564S+1TGbu9TN8jzOBQcQeirVBx667OIqbMEUcdMN1k=; b=kan+eX3BEGXKvXQOWdyG8fkHSJweyDFwZ1MsU4WtSxrLhHLVOfL1r66GaJLfzD09qqvmHDNzT/4JXIsfMsPFWC/gpVk1k+U39g/P1H5mEOlXMetI5ZWB5dwCUG9XYFgk4H5PCfoJnWEZUXc0GIhPy07oiLfHNSPm+b4xWOpbttk= Received: from DM6PR11MB2537.namprd11.prod.outlook.com (2603:10b6:5:cd::16) by DM6PR11MB4532.namprd11.prod.outlook.com (2603:10b6:5:2aa::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.34; Tue, 12 May 2020 11:42:12 +0000 Received: from DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa]) by DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa%6]) with mapi id 15.20.2979.033; Tue, 12 May 2020 11:42:12 +0000 From: "Iremonger, Bernard" To: "Xu, Ting" , "Yigit, Ferruh" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Xing, Beilei" , "stable@dpdk.org" , "Andrew Rybchenko" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang Thread-Index: AQHWJzuL6UNOsS2xsEe6sSVupPyXi6ijFCCAgACkU4CAAJ0e0A== Date: Tue, 12 May 2020 11:42:12 +0000 Message-ID: References: <20200511102504.23936-1-ting.xu@intel.com> <238b76ff-262a-effd-811e-21b58c9b259d@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.167] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a356f758-eb79-4790-6438-08d7f66982e6 x-ms-traffictypediagnostic: DM6PR11MB4532: 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:8882; x-forefront-prvs: 0401647B7F x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AI3G/HxnPoEz2BVYjrtvOcLtnIxer5lSgRvIcd+bNIlRAtDvbw7OmyiVkgyF+KnU7ty0WSf/xlaQfx5EHRq2Bi/bt9FyYOQakmmdnMjgmTA3CsbSUYk1z9ZxmpmyUL1aLqGS+FPnzYrUC43qwX7alma/YEhzgB0PWcbd64oYocAMd674O4by/jQ7aVUwVrk+FlZslhk9sg5Hty3tlDFpBg527sUvayi+LicgC+92AmjkTYbIvIuWAW91cUsjPtEj6s5cSplv+IakfugH+In4Xab5UTEr1FhAbGcaJwrdFVy02Vo2qrq6090SS/VA6YDfdWCG+nrcXSRkGu1zFltYHCik13JBWsDKhz0qoG2gh/Zx46HoSr47OORRT75+lIhTO2bQ3BOgYOPff5EWV2bOqP5ipiBKy2LZfnxYMtQBOwKzvVv9D2KggQBsjbLz1sPVub23r4quY+imHNmSJ2b57w7g1yMi/a7JY9RRF3Ho873p7f5Nki9WipJ7lvILiu7/LornGG+GCtmLqFxU7gydRg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2537.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(136003)(396003)(346002)(39860400002)(376002)(33430700001)(5660300002)(26005)(52536014)(54906003)(2906002)(71200400001)(55016002)(7696005)(9686003)(110136005)(53546011)(66476007)(66446008)(66946007)(8676002)(64756008)(66556008)(6506007)(4326008)(316002)(8936002)(86362001)(33440700001)(186003)(33656002)(478600001)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 9OSYWH/WrHKk44un8CXsruHsILwVm9/YkMFIYYplehOSiHdINBihf/SYSi60Vsqe/zD+84Q7JHVzofAXvUfATvLRsfVKtHUqKISu66/ndHIPaeyQLE5TuWtNJRI5oCFPqV9GNT7IplGxxTNuJvMePN5F734ke/u1JMjBX/UDuWvdgFlF++jgqMCnNwPUxhU8trW6MhYsN1B7hO07NyrZFPlznGZkQa4bunREXNv+mEkZO2tXRKKIJe6+k0iNrlfQtqz+/HYoeuURVGYg4hyV9Sb9XwM8rJTmy6RtNMHkKYDNZ6tPAw7u3E1kDy6U7EvTfy7Dqh+44eC1AUPnBoflCQdwZl9Ntn8EJnQ690nJSww2XbNcu5sAqPBdm8g9BIOAeZDAYxIqW424UiqYPDtnEhGBHME3vnUSJraXZp8gCGVWsv2X8O0guaT6aCOxZWND3dXzticU0neJkbFCPI1Og3gQOSHXkQHOA+djpqu5N4MR57YtmxOhDAUkBjyrXNUz Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a356f758-eb79-4790-6438-08d7f66982e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2020 11:42:12.2211 (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: WZPq9SvhemifE+yyTHgyUvrxZ83SB+ETRMfoUuS4eLCKUL24uwSP6NMUyaiLngeJ30N7gMgM4rE2GD6hDzu5oO791ZmamF9nNQFr1lpYlCM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4532 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] app/testpmd: fix DCB set failure in FreeBSD by clang X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" SGkgVGluZywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBYdSwgVGlu ZyA8dGluZy54dUBpbnRlbC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIE1heSAxMiwgMjAyMCAzOjE3 IEFNDQo+IFRvOiBZaWdpdCwgRmVycnVoIDxmZXJydWgueWlnaXRAaW50ZWwuY29tPjsgZGV2QGRw ZGsub3JnDQo+IENjOiBMdSwgV2Vuemh1byA8d2Vuemh1by5sdUBpbnRlbC5jb20+OyBYaW5nLCBC ZWlsZWkNCj4gPGJlaWxlaS54aW5nQGludGVsLmNvbT47IElyZW1vbmdlciwgQmVybmFyZA0KPiA8 YmVybmFyZC5pcmVtb25nZXJAaW50ZWwuY29tPjsgc3RhYmxlQGRwZGsub3JnOyBBbmRyZXcgUnli Y2hlbmtvDQo+IDxhcnliY2hlbmtvQHNvbGFyZmxhcmUuY29tPjsgVGhvbWFzIE1vbmphbG9uIDx0 aG9tYXNAbW9uamFsb24ubmV0Pg0KPiBTdWJqZWN0OiBSRTogW2RwZGstZGV2XSBbUEFUQ0ggdjFd IGFwcC90ZXN0cG1kOiBmaXggRENCIHNldCBmYWlsdXJlIGluDQo+IEZyZWVCU0QgYnkgY2xhbmcN Cj4gDQo+IA0KPiANCj4gPiAtLS0tLU9yaWdpbmFsIE1lc3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