Ravi Pokala
ddae57504b
Persistently store NIC's hardware MAC address, and add a way to retrive it
...
The MAC address reported by `ifconfig ${nic} ether' does not always match
the address in the hardware, as reported by the driver during attach. In
particular, NICs which are components of a lagg(4) interface all report the
same MAC.
When attaching, the NIC driver passes the MAC address it read from the
hardware as an argument to ether_ifattach(). Keep a second copy of it, and
create ioctl(SIOCGHWADDR) to return it. Teach `ifconfig' to report it along
with the active MAC address.
PR: 194386
Reviewed by: glebius
MFC after: 1 week
Sponsored by: Panasas
Differential Revision: https://reviews.freebsd.org/D10609
2017-05-10 22:13:47 +00:00
..
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-17 22:02:09 +00:00
2017-04-17 22:02:09 +00:00
2017-03-13 09:04:10 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-15 07:22:47 +00:00
2017-05-10 18:33:40 +00:00
2017-01-18 13:31:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-29 08:52:07 +00:00
2017-01-25 21:25:26 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-18 13:31:17 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-27 07:56:41 +00:00
2017-04-08 04:50:50 +00:00
2017-05-10 22:13:47 +00:00
2017-02-22 02:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-04-11 08:56:18 +00:00
2017-04-11 08:56:18 +00:00
2017-03-07 00:13:53 +00:00
2017-02-06 08:49:57 +00:00
2017-02-22 02:35:59 +00:00
2017-05-05 16:51:53 +00:00
2017-05-02 19:09:11 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-11 08:56:18 +00:00
2017-01-20 17:16:48 +00:00
2017-05-10 18:33:40 +00:00
2017-03-08 08:09:41 +00:00
2017-02-28 23:42:47 +00:00
2017-05-10 22:13:47 +00:00
2017-04-29 08:28:59 +00:00
2017-05-10 22:13:47 +00:00
2017-02-28 23:42:47 +00:00
2017-03-13 22:53:06 +00:00
2017-05-09 08:29:55 +00:00
2017-04-07 00:33:03 +00:00
2017-02-28 23:42:47 +00:00
2017-02-19 02:03:09 +00:00
2017-04-24 21:21:49 +00:00
2017-04-03 13:35:04 +00:00
2017-04-03 13:35:04 +00:00
2017-03-07 00:13:53 +00:00
2017-03-22 21:18:18 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-04-16 19:17:10 +00:00
2017-04-08 04:37:01 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00