Skip to content
Commit caa57cd8 authored by Slawomir Mrozowicz's avatar Slawomir Mrozowicz Committed by Bruce Ashfield
Browse files

ixgbe: add the ability for the PF to disable VF link state

commit f9ba6a893e5210b63c0f018d29a3c6186b5ab7f2 from
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy



Add support for ndo_set_vf_link_state the Network Device Option that
allows the PF driver to control the virtual link state of the VF devices.
Without this change a VF cannot be disabled/enabled by the administrator.
In the implementation the auto state takes over PF link state to
VF link setting, the enable state is not supported, the disable state
shut off the VF link regardless of the PF setting.

Signed-off-by: default avatarSlawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Tested-by: default avatarKonrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>

CVE-2021-33061
(cherry picked from commit 366fd100)
Signed-off-by: default avatarCengiz Can <cengiz.can@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 16a77bfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment