From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7835A4C72 for ; Wed, 28 Feb 2018 07:35:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2018 22:35:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,404,1515484800"; d="scan'208";a="207565092" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 27 Feb 2018 22:35:09 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 27 Feb 2018 22:35:09 -0800 Received: from bgsmsx151.gar.corp.intel.com (10.224.48.42) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 27 Feb 2018 22:35:09 -0800 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.25]) by BGSMSX151.gar.corp.intel.com ([169.254.3.9]) with mapi id 14.03.0319.002; Wed, 28 Feb 2018 12:05:06 +0530 From: "Yang, Zhiyong" To: Maxime Coquelin , "Tan, Jianfeng" , "stefanha@redhat.com" , "Bie, Tiwei" , "jfreimann@redhat.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [RFC v2 1/3] vhost: invalidate vring addresses in cleanup_vq() Thread-Index: AQHTr9gv6nEsG+gwZUKe5JhQnoFRV6O5XI5Q Date: Wed, 28 Feb 2018 06:35:06 +0000 Message-ID: References: <20180227143441.6471-1-maxime.coquelin@redhat.com> <20180227143441.6471-2-maxime.coquelin@redhat.com> In-Reply-To: <20180227143441.6471-2-maxime.coquelin@redhat.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.0.116 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC v2 1/3] vhost: invalidate vring addresses in cleanup_vq() 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, 28 Feb 2018 06:35:11 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Maxime Coquelin > Sent: Tuesday, February 27, 2018 10:35 PM > To: Tan, Jianfeng ; stefanha@redhat.com; Bie, > Tiwei ; jfreimann@redhat.com; dev@dpdk.org > Cc: Maxime Coquelin > Subject: [dpdk-dev] [RFC v2 1/3] vhost: invalidate vring addresses in > cleanup_vq() >=20 > When cleaning-up the virtqueue, we also need to invalidate its addresses = to > be sure outdated addresses won't be used later. >=20 > Signed-off-by: Maxime Coquelin > Reviewed-by: Jens Freimann > --- Reviewed-by: Zhiyong Yang