From: Johannes Berg <johannes@sipsolutions.net>
To: Jiri Benc <jbenc@suse.cz>
Cc: Simon Barber <simon@devicescape.com>,
netdev <netdev@vger.kernel.org>, Jeff Garzik <jgarzik@pobox.com>,
"John W. Linville" <linville@tuxdriver.com>,
Michael Buesch <mbuesch@freenet.de>,
Ivo van Doorn <ivdoorn@gmail.com>,
Michael Wu <flamingice@sourmilk.net>,
Jouni Malinen <jkm@devicescape.com>,
Daniel Drake <dsd@gentoo.org>, Hong Liu <hong.liu@intel.com>,
"Luis R. Rodriguez" <mcgrof@gmail.com>,
James Ketrenos <jketreno@linux.intel.com>,
David Kimdon <dwhedon@devicescape.com>,
Udayan Singh <udayan.singh@gmail.com>
Subject: Re: wireless notes / pre d80211 merge
Date: Wed, 15 Nov 2006 11:13:42 +0100 [thread overview]
Message-ID: <1163585622.2705.40.camel@ux156> (raw)
In-Reply-To: <20061115104359.3ce80e3b@griffin.suse.cz>
On Wed, 2006-11-15 at 10:43 +0100, Jiri Benc wrote:
> In particular:
> - The operations that make sense for user to perform on wiphy/master
> interface are different than the ones on virtual interfaces. It isn't
> this way now.
Which particular operations do you have in mind? Granted, you won't ever
be able to specify the master device as the default route for IP, but
hey. I'd almost bet there are other devices that you can't do this with.
> - Why should master interface appear in ifconfig and similar tools the
> same way as "virtual" interfaces? If you want to know how users are
> confused by this, just search some forums.
Because it manages the qdiscs and frames actually show up there. Even
now, you can there see what you're transmitting :)
> - Does attaching of qdiscs to virtual interfaces make sense?
Yes, I do think so. Why not?
> This is a different thing. See the difference between SOCK_RAW and
> SOCK_DGRAM. The interface you are talking about is SOCK_DGRAM. Except
> it supports only one address. The correct solution would be extending
> sockaddr_ll (that's not possible, I know) or introduce a new
> SOCK_SOMETHING type (not possible either, at least in a short term).
I still haven't quite understood this argument. Could you elaborate?
> Except that all other hardware doesn't need things that we need. They
> need just one virtual interface - so their master and virtual interface
> is merged. This is net_device. We need to split it into two things.
That's not really true, if you have a 802.1q network then the raw netdev
is useless without vlan virtuals above unless you unpack the vlan on the
switch giving you a non-802.1q network again.
johannes
next prev parent reply other threads:[~2006-11-15 10:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-14 22:19 wireless notes / pre d80211 merge Johannes Berg
2006-11-15 0:11 ` Jiri Benc
2006-11-15 2:10 ` Simon Barber
2006-11-15 9:43 ` Jiri Benc
2006-11-15 10:13 ` Johannes Berg [this message]
2006-11-15 18:47 ` Jeff Garzik
2006-11-15 10:03 ` Johannes Berg
2006-11-15 18:46 ` Jeff Garzik
2006-11-15 9:16 ` Johannes Berg
2006-11-15 10:05 ` Jiri Benc
2006-11-15 10:16 ` Johannes Berg
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=1163585622.2705.40.camel@ux156 \
--to=johannes@sipsolutions.net \
--cc=dsd@gentoo.org \
--cc=dwhedon@devicescape.com \
--cc=flamingice@sourmilk.net \
--cc=hong.liu@intel.com \
--cc=ivdoorn@gmail.com \
--cc=jbenc@suse.cz \
--cc=jgarzik@pobox.com \
--cc=jketreno@linux.intel.com \
--cc=jkm@devicescape.com \
--cc=linville@tuxdriver.com \
--cc=mbuesch@freenet.de \
--cc=mcgrof@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=simon@devicescape.com \
--cc=udayan.singh@gmail.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).