Thread (4 messages) flat view 4 messages, 2 authors, 2012-12-21

perm_addr get

From: Jiri Pirko <jiri@resnulli.us>
Date: 2012-12-21 13:01:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help