Received: with ECARTIS (v1.0.0; list netdev); Tue, 13 Jan 2004 07:00:47 -0800 (PST) Received: from mail.cyberus.ca (mail.cyberus.ca [209.197.145.21]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i0DF0X6H026717 for ; Tue, 13 Jan 2004 07:00:33 -0800 Received: from cpe0030ab124d2f-cm014500000962.cpe.net.cable.rogers.com ([24.103.99.32] helo=[10.0.0.9]) by mail.cyberus.ca with esmtp (Exim 4.20) id 1AfkMs-0004RI-IL; Sun, 11 Jan 2004 13:31:22 -0500 Subject: Re: [bonding] Add basic support for dynamic configuration of bond interfaces From: jamal Reply-To: hadi@cyberus.ca To: Amir Noam Cc: Jeff Garzik , bonding-devel@lists.sourceforge.net, netdev@oss.sgi.com In-Reply-To: <200401111628.07930.amir.noam@intel.com> References: <200401111628.07930.amir.noam@intel.com> Content-Type: text/plain Organization: jamalopolis Message-Id: <1073845851.1115.297.camel@jzny.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 11 Jan 2004 13:30:51 -0500 Content-Transfer-Encoding: 7bit X-archive-position: 2387 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: hadi@cyberus.ca Precedence: bulk X-list: netdev On Sun, 2004-01-11 at 09:28, Amir Noam wrote: > > > I would suggest a simple character device (misc_register), and let > > the userland application configure settings unrelated to a single > > object. > > I was trying to follow the example of several other network modules > (e.g. vlan, dlci, bridge) that use a socket level ioctl hook to > handle such deviceless commands. > > Do you think that a char device is preferrable, given that other > similar modules use a socket ioctl hook? I think a netlink interface would be the better alternative. The L2C netlink socket protocol would be appropriate for bonding at least for 2.6.x. Bridging, VLAN should also move to this. cheers, jamal