From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 54B5E2A5E for ; Thu, 8 Dec 2016 10:14:06 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP; 08 Dec 2016 01:14:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,318,1477983600"; d="scan'208";a="40364973" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 08 Dec 2016 01:14:05 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 8 Dec 2016 01:14:04 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 8 Dec 2016 01:14:04 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.37]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0248.002; Thu, 8 Dec 2016 17:14:02 +0800 From: "Chen, Jing D" To: "Yigit, Ferruh" , "Lu, Wenzhuo" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 27/32] net/i40e: change version number to support Linux VF Thread-Index: AQHSUDqaN4yR/PSDzUu54DBHybeaZaD8EoCAgAGzgXA= Date: Thu, 8 Dec 2016 09:14:01 +0000 Message-ID: <4341B239C0EFF9468EE453F9E9F4604D3A3D0F3A@shsmsx102.ccr.corp.intel.com> References: <1480637533-37425-1-git-send-email-wenzhuo.lu@intel.com> <1481081535-37448-1-git-send-email-wenzhuo.lu@intel.com> <1481081535-37448-28-git-send-email-wenzhuo.lu@intel.com> <3cc33a4b-d45f-0008-05fc-033df4ccb197@intel.com> In-Reply-To: <3cc33a4b-d45f-0008-05fc-033df4ccb197@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 v2 27/32] net/i40e: change version number to support Linux VF 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, 08 Dec 2016 09:14:06 -0000 Hi, Ferruh, > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, December 07, 2016 11:14 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Cc: Chen, Jing D > Subject: Re: [dpdk-dev] [PATCH v2 27/32] net/i40e: change version number = to > support Linux VF >=20 > On 12/7/2016 3:32 AM, Wenzhuo Lu wrote: > > i40e PF host only support to work with DPDK VF driver, Linux > > VF driver is not supported. This change will enhance in version > > number returned. > > > > Current version info returned won't be able to be recognized > > by Linux VF driver, change to values that both DPDK VF and Linux > > driver can recognize. > > > > The expense is original DPDK host specific feature like > > CFG_VLAN_PVID and CONFIG_VSI_QUEUES_EXT will not available. > > > > DPDK VF also can't identify host driver by version number returned. > > It always assume talking with Linux PF. >=20 > I guess you mention from following code [1], should it be also updated > to prevent it giving wrong information: I'd like to update it into some docs. >=20 > [1] i40e_ethdev_vf.c > if (vf->version_major =3D=3D I40E_DPDK_VERSION_MAJOR) > PMD_DRV_LOG(INFO, "Peer is DPDK PF host"); > else if ((vf->version_major =3D=3D I40E_VIRTCHNL_VERSION_MAJOR) &= & > (vf->version_minor <=3D I40E_VIRTCHNL_VERSION_MINOR)) > PMD_DRV_LOG(INFO, "Peer is Linux PF host"); > else { >=20 > > > > Signed-off-by: Chen Jing D(Mark) > > --- >=20 > <...>