lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1370887841.1933.20.camel@bwh-desktop.uk.level5networks.com>
Date:	Mon, 10 Jun 2013 19:10:41 +0100
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	<Narendra_K@...l.com>
CC:	<john.fastabend@...il.com>, <john.r.fastabend@...el.com>,
	<stephen@...workplumber.org>, <netdev@...r.kernel.org>
Subject: Re: Generic interface to make physical port number used by a
 netdevice available to user space

On Mon, 2013-06-10 at 10:54 -0700, Narendra_K@...l.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 identifier
> > 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.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ