Question about ORs stub driver behavior
valitov79 at mail.ru
Wed Mar 4 10:14:24 CET 2009
When ORe stub driver initializes virtual interface in l4x_ore_init_device()
function, It tries to allocate hardware MAC address for all devices EXCEPT
if (strcmp(devname, "lo"))
priv->config.ro_keep_device_mac = 1;
priv->config.ro_keep_device_mac = 0;
Here if devname=="lo" then strcmp() returns 0 and we tries to get virtual
MAC for "lo".
Is it intended behavior?
Why do we need HW MAC for HW NIC and virtual one for "lo"?
How in this case several Linux instances will use the same HW MAC?
Best Regards, Alexander Valitov
View this message in context: http://www.nabble.com/Question-about-ORs-stub-driver-behavior-tp22326115p22326115.html
Sent from the L4 mailing list archive at Nabble.com.
More information about the l4-hackers