[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 0/2] make mac programming for virtio net mor
From: |
Rusty Russell |
Subject: |
Re: [Qemu-devel] [RFC PATCH 0/2] make mac programming for virtio net more robust |
Date: |
Fri, 11 Jan 2013 12:53:07 +1030 |
User-agent: |
Notmuch/0.14 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) |
"Michael S. Tsirkin" <address@hidden> writes:
> On Thu, Jan 10, 2013 at 10:45:39PM +0800, address@hidden wrote:
>> From: Amos Kong <address@hidden>
>>
>> Currenly mac is programmed byte by byte. This means that we
>> have an intermediate step where mac is wrong.
>>
>> Second patch introduced a new vq control command to set mac
>> address in one time.
>
> As you mention we could alternatively do it without
> new commands, simply add a feature bit that says that MACs are
> in the mac table.
> This would be a much bigger patch, and I'm fine with either way.
> Rusty what do you think?
Hmm, mac filtering and "my mac address" are not quite the same thing. I
don't know if it matters for anyone: does it? The mac address is abused
for things like identifying machines, etc.
If we keep it as a separate concept, Amos' patch seems to make sense.
Cheers,
Rusty.