From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 029A3271; Thu, 29 Jun 2017 10:01:49 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 29 Jun 2017 01:01:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,279,1496127600"; d="scan'208";a="102645820" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga004.jf.intel.com with ESMTP; 29 Jun 2017 01:01:48 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 29 Jun 2017 01:01:48 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 29 Jun 2017 01:01:48 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.197]) with mapi id 14.03.0319.002; Thu, 29 Jun 2017 16:01:46 +0800 From: "Tan, Jianfeng" To: Maxime Coquelin , "dev@dpdk.org" , "yliu@fridaylinux.org" CC: "i.dyukov@samsung.com" , "stable@dpdk.org" Thread-Topic: [PATCH] vhost: fix MTU device feature check Thread-Index: AQHS8K2Jk3+T7fa9BEmfCJ2ZVZgGVqI7eiEQ Date: Thu, 29 Jun 2017 08:01:45 +0000 Message-ID: References: <20170629075810.4225-1-maxime.coquelin@redhat.com> In-Reply-To: <20170629075810.4225-1-maxime.coquelin@redhat.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 MTU device feature check 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, 29 Jun 2017 08:01:50 -0000 > -----Original Message----- > From: Maxime Coquelin [mailto:maxime.coquelin@redhat.com] > Sent: Thursday, June 29, 2017 3:58 PM > To: dev@dpdk.org; yliu@fridaylinux.org > Cc: i.dyukov@samsung.com; Tan, Jianfeng; stable@dpdk.org; Maxime > Coquelin > Subject: [PATCH] vhost: fix MTU device feature check >=20 > The MTU feature support check has to be done against MTU > feature bit mask, and not bit position. >=20 > Cc: stable@dpdk.org > Fixes: 72e8543093df ("vhost: add API to get MTU value") >=20 > Signed-off-by: Maxime Coquelin Reviewed-by: Jianfeng Tan