Konstantin Belousov 247cf5664e Add SIOCGIFDOWNREASON.
The ioctl(2) is intended to provide more details about the cause of
the down for the link.

Eventually we might define a comprehensive list of codes for the
situations.  But interface also allows the driver to provide free-form
null-terminated ASCII string to provide arbitrary non-formalized
information.  Sample implementation exists for mlx5(4), where the
string is fetched from firmware controlling the port.

Reviewed by:	hselasky, rrs
Sponsored by:	Mellanox Technologies
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D21527
2019-09-17 18:49:13 +00:00
..
2018-05-31 09:11:21 +00:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2019-07-25 22:23:34 +00:00
2019-07-25 22:23:34 +00:00
2019-07-24 16:10:20 +00:00
2019-09-17 18:49:13 +00:00
2019-09-17 18:49:13 +00:00
2019-05-09 11:34:46 +00:00
2019-03-15 11:08:44 +00:00
2018-06-16 19:21:09 +00:00
2017-07-24 03:59:50 +00:00