]> 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>
Fri, 5 Mar 2021 01:23:19 +0000 (17:23 -0800)
commit2b94bda05a6d43e89c4a785c0f1cd569a41cb200
treecd22a1c8551c0b9fc47a989303caf63035376124
parentb149f7c23d13e73b92c2bf8c3691e3e1ebd833c1
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