mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 07:45:03 +07:00
i40e: Expose 'trust' flag to userspace via ndo_get_vf_config.
This enables ip -d l to indicate if trust is on or off for VFs. Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
be0cb0a66a
commit
d40062f3c4
@ -3000,6 +3000,7 @@ int i40e_ndo_get_vf_config(struct net_device *netdev,
|
||||
else
|
||||
ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE;
|
||||
ivi->spoofchk = vf->spoofchk;
|
||||
ivi->trusted = vf->trusted;
|
||||
ret = 0;
|
||||
|
||||
error_param:
|
||||
|
Loading…
Reference in New Issue
Block a user