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
..
2019-09-16 15:06:19 +00:00
2019-09-16 21:31:02 +00:00
2019-08-25 17:13:00 +00:00
2019-09-17 18:49:13 +00:00
2019-09-16 22:17:16 +00:00
2019-09-17 18:49:13 +00:00
2019-02-04 21:28:25 +00:00