From: David Miller <davem@davemloft.net>
To: fubar@us.ibm.com
Cc: ogerlitz@voltaire.com, netdev@vger.kernel.org
Subject: Re: active-backup/bonding with drivers not supporting set_mac_address()
Date: Mon, 10 Jul 2006 11:45:30 -0700 (PDT) [thread overview]
Message-ID: <20060710.114530.125253070.davem@davemloft.net> (raw)
In-Reply-To: <200607101829.k6AITEp0026893@death.nxdomain.ibm.com>
From: Jay Vosburgh <fubar@us.ibm.com>
Date: Mon, 10 Jul 2006 11:29:14 -0700
> What network device drivers are there that don't permit ever
> changing the device MAC address?
Good question.
Look at a driver such as 3c509.c, for example.
Sure, it will get the default eth_mac_addr() software implementation,
but this is not going to do what you expect.
It may change the dev->dev_addr[] value, and change the MAC address
used on outgoing packets, but it is unlikely to make the device
actually receive packets with the MAC address in non-promiscuous
mode.
If the driver isn't setting up an explicit ->set_mac_address handler,
it isn't going to be programming the RX MAC of the chip and therefore
not recognize packets to that new MAC as destined for it.
next prev parent reply other threads:[~2006-07-10 18:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 13:43 active-backup/bonding with drivers not supporting set_mac_address() Or Gerlitz
2006-07-10 18:23 ` David Miller
2006-07-10 18:31 ` Jay Vosburgh
2006-07-10 18:46 ` David Miller
2006-07-10 18:29 ` Jay Vosburgh
2006-07-10 18:45 ` David Miller [this message]
2006-07-11 5:29 ` Jay Vosburgh
2006-07-11 13:33 ` Or Gerlitz
2006-07-11 14:01 ` Or Gerlitz
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=20060710.114530.125253070.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=fubar@us.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@voltaire.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).