[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190329.133306.2165254559631165505.davem@davemloft.net>
Date: Fri, 29 Mar 2019 13:33:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: khorenko@...tuozzo.com
Cc: jarod@...hat.com, j.vosburgh@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, vfalico@...il.com, andy@...yhouse.net
Subject: Re: [PATCH] bonding: show full hw address in sysfs for slave
entries
From: Konstantin Khorenko <khorenko@...tuozzo.com>
Date: Thu, 28 Mar 2019 13:29:21 +0300
> Bond expects ethernet hwaddr for its slave, but it can be longer than 6
> bytes - infiniband interface for example.
>
> # cat /sys/devices/<skipped>/net/ib0/address
> 80:00:02:08:fe:80:00:00:00:00:00:00:7c:fe:90:03:00:be:5d:e1
>
> # cat /sys/devices/<skipped>/net/ib0/bonding_slave/perm_hwaddr
> 80:00:02:08:fe:80
>
> So print full hwaddr in sysfs "bonding_slave/perm_hwaddr" as well.
>
> Signed-off-by: Konstantin Khorenko <khorenko@...tuozzo.com>
Applied, thanks.
Powered by blists - more mailing lists