From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 3862F2B86 for ; Thu, 26 Apr 2018 07:51:52 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 22:51:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,329,1520924400"; d="scan'208";a="40662220" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 25 Apr 2018 22:51:51 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Apr 2018 22:51:51 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Apr 2018 22:51:51 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.210]) by shsmsx102.ccr.corp.intel.com ([169.254.2.79]) with mapi id 14.03.0319.002; Thu, 26 Apr 2018 13:51:49 +0800 From: "Wang, Zhihong" To: "Wang, Xiao W" , "maxime.coquelin@redhat.com" CC: "Tan, Jianfeng" , "dev@dpdk.org" Thread-Topic: [PATCH] vhost: fix vDPA set features Thread-Index: AQHT3Du+uqfo0+oqZEOER2bzMcG9kKQSi0Xw Date: Thu, 26 Apr 2018 05:51:49 +0000 Message-ID: <8F6C2BD409508844A0EFC19955BE094151475EDE@SHSMSX103.ccr.corp.intel.com> References: <20180425021827.28240-1-xiao.w.wang@intel.com> In-Reply-To: <20180425021827.28240-1-xiao.w.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vhost: fix vDPA set features 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: Thu, 26 Apr 2018 05:51:53 -0000 > -----Original Message----- > From: Wang, Xiao W > Sent: Wednesday, April 25, 2018 10:18 AM > To: maxime.coquelin@redhat.com > Cc: Tan, Jianfeng ; Wang, Zhihong > ; dev@dpdk.org; Wang, Xiao W > > Subject: [PATCH] vhost: fix vDPA set features >=20 > We should call set_features callback after setting features in virtio_net > structure, otherwise vDPA driver cannot get the right features. >=20 > Fixes: 07718b4f87aa ("vhost: adapt library for selective datapath") >=20 > Signed-off-by: Xiao Wang Acked-by: Zhihong Wang Thanks for fixing it!