From mboxrd@z Thu Jan 1 00:00:00 1970 From: Or Gerlitz Subject: Re: [ofa-general] Re: Re: [PATCH V3 0/7] net/bonding: ADD IPoIB support for the bonding driver Date: Tue, 31 Jul 2007 17:19:12 +0300 Message-ID: <46AF44E0.50700@voltaire.com> References: <46ADDB89.5030601@voltaire.com> <46AF3CA8.6050201@gmail.com> <20070731140436.GA16015@mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Roland Dreier , fubar@us.ibm.com, general@lists.openfabrics.org, davem@davemloft.net To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20070731140436.GA16015@mellanox.co.il> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org List-Id: netdev.vger.kernel.org Michael S. Tsirkin wrote: > Maybe we could use hard_header_cache/header_cache_update methods instead of > neighbour cleanup calls. > To do this, it is possible that we'll have to switch from storing pointers > inside the neighbour to keeping an index there, but I expect the > performance impact to be minimal. > > As a result, bonding would not have to copy pointers into ipoib module > and module removal would get fixed. To be precise, bonding will copy all the symbols it copies today from the slave module (ipoib), see bond_setup_by_slave() in patch 3/7, except for the neighbour cleanup callback which is copied through coping the neigh_setup function. Or.