diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2026-01-30 07:15:55 +0000 |
|---|---|---|
| committer | Sumit Saxena <ssaxena@FreeBSD.org> | 2026-02-10 09:30:06 +0000 |
| commit | c2f799d4193f135f4d36e9f622b10b825b9144eb (patch) | |
| tree | 7d1993bcc3a9a8913893bed4c415c5e26bd6b459 /contrib/bind9/lib/isc | |
| parent | feb0a7e19f3c2e4c7eb90668b1e3dc34b5bb6dd6 (diff) | |
This change adds native support for the SIOCGIFDOWNREASON ioctl in iflib.
When ifconfig issues SIOCGIFDOWNREASON, the request is now routed through a
new driver callback (IFDI_GET_DOWNREASON). iflib allocates the ifdownreason
structure, calls the driver to fill the down-reason message, and then
returns the data back to ifconfig for display.
Without this change, iflib-based drivers cannot implement link-down reason
reporting even if the hardware provides the information.
No functional change for existing drivers unless they implement the new
IFDI_GET_DOWNREASON method. Existing drivers continue to behave as before.
Reviewed by: gallatin, erj, kgalazka, ssaxena, #iflib
Differential Revision: https://reviews.freebsd.org/D54045
MFC After: 1 week
Diffstat (limited to 'contrib/bind9/lib/isc')
0 files changed, 0 insertions, 0 deletions
