netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Ben Greear <greearb@candelatech.com>
Cc: Amir Noam <amir.noam@intel.com>,
	bonding-devel@lists.sourceforge.net, netdev@oss.sgi.com,
	hadi@cyberus.ca
Subject: Re: [bonding] Add basic support for dynamic configuration of bond interfaces
Date: Sun, 11 Jan 2004 16:59:10 -0500	[thread overview]
Message-ID: <4001C72E.8030108@pobox.com> (raw)
In-Reply-To: <4001C158.6040103@candelatech.com>

Ben Greear wrote:
> I would also be open to moving the VLAN ioctls over into the
> ethtool ioctl space, but that just exchanges one magic ioctl for
> another...


The key question is what is the best interface for userland to configure 
in-kernel information -that is unrelated to a specific interface-. 
ethtool ioctl space doesn't apply, because that's a per-interface API.

Opening a socket and just ioctl'ing away isn't terribly scalable in the 
long run, either.  Consider all the applications that could legitimately 
claim they need a SIOCxxx ioctl assignment, just for their little slice 
of the networking world.  Further, consider that all an ioctl is is a 
message sent to the kernel driver, perhaps sending and/or receiving some 
data.  :)

ioctls are a pain for 32/64-bit emulation layers too.  It seems much 
easier to define a netlink protocol family of some sort and communicate 
that way.

I'll poke around and see what I can come up with.

	Jeff

  reply	other threads:[~2004-01-11 21:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E6F7D288B394A64585E67497E5126BA601F991D1@hasmsx403.iil.intel.com>
2004-01-11 14:28 ` [bonding] Add basic support for dynamic configuration of bond interfaces Amir Noam
2004-01-11 18:30   ` jamal
2004-01-11 19:39   ` Jeff Garzik
2004-01-11 21:34     ` Ben Greear
2004-01-11 21:59       ` Jeff Garzik [this message]
2004-01-11 22:50         ` jamal
2004-01-11 22:51         ` Ben Greear
2004-01-12  0:13         ` Jason Lunz
2004-01-13  2:34           ` Jeff Garzik
2004-01-12 12:38         ` Andi Kleen
2004-01-12 13:51           ` jamal
2004-01-12 15:04             ` Andi Kleen
2004-01-13 12:28               ` jamal
2004-01-13 12:39                 ` Andi Kleen
     [not found] <E6F7D288B394A64585E67497E5126BA601F991D3@hasmsx403.iil.intel.com>
2004-01-14 15:00 ` Amir Noam
2004-01-08 16:19 Amir Noam
2004-01-11  1:34 ` Jeff Garzik
2004-01-12 17:23   ` Ben Greear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4001C72E.8030108@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=amir.noam@intel.com \
    --cc=bonding-devel@lists.sourceforge.net \
    --cc=greearb@candelatech.com \
    --cc=hadi@cyberus.ca \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).