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 DF041A04D6; Tue, 11 Aug 2020 03:39:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 40581F90; Tue, 11 Aug 2020 03:39:39 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B0864F04 for ; Tue, 11 Aug 2020 03:39:36 +0200 (CEST) IronPort-SDR: LvuQpGoxeVmsSbDUIMiGVv7xjcZgiwK0z9WdgDuaCCNHmlz2g7zrCm3tUYxbtnOB05KugZOp+B Y7AaF+iRNUMQ== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="152869373" X-IronPort-AV: E=Sophos;i="5.75,459,1589266800"; d="scan'208";a="152869373" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2020 18:39:35 -0700 IronPort-SDR: iSrST8ufSKh62UCIfvlZxxx7DvkruL3areNrPi4sIvGtZl+w1IF+MNzb+6Jn3AB0IjrLioQoy6 cB9Fah7sFOag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,459,1589266800"; d="scan'208";a="290543065" Received: from unknown (HELO fmsmsx605.amr.corp.intel.com) ([10.18.84.215]) by orsmga003.jf.intel.com with ESMTP; 10 Aug 2020 18:39:34 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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; Mon, 10 Aug 2020 18:39:34 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 10 Aug 2020 18:39:34 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Aug 2020 18:39:34 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Aug 2020 18:39:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BN8wj7Gu2CzQAkI9CxqPfYsUbta68H52bJX2h4v0VrdebmQbGRBIwmP9opfwJYxNj3mzpkD7zppAbEg3EqCw7tj7b9sk/qXUSwxYFbPWDgfnyvXDnMGLkwtwo7TyhG4IbJJw0Z8H5IELZtWyjl9NbZ+L2visYNexCIfv6sTjfY6VdW7tbR04sMYeKbMhgrDgchwqVP5a1xRTGVItUf2eXymUA7tQSF7ETZyW4HWnO1NOQ56j9TPlRcXO3rmCItOh1T9j/tDCwlQJ/Lq0lIfecyOgLZZpEM39wAVDdnsh1ShnwmoiKzp9LbWtHWZ3xReD2WAscdNBiJSjY8z1TX0dIA== 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=Wd/0s9qPxLbIUQEUismBUT8p8dEaSwMJ7J+Yq6zpfV8=; b=cKxgifk5JH1I/02t0ToeCcsNoNM6IGSjx+EgktZxwI5JhYD7WBHdc/OdZHpUBNaa03pIzazzcg+kxJ9rjhs6TRBy1vZsssm3FNmAR7QLC+/VfhqZBxtAcCvHFZPkuokDbVFEN3wSGvK1G9d7wbqPkAJCarBe3IEOWmcMVdSKboY/M4YC1PM17qApotlf7gEo1UA99zaPERBmL2MwmADuvxv51iKtHTZao7zQ4ZsjxarMxCmtR4RC42c56YD9P28JAVbKxoMLQwuER1NhwEdWB8uR4APTgXriz86eqZKQTiDnp8nDTRWYfksNXExKZHJ4TNpPUxrJCQllAxNpdCuq8Q== 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=Wd/0s9qPxLbIUQEUismBUT8p8dEaSwMJ7J+Yq6zpfV8=; b=ouQl3AzBq17rRM2TVaHoBQiHRgkagJ4ZWPpjiO0JtSnkPVCk6Awle5ZnquCm7vxNb99wxyNC9x/53XeyC+DQqPKsuhATd6Wd+FT+YgFzhQS5u00MnKlt4JbdUQ+sze/dk2h6ndgC7XxPV4ZpSCmFrsROLzEMSMl2cxC2GzarD7E= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4520.namprd11.prod.outlook.com (2603:10b6:208:265::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Tue, 11 Aug 2020 01:39:32 +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.024; Tue, 11 Aug 2020 01:39:32 +0000 From: "Xia, Chenbo" To: Vipul Ashri , "dev@dpdk.org" Thread-Topic: [PATCH v2] net/virtio: fix 57f90f8("net/virtio: reuse packed ring functions") Thread-Index: AQHWb1DrQLo7vFH1hUKAgNZa46h0CqkyHN1Q Date: Tue, 11 Aug 2020 01:39:32 +0000 Message-ID: References: <20200807125731.1287-1-vipul.ashri@oracle.com> <20200810195958.1239-1-vipul.ashri@oracle.com> In-Reply-To: <20200810195958.1239-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.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9046ebaa-a65f-4b1a-3029-08d83d9765b4 x-ms-traffictypediagnostic: MN2PR11MB4520: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IawyeedaVjYErVf4rJCwdguCE5Hu6AjTZEJ5pVECb9jEKk+xzj2Yu99eqB/tJGsNZfHIAndPxVBfAItHnHz0j06KZ+v9UEcNR+gdjsYGwQI69dDGVgU6/yLizB1BacRRN0gy9AUIGKz19cC5IKu4R4u9HVz6Sf+Z0WWgbqfQXi0SkdV6digKtZJ2H4+e396cngO159AmRII889RVZ4lENCIHUz4q7D0DX2GtfEAFFwJpjdXGlY+O7N2SWGrhahplj+cbbiazMstMzfuuelZ4rBpsGVQ61T73LMypsL40QzkqqSvEOv7IXaNekSil64o6Jvr321Vs+inAEdmGRfANVg== 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; SFTY:; SFS:(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(5660300002)(52536014)(2906002)(316002)(110136005)(8936002)(6506007)(478600001)(9686003)(186003)(7696005)(26005)(53546011)(83380400001)(33656002)(71200400001)(66946007)(8676002)(76116006)(64756008)(66476007)(66446008)(66556008)(86362001)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: UtXVABMQLXHRpdymczq1sIXB6hTQHKJrFp8Dh2VbZtb7a9YN2u96nlfozhhrDk++TE9V1GjY62CZ/C/eW0KaW1bzn8cwsDW9+qXglrToQOPMOGy5t1GeCf0NQeI43rM8nO2LiUMDKmCgIqSeU9iofCZvTu4oN+wnkhfylxT4UtJLli0MDcPwsMBD5yb0J50TZdnTgYqyREu9PVHkbHR563i/ZI/T6wFQftU1LlUEbOADpwgQjzGbo2Oqi4vLt96t3pdv2S5VKr2zpxmdXpLpUY5FgvRHFEL4dSNiDjCgerZqdjH1HlqhjNQYeolrwHUkOBFmU6R0+BT1UGhgd9b5wyt1gURKmn93lzLPupvh2Ph2lMUyttM5Qa3GKGrWAISSR+3N7WD/K9LNqGQ2UrU+IOWTdcprVZX3rkSM9zHnBIPjP3NXUPsXgavOgIlLg/7g3Yu7GQVSND2zQrmGeTk9edGovpEntjqEN9KLBPIZhCty6B/jHQ37s7tKf/MMKGoHock5EK6Vbt0p48XnLoR/VUE6GoQ7VxqBQ7v76pB5CVf6FQoGQU3vu2nM+0NVel9q2N4gJ2dMlCMFfxaTgMbOFNQDXygCT9yXMS3XAOukVeZJ/DvRGuirYZjX9me8jc+ooHjjIw7tL+xlC9JUJSx7lg== x-ms-exchange-transport-forked: True 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: 9046ebaa-a65f-4b1a-3029-08d83d9765b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2020 01:39:32.7789 (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: gzFs1/9hcglCIF/WNoMcPHKUhtrCvTeyYDhAAoA1x4D/uxZD6onFynoizzKcFnmQqflg7l7rK66wfycKVh3wPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4520 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: fix 57f90f8("net/virtio: reuse packed ring functions") 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" SGkgVmlwdWwsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVmlwdWwg QXNocmkgPHZpcHVsLmFzaHJpQG9yYWNsZS5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEF1Z3VzdCAx MSwgMjAyMCA0OjAwIEFNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IFhpYSwgQ2hlbmJvIDxj aGVuYm8ueGlhQGludGVsLmNvbT47IHZpcHVsLmFzaHJpQG9yYWNsZS5jb20NCj4gU3ViamVjdDog W1BBVENIIHYyXSBuZXQvdmlydGlvOiBmaXggNTdmOTBmOCgibmV0L3ZpcnRpbzogcmV1c2UgcGFj a2VkIHJpbmcNCj4gZnVuY3Rpb25zIikNCg0KVGhlIHRpdGxlIGlzIG5vdCByaWdodC4gQXMgSSB0 b2xkIHlvdSwNCnBsZWFzZSBwdXQgJ0ZpeGVzOiA1N2Y5MGY4OTQ1ODggKCJuZXQvdmlydGlvOiBy ZXVzZSBwYWNrZWQgcmluZyBmdW5jdGlvbnMiKScNCmJldHdlZW4gdGhlIGNvbW1pdCBtZXNzYWdl IGFuZCB5b3VyICdTaWduZWQtb2ZmLWJ5Jy4gTm90ZSB0aGF0IHRoZSBwcmVmaXgNCnNob3VsZCBi ZSAnRml4ZXMnIGFuZCB0aGUgY29tbWl0IGlkIGxlbmd0aCBpcyA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