]> 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>
Mon, 20 Sep 2021 21:30:13 +0000 (14:30 -0700)
commit643f587c95ddc07dd5dc32ff5a2bdb0bd72e8df9
tree453c17a11fa6cc9b4e652242ba7a812cfeb1d30f
parent0f28c893a8b7b24e778e849acf699ac35c5117d0
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
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D28028

(cherry picked from commit 21802a127d83e8a8c721d69b697e7ddb223d7797)
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