Re: Generic interface to make physical port number used by a netdevice available to user space
From: Ben Hutchings <hidden>
Date: 2013-06-10 18:10:46
From: Ben Hutchings <hidden>
Date: 2013-06-10 18:10:46
On Mon, 2013-06-10 at 10:54 -0700, Narendra_K@Dell.com wrote: [...]
In the scenario of NIC partitions, universally unique identifier generation may have to consider that, each NIC partition which maps to a given physical port will have its own MAC address. (The SRIOV VF network interfaces could probably use PF's MAC address). But generation of a universally unique physport identifier would probably be driver specific.
Right, I agree this has to be driver-specific.
2. Also, thinking about the default value for 'physport' , could it be set to zero by default ? A possible interface could be 0 ==> driver did not to set the identifierquoted
0 ==> driver successfully set the identifier
I think a universally unique identifier would have to be a multibyte value like a MAC-48, EUI-64 or 128-bit UUID - not a simple number, and not a fixed length. The unset value would then have a *length* of zero. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.