From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1EC922B93 for ; Sun, 17 Jul 2016 22:54:23 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 17 Jul 2016 13:54:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,380,1464678000"; d="scan'208";a="140795993" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga004.fm.intel.com with ESMTP; 17 Jul 2016 13:54:21 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.125]) by IRSMSX154.ger.corp.intel.com ([169.254.12.28]) with mapi id 14.03.0248.002; Sun, 17 Jul 2016 21:53:31 +0100 From: "Iremonger, Bernard" To: Eli Britstein , "dev@dpdk.org" CC: "Iremonger, Bernard" Thread-Topic: SRIOV hot unplug Thread-Index: AdHgBokZEAYxOrFcS1eredTEovecxAAZgTVw Date: Sun, 17 Jul 2016 20:53:29 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C21A04F18C@IRSMSX108.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGUyM2NlZWYtNjkzZi00MmFiLTk3MDYtMWM5MDg4MzFkNzY2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik5FNHBwR01rdUtTZGxKczNRN0ZCXC9JdjhNYzIyeURvTWVST0hKK3BMNlVzPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] SRIOV hot unplug 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: Sun, 17 Jul 2016 20:54:24 -0000 Hi Eli, The DPDK application in the VM should remove the slave device from the bond= device, stop, close and detach the device in the VM before doing "virsh de= tach-device" from the host. Regards, Bernard. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Eli Britstein > Sent: Sunday, July 17, 2016 9:58 AM > To: dev@dpdk.org > Subject: [dpdk-dev] SRIOV hot unplug >=20 > Hello, >=20 > A DPDK application with a DPDK bond device, with 2 slaves: one vnic, and > another is a SRIOV VF connected as a pathrough. > The bond device is configured as ACTIVE/BACKUP, and the primary is the VF > slave. > Now, I do "virsh detach-device" from the host, and the DPDK process in th= e > VM gets segmentation fault, as it tries to poll an address that is not mm= aped > anymore. > I wonder if this flow is supposed to be supported by DPDK, or not. > Please advise. >=20 > Thanks, > Eli > -------------------------------------------------------------------------= --------------------- > --------------------------------------------------- > This email and any files transmitted and/or attachments with it are > confidential and proprietary information of Toga Networks Ltd., and > intended solely for the use of the individual or entity to whom they are > addressed. > If you have received this email in error please notify the system manager= . > This message contains confidential information of Toga Networks Ltd., and= is > intended only for the individual named. If you are not the named addresse= e > you should not disseminate, distribute or copy this e-mail. Please notify= the > sender immediately by e-mail if you have received this e-mail by mistake = and > delete this e-mail from your system. If you are not the intended recipien= t > you are notified that disclosing, copying, distributing or taking any act= ion in > reliance on the contents of this information is strictly prohibited. > -------------------------------------------------------------------------= --------------------- > --------------------------------------------------