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 ECD58C5F0 for ; Tue, 28 Jul 2015 03:27:28 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 27 Jul 2015 18:27:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,559,1432623600"; d="scan'208";a="614125283" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by orsmga003.jf.intel.com with ESMTP; 27 Jul 2015 18:27:28 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 28 Jul 2015 09:27:25 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.38]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.213]) with mapi id 14.03.0224.002; Tue, 28 Jul 2015 09:27:22 +0800 From: "Liu, Yong" To: "dev@dpdk.org" , "Wu, Jingjing" Thread-Topic: [PATCH] i40e: correct the private data size for i40e vf driver Thread-Index: AQHQyNKynZ28DTkAe0eErvjFVnB6/p3wF0Fg Date: Tue, 28 Jul 2015 01:27:21 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EAE244@SHSMSX103.ccr.corp.intel.com> References: <1438046019-30149-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1438046019-30149-1-git-send-email-jingjing.wu@intel.com> Accept-Language: zh-CN, 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] i40e: correct the private data size for i40e vf driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 01:27:29 -0000 Tested-by: Marvin Liu > -----Original Message----- > From: Wu, Jingjing > Sent: Tuesday, July 28, 2015 9:14 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Chen, Jing D; Liu, Yong > Subject: [PATCH] i40e: correct the private data size for i40e vf driver >=20 > The patch fixes the i40e VF crash issue. The issue's root cause is that > the dev_private_size in i40e virtual function driver struct > rte_i40evf_pmd was set incorrectly. >=20 > Signed-off-by: jingjing.wu > --- > drivers/net/i40e/i40e_ethdev_vf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/i40e_ethdev_vf.c > b/drivers/net/i40e/i40e_ethdev_vf.c > index f3470e6..b694400 100644 > --- a/drivers/net/i40e/i40e_ethdev_vf.c > +++ b/drivers/net/i40e/i40e_ethdev_vf.c > @@ -1248,7 +1248,7 @@ static struct eth_driver rte_i40evf_pmd =3D { > }, > .eth_dev_init =3D i40evf_dev_init, > .eth_dev_uninit =3D i40evf_dev_uninit, > - .dev_private_size =3D sizeof(struct i40e_vf), > + .dev_private_size =3D sizeof(struct i40e_adapter), > }; >=20 > /* > -- > 2.4.0