From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x244.google.com (mail-ie0-x244.google.com [IPv6:2607:f8b0:4001:c03::244]) by dpdk.org (Postfix) with ESMTP id 98A092E89 for ; Tue, 3 Sep 2013 03:38:32 +0200 (CEST) Received: by mail-ie0-f196.google.com with SMTP id c11so938587ieb.7 for ; Mon, 02 Sep 2013 18:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w4AS4S5hN/g8bJAdeeo21xLPy1I+Ks8dhtK/dFYen1E=; b=Yr1r794T0Z/Bfh4Mha33W0zQD06Maw/7wR5nmoP54PzhuWkT0OCTTWgMjUfMf58uvC 4OYD61nih1Hfdoxgu7yIfuP6PecgBQ+v/VNMpb1A7JwtxCU1obNmpT6D99yk1c8rUASO Eo/mprLTOMbqBUwxRFHUhD/wiJn101035OZE43SFXuJlNqTYkaP2Arpgg77hEpzbvHfX vvIaaqEmixv96XwXvuVJ5ZumLVRnFk9OQ2q2yQvx5Xx4tlqV8JQgDp+3BeF0iFxMXAE8 EjLUX6Jp9g0Kod5k+C3cWtg2FLSGPR1p+9W9aLbJrfPO1nroEFhT17HOTR02Kfz4OcKE VNuQ== MIME-Version: 1.0 X-Received: by 10.50.87.4 with SMTP id t4mr14090918igz.18.1378172346162; Mon, 02 Sep 2013 18:39:06 -0700 (PDT) Received: by 10.64.5.226 with HTTP; Mon, 2 Sep 2013 18:39:06 -0700 (PDT) In-Reply-To: <201309021757.38807.thomas.monjalon@6wind.com> References: <201309021757.38807.thomas.monjalon@6wind.com> Date: Tue, 3 Sep 2013 10:39:06 +0900 Message-ID: From: Tetsuya Mukawa To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] About 'CONFIG_RTE_EAL_UNBIND_PORTS' 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, 03 Sep 2013 01:38:33 -0000 2013/9/3 Thomas Monjalon : > 29/08/2013 09:54, Tetsuya Mukawa : >> Someone, could you please let me know what is a case that I need to >> enable 'CONFIG_RTE_EAL_UNBIND_PORTS'? > > In DPDK 1.3, the UNBIND option is intended to restore the previous state > when exiting a DPDK application. > In case of devices bound to igb_uio, it will re-bind them to their original > driver (e1000/igb/ixgbe). > It has no effect with virtio. > > The bug that you have described does not appear with igb_uio drivers because > fd is initialized in pci_map_resource(). > But in case of virtio, pci_map_resource() is not called. Thank you for your explanation. I understand it clearly. > It looks good. > Could you send it as a real patch with a commit log ? Sure, I will. Thanks, Tetsuya Mukawa