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 47A94A04B0; Thu, 13 Aug 2020 09:35:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 738021C021; Thu, 13 Aug 2020 09:35:26 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AB0711C00D; Thu, 13 Aug 2020 09:35:23 +0200 (CEST) IronPort-SDR: YjzGgDDzQvp4rsnXLvN+iwJH+uh93nKA044dWUMLMHTHbmHxqRVDBZdTEXxqzLhcPzD5eQdMJy jQg9zHrQIDIw== X-IronPort-AV: E=McAfee;i="6000,8403,9711"; a="151822229" X-IronPort-AV: E=Sophos;i="5.76,307,1592895600"; d="scan'208";a="151822229" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2020 00:35:21 -0700 IronPort-SDR: 1k/Tg2vp8eTxVibM91ZYwarvu/a2I+cNz8gRDeVRF2e4x7z2xoM47xJJsa8RiYc110DBu8omhQ F4LzefdKkLMA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,307,1592895600"; d="scan'208";a="333037058" Received: from unknown (HELO fmsmsx605.amr.corp.intel.com) ([10.18.84.215]) by FMSMGA003.fm.intel.com with ESMTP; 13 Aug 2020 00:35:21 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.1713.5; Thu, 13 Aug 2020 00:35:21 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 13 Aug 2020 00:35:20 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 13 Aug 2020 00:35:20 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.176) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 13 Aug 2020 00:35:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oXvKxfLQCHeLKeAjdRK/WpND1dbIwbhxysoonfTjxfyPxvX+qCW9ekdN20BWCypFJFq9UVR8ZAWEvTTS+4QSk6oRcU83Skg/uJZ1JrbOTP008+4lEqPU7Ht+lUXlAVcMquOG29DksunTo8LrA05jShr+mOm+E74kIRJJKn9vy6v89QTh6sP3n6K679RqC0kGvNPqFsb86F8b0vBmCVwaYL/NyHvdHZAXbjmZlrUzph6jEKceT3Pv2a5QLSHDdpHuBPxr4KjSAbIBV72ki8RytG/vQqoOtqPahPtlFFXzwt0dNLxD/zTAtwLZprfniNIXPmJU9iYBowrBQbycMCXAhA== 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=R3CkTKiQjuBInHQSdRMzluBmQM9zIep41sTdsqQjWII=; b=dcGje+h6KxUP6vVDCHMoJwFKfN7/ZLzM0+p80rxoloYVHZkU5pOSRU9MxAo8J27aEFZ+TF7DqciOjbMHde+2lTCO1jljzJ4Q5TLiZQzrOnOmFaRLLuhKzN5uYiYkVxfwJp/rGfYtm7VcXKN6sWG3SaT2wr5xOwNFcqlnz+VaHQ7LOiRnoxH/vE85NiAfxPChjc7079UFFKTzKyvJD0IPVH2GiZxt7sOlzGkXXQMj7vqCEAennmvGYgDFq89ePSbJwyXg78xkLtX8JYybT0qxlQZ+W88OZExQXr9jSw7HWCtYl9n3plC0NOXJPgp6UEyAsukjEqHGBBkDrQR11T1oww== 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=R3CkTKiQjuBInHQSdRMzluBmQM9zIep41sTdsqQjWII=; b=L3hvmkJCg+YhxbJt3Gr9KwEmHO+8KMWCF1Zux+W0hbSfWa9G4ny8rjEh7vL4hwzayqwLi4PQI83r6b7ZrwPJUQiiCbHE7MEonlkOhmYrAsC2W4F5jiU/7LovO0d06ttWs1Sg7fVkzdYBLVfQTp1W+y9qXLE3OEio/VycDYJB1xI= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4696.namprd11.prod.outlook.com (2603:10b6:208:26d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16; Thu, 13 Aug 2020 07:35:18 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::b898:36f5:61cb:42ca]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::b898:36f5:61cb:42ca%7]) with mapi id 15.20.3261.026; Thu, 13 Aug 2020 07:35:18 +0000 From: "Xia, Chenbo" To: Vipul Ashri , "dev@dpdk.org" CC: "edwin.leung@oracle.com" , "stable@dpdk.org" , "Wang, Zhihong" , "maxime.coquelin@redhat.com" Thread-Topic: [PATCH v3] net/virtio: fix wrong variable assignment in helper macro Thread-Index: AQHWcUO3TEb1r4dilkSFTOn5ihGRgKk1pSgA Date: Thu, 13 Aug 2020 07:35:18 +0000 Message-ID: References: <20200812092306.1345-1-vipul.ashri@oracle.com> <20200813072837.1468-1-vipul.ashri@oracle.com> In-Reply-To: <20200813072837.1468-1-vipul.ashri@oracle.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oracle.com; dkim=none (message not signed) header.d=none;oracle.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d083aa3d-802d-4fea-ac23-08d83f5b6d70 x-ms-traffictypediagnostic: MN2PR11MB4696: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PCkmXxUvl/2TgPYSlSRKlyrDkKV+LfNCVVBpyf6Ov9dlLnEnNvVNzGa7uRwTwD0JokEMRiP02ZLsCrpyXxNOZlfiXpe72lxUemLiumRnSk9I6WApqzjW1iUqOWL81T1tMGZc5n0lJfOPGKzzb7JQzVBVoCp8CuAFsdlTX0zre38Z59l4L2Gn1YgKJwxw8A/BQQ5hCcY+Q7dB5s0RlFtnAW5n03KrDGw6MCIqQJ/JpdosQUwuxTAguY+VDnLOrjXN6XRJCpiXYgIQd7CeJnb8IoVSLSM2YYi1szYqWGpCwsJi51vei+aYYZb9q/zJe0qvrdXnzHJc7mMvHh/4yjzOAw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(136003)(346002)(366004)(376002)(83380400001)(52536014)(9686003)(54906003)(55016002)(33656002)(316002)(4326008)(7696005)(86362001)(478600001)(110136005)(186003)(64756008)(26005)(5660300002)(66946007)(76116006)(2906002)(66556008)(53546011)(66476007)(71200400001)(8936002)(6506007)(8676002)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: MinfeWPMsF+jjZNn0WZoGVH8dO/6OPYHhNIEFeGwI9y5UP8Tnv6vRz/Zvs9iM1OTpB+dKnlcYPVE1dSZKKbjuowQHpYjBH2bChxtClzIWNoBMcwQLhR8y4aTUdoN6G0EJEzICfT8Q74xrgUAlnQCq1MH+VjiWaZcFrzaMC6cStpCrCAoCOHbHdwsl1DQVMyksCSZXy/wCVUz9DriBe7BZGor5OCoU/Kr80PSRuFKYezo7uj+dN2GTwbAkwjpQLcQMT1tIiCt/RqSL0Imvhz57+hKTFRzBzQ2zeTe7TX1e6FarO27+BfikuG9clNIl/l4LwG/aW1pEJpEn+QSKKZHp+tT2v8cMYwrBxl9xZXJ2esYxwAk6Qm2zRBoxpNdIv2L4XKpge4/cg38oU8OTz3jb9cm5iSLaH/0vVjzi9RA2NquiQVyubLvtFFp4TJYVLqAm99xXFG2wATvNpUZDgopOXlu+zTmeA7MIBO/uG69uackl7ZSJQQDfguSJNE4baG6q4edWbEL5ZRTErhpze2ZVYmRsi8XDWe7EbHrxktVmtB1fVcTXHCwkoLYiu3HAw61Hu8SKecUzPnMgij+laYCyJsfvsgjl9iEuxpPt6mcm2So+2Ex9dgFm2gJZVSDRuTiTDP42A7o0RXZ6cEc99ihmA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d083aa3d-802d-4fea-ac23-08d83f5b6d70 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2020 07:35:18.2000 (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: B3mr6chYuefipZkzDtWeSPBqD/0ZQji1bIxMRkkEY3kCkppEsaFC9WhRTvs8CpTczm+NJiC3bR1eWSHapKsRbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4696 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBWaXB1bCBBc2hyaSA8dmlwdWwu YXNocmlAb3JhY2xlLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIEF1Z3VzdCAxMywgMjAyMCAzOjI5 IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IFhpYSwgQ2hlbmJvIDxjaGVuYm8ueGlhQGlu dGVsLmNvbT47IHZpcHVsLmFzaHJpQG9yYWNsZS5jb207DQo+IGVkd2luLmxldW5nQG9yYWNsZS5j b207IHN0YWJsZUBkcGRrLm9yZw0KPiBTdWJqZWN0OiBbUEFUQ0ggdjNdIG5ldC92aXJ0aW86IGZp eCB3cm9uZyB2YXJpYWJsZSBhc3NpZ25tZW50IGluIGhlbHBlcg0KPiBtYWNybw0KPiANCj4gSW5z aWRlIE1hY3JvIEFTU0lHTl9VTkxFU1NfRVFVQUwodmFyLCB2YWwpLCBhc3NpZ25tZW50IHRvIHZh ciBpcyBhbHdheXMNCj4gZmFpbGluZyBhcyBhc3NpZ25tZW50IGRvbmUgdXNpbmcgdmFyXyBoYXZp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