From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752502Ab3KYJ0U (ORCPT ); Mon, 25 Nov 2013 04:26:20 -0500 Received: from mxout7.netvision.net.il ([194.90.6.2]:43661 "EHLO mxout7.netvision.net.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725Ab3KYJ0N (ORCPT ); Mon, 25 Nov 2013 04:26:13 -0500 X-Greylist: delayed 900 seconds by postgrey-1.27 at vger.kernel.org; Mon, 25 Nov 2013 04:26:12 EST MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Message-id: <5293141E.5090202@Wilocity.com> Date: Mon, 25 Nov 2013 11:10:54 +0200 From: Anton Nayshtut User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 To: Nikolay Aleksandrov , Eric Dumazet Cc: Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Cong Wang , Nicolas Schichan , Eric Dumazet , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Erez Kirshenbaum , Boris Lapshin Subject: Re: [PATCH 1/4] bonding: L2DA mode added References: <1385045738-29726-1-git-send-email-Anton.Nayshtut@wilocity.com> <1385045738-29726-2-git-send-email-Anton.Nayshtut@wilocity.com> <1385047978.10637.51.camel@edumazet-glaptop2.roam.corp.google.com> <528E28D7.4010306@redhat.com> In-reply-to: <528E28D7.4010306@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric, Nik, Andy, Thanks for your comments. I'll investigate the override option approach first, and then will re-implement the patch using RCU with corresponding Documentation/networking/bonding.txt changes, if still needed. P.S. Sorry for delay with my reply. It was caused by personal reasons. Best Regards, Anton On 21/11/2013 17:37, Nikolay Aleksandrov wrote: > On 11/21/2013 04:32 PM, Eric Dumazet wrote: >> On Thu, 2013-11-21 at 16:55 +0200, Anton Nayshtut wrote: >>> This patches introduces L2DA bonding module with all the data structures and >>> interfaces. It's not integrated yet. >> >> I veto any kind of new bonding mode not using RCU. >> >> Adding another rwlock in 2013 is simply not an option. >> >> Thanks >> >> > +1 > Also, > I haven't read the patch-set closely but based on the description in the first > patch I think you can already get this (or very similar) functionality by using > the slave override option in the bonding. You can match the destination L2 > address and override the slave based on that. > > Nik >