Re: [net-next-2.6 V5 PATCH 2/3] Add ndo_{set|get}_vf_port_profile op support for enic dynamic vnics

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Scott Feldman
Date: Thursday, May 6, 2010 - 9:25 am

On 5/6/10 6:47 AM, "Arnd Bergmann" <arnd@arndb.de> wrote:


Dynamic enics have all-zero mac address on init, so we assign a random mac
addr to the interface.  This would seem less funny:

    if (enic_is_dynamic(enic) && is_zero_ether_addr(addr))
        random_ether_addr(netdev->dev_addr);
    else
        ...

I'll make that change and resubmit with your VDP additions if you like.

-scott

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [net-next-2.6 V5 PATCH 2/3] Add ndo_{set|get}_vf_port_ ..., Scott Feldman, (Thu May 6, 9:25 am)