From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 2989B559A for ; Fri, 14 Apr 2017 11:06:44 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 14 Apr 2017 02:06:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,197,1488873600"; d="scan'208";a="74055100" Received: from dwdohert-dpdk.ir.intel.com ([163.33.210.152]) by orsmga002.jf.intel.com with ESMTP; 14 Apr 2017 02:06:41 -0700 To: Ilya Maximets , dev@dpdk.org References: <1491479991-26802-1-git-send-email-i.maximets@samsung.com> Cc: Heetae Ahn , Eric Kinzie , Bernard Iremonger , Jan Blunck From: Declan Doherty Message-ID: Date: Fri, 14 Apr 2017 10:06:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1491479991-26802-1-git-send-email-i.maximets@samsung.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/bonding: remove all slaves on close 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: Fri, 14 Apr 2017 09:06:45 -0000 On 06/04/17 12:59, Ilya Maximets wrote: > Some applications like OVS knows nothing about the > device type and wants to use same API to work with > all of them. But bond_pmd, unlike other pmds, requires > additional step (removing of all the slaves) before > closing the device. > > In fact that bond_pmd automatically adds all the > devices from kvargs to bonding on configuration it > also should remove all of them on close. > > This change is intended to have the same API for physical > and virtual devices. It allows us to handle virtual > devices in OVS in a common way. > > Signed-off-by: Ilya Maximets > --- ... > Acked-by: Declan Doherty