]> 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>
Wed, 3 Mar 2021 01:43:38 +0000 (17:43 -0800)
commit21802a127d83e8a8c721d69b697e7ddb223d7797
tree5e6898b4cea973a5e714d155ca15ba7f2af1b38d
parent9f99061ef9c95b171fc92d34026222bb5e052337
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
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