From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 91A64235; Wed, 27 Feb 2019 06:38:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2019 21:38:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,418,1544515200"; d="scan'208";a="322447551" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 26 Feb 2019 21:38:30 -0800 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 26 Feb 2019 21:38:30 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 26 Feb 2019 21:38:30 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.207]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.109]) with mapi id 14.03.0415.000; Wed, 27 Feb 2019 13:38:28 +0800 From: "Hu, Jiayu" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "stable@dpdk.org" Thread-Topic: [PATCH] vhost: fix interrupt suppression for the split ring Thread-Index: AQHUyoa1ZTQWmlU42EOs6ovz+EfSX6XvljeAgAORFAA= Date: Wed, 27 Feb 2019 05:38:28 +0000 Message-ID: References: <1550823230-16809-1-git-send-email-jiayu.hu@intel.com> <20190225070654.GA22485@dpdk-tbie.sh.intel.com> In-Reply-To: <20190225070654.GA22485@dpdk-tbie.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmY0ZGU1YTktYjc4OC00Yzk1LWIyYzEtMjcxYWIyZDMzM2RmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZUd4dTNPT0ZMbzJBb2lmWWhRY05pSDkzWTgxb1cxeE1GaDRkRW9ocFJBVnhVeHBHNTc4YnMwUHErdENEK2JkZyJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vhost: fix interrupt suppression for the split ring 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: , X-List-Received-Date: Wed, 27 Feb 2019 05:38:33 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0KPiBT ZW50OiBNb25kYXksIEZlYnJ1YXJ5IDI1LCAyMDE5IDM6MDcgUE0NCj4gVG86IEh1LCBKaWF5dSA8 amlheXUuaHVAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBtYXhpbWUuY29xdWVsaW5A cmVkaGF0LmNvbTsgc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIHZob3N0 OiBmaXgg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