ixgbe: report link state for VF devices
authorOvidiu Panait <ovidiu.panait@windriver.com>
Fri, 8 Dec 2023 12:00:57 +0000 (14:00 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 2 Jan 2024 21:30:26 +0000 (13:30 -0800)
commit738808ae82d908e5ef4bd025999d44510c0710a7
treeab8cde523087c7cd9aaceb7c012c6ba8ed63b9e5
parent954fb2d2d49f46e1d9861c45731e26bdeb081695
ixgbe: report link state for VF devices

The link state of VF devices can be controlled via "ip link set", but the
current state (auto/disabled) is not reported by "ip link show".

Update ixgbe_ndo_get_vf_config() to make this info available to userspace.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c