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 82DD93978 for ; Mon, 25 Jul 2016 14:51:55 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP; 25 Jul 2016 05:51:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,419,1464678000"; d="scan'208";a="852936412" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 25 Jul 2016 05:51:54 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 25 Jul 2016 05:51:54 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 25 Jul 2016 05:51:53 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Mon, 25 Jul 2016 20:51:52 +0800 From: "Zhang, Helin" To: "Wu, Jingjing" CC: "dev@dpdk.org" , "Xing, Beilei" , "Peng, Yuan" Thread-Topic: [PATCH v2] net/i40e: fix vsi removing from tailq when release Thread-Index: AQHR5jamW6fa/14rbESjWqKVlTTKHqApGgWQ Date: Mon, 25 Jul 2016 12:51:51 +0000 Message-ID: References: <1469416948-13073-1-git-send-email-jingjing.wu@intel.com> <1469424969-32205-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1469424969-32205-1-git-send-email-jingjing.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGNiYjZhZjgtOTAzMy00MzE4LTg3MzktMzU4OWU2ZTVlMGQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlR2dTR1WXRxU3hSVW92ZlVSXC9qVDhyZUlPcGpNOE5RY1A1XC9ZVWVWRUR3VT0ifQ== 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] net/i40e: fix vsi removing from tailq when release 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: Mon, 25 Jul 2016 12:51:55 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Monday, July 25, 2016 1:36 PM > To: Zhang, Helin > Cc: dev@dpdk.org; Wu, Jingjing ; Xing, Beilei > ; Peng, Yuan > Subject: [PATCH v2] net/i40e: fix vsi removing from tailq when release >=20 > VSI structure need to be removed from TAILQ list when releasing. > But for the child VSI it will be removed again after the structure is fre= ed. It will > cause core dump when the DPDK i40e using as PF host driver. >=20 > This patch fixes it to only remove child VSI from TAILQ before send admin= q > command to remove it from hardware. >=20 > Fixes: 4861cde46116 ("i40e: new poll mode driver") > Fixes: 440499cf5376 ("net/i40e: support floating VEB") > Signed-off-by: Jingjing Wu Acked-by: Helin Zhang