From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATCH] Documentation: clarify phys_port_id Date: Wed, 17 Dec 2014 15:24:51 -0800 Message-ID: <549210C3.7010606@gmail.com> References: <1418834826.1160.35.camel@dcbw.local> <1418835576.1160.38.camel@dcbw.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Joshua Watt , jpirko@redhat.com To: Dan Williams , netdev@vger.kernel.org Return-path: Received: from mail-pa0-f47.google.com ([209.85.220.47]:32851 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959AbaLQXZM (ORCPT ); Wed, 17 Dec 2014 18:25:12 -0500 Received: by mail-pa0-f47.google.com with SMTP id kq14so80840pab.34 for ; Wed, 17 Dec 2014 15:25:12 -0800 (PST) In-Reply-To: <1418835576.1160.38.camel@dcbw.local> Sender: netdev-owner@vger.kernel.org List-ID: On 17/12/14 08:59, Dan Williams wrote: > Signed-off-by: Dan Williams Reviewed-by: Florian Fainelli > --- > Documentation/ABI/testing/sysfs-class-net | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/sysfs-class-net b/Documentation/ABI/testing/sysfs-class-net > index e1b2e78..7fe823a 100644 > --- a/Documentation/ABI/testing/sysfs-class-net > +++ b/Documentation/ABI/testing/sysfs-class-net > @@ -186,7 +186,12 @@ KernelVersion: 3.12 > Contact: netdev@vger.kernel.org > Description: > Indicates the interface unique physical port identifier within > - the NIC, as a string. > + the NIC, as a string. If two net_device objects share physical > + hardware or other resources, and/or do not operate independently > + both net_device objects should be assigned the > + same phys_port_id. phys_port_id should be as globally unique > + as possible to prevent conflicts between different drivers and > + vendors, eg with MAC addresses or hardware GUIDs. > > What: /sys/class/net//speed > Date: October 2009 >