netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jeff@garzik.org
Cc: netdev@vger.kernel.org
Subject: Re: on the topic of alternate MAC addresses
Date: Tue, 23 Oct 2007 20:22:10 -0700 (PDT)	[thread overview]
Message-ID: <20071023.202210.74747025.davem@davemloft.net> (raw)
In-Reply-To: <471EAD01.5030502@garzik.org>

From: Jeff Garzik <jeff@garzik.org>
Date: Tue, 23 Oct 2007 22:25:05 -0400

> hmmmm.  Using ethtool isn't a big deal, but IMO you probably want more 
> than just an exported list for the usage you described...  it sounds 
> like some sort of reservation system should be used, to note which MAC 
> addresses are [not] in use?
> 
> Then a virt client -- or anyone who wants multiple unicast addresses for 
> whatever reason -- can let other clients to avoid MAC addresses 1, 7, or 
> 13 (random examples).

I see your point.

However, it's not the virt clients that do this, it's the control
node (aka: domain 0) which has to manage these things.

It has to manage all of the global hardware resources and allocate
them out to itself and the clients anyways.

And this is why I think it's sufficient to just publish the list of
MAC addresses from the driver, and leave the allocation and policy
to the userland virtualizatin daemon running on the control node.

Let me know if you still disagree.

  parent reply	other threads:[~2007-10-24  3:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24  1:05 on the topic of alternate MAC addresses David Miller
2007-10-24  2:25 ` Jeff Garzik
2007-10-24  2:30   ` Jeff Garzik
2007-10-24  3:22   ` David Miller [this message]
2007-10-24  9:28     ` Johannes Berg
2007-10-25 16:14     ` Eric W. Biederman
2007-10-25 17:14       ` Rick Jones
2007-10-25 17:36         ` Eric W. Biederman

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=20071023.202210.74747025.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jeff@garzik.org \
    --cc=netdev@vger.kernel.org \
    /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).