]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ixl(4): Add ability to control link state on ifconfig down
authorKrzysztof Galazka <krzysztof.galazka@intel.com>
Wed, 3 Mar 2021 01:38:51 +0000 (17:38 -0800)
committerEric Joyner <erj@FreeBSD.org>
Thu, 11 Mar 2021 01:07:26 +0000 (17:07 -0800)
commitf9c8aed24422926c48ca6a591097c2a5b03fdf1f
tree46ba29c00eeb0672135f2d0d37e54b857401b1de
parent995755b959a657bf86fbc4535abd3076ba981171
ixl(4): Add ability to control link state on ifconfig down

Add sysctl link_active_on_if_down, which allows user to control
if interface is kept in active state when it is brought
down with ifconfig. Set it to enabled by default to preserve
backwards compatibility.

Reviewed by: erj
Tested by: gowtham.kumar.ks@intel.com
Approved by: re (gjb)
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D28028

(cherry picked from commit 21802a127d83e8a8c721d69b697e7ddb223d7797)
(cherry picked from commit 2b94bda05a6d43e89c4a785c0f1cd569a41cb200)
sys/dev/ixl/if_ixl.c
sys/dev/ixl/ixl_pf.h
sys/dev/ixl/ixl_pf_iflib.c
sys/dev/ixl/ixl_pf_main.c