All of lore.kernel.org
 help / color / mirror / Atom feed
* perm_addr get
@ 2012-12-21 13:01 Jiri Pirko
  2012-12-21 13:09 ` Ben Hutchings
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Pirko @ 2012-12-21 13:01 UTC (permalink / raw)
  To: netdev; +Cc: bhutchings

Hi all.

>From what I understand dev->perm_addr is set only in case the hw has
permanent hw address somewhere written (for example EPROM).

So when I query device which does not have perm_addr set I get:

testt1:~$ ethtool -P team0
Permanent address: 00:00:00:00:00:00

Is this the correct behaviour? Wouldn't it be more correct if
ethtool_get_perm_addr() fails with -ENOENT for something like that?

Thanks.

Jiri

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-21 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21 13:01 perm_addr get Jiri Pirko
2012-12-21 13:09 ` Ben Hutchings
2012-12-21 13:25   ` Jiri Pirko
2012-12-21 14:40     ` Ben Hutchings

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.