i40e: Expose 'trust' flag to userspace via ndo_get_vf_config.
Subsystems (2)
PATCH 1/1 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.
--- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +1 -0
@@ -2995,6 +2995,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:
Signature · 1 line
2.5.5
Singhai
PATCH 1/1 i40e: Expose 'trust' flag to userspace via ndo_get_vf_config.
ACK
-----Original Message-----
From: Samudrala, Sridhar
Sent: Thursday, August 4, 2016 9:46 AM
To: [email protected]; Singhai, Anjali <[email protected]>
Subject: [next PATCH] 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.
--- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +1 -0
@@ -2995,6 +2995,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:
Signature · 1 line
2.5.5
Bowers
PATCH 1/1 i40e: Expose 'trust' flag to userspace via ndo_get_vf_config.
In reply to Sridhar SamudralaQuoted 9 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Sridhar Samudrala
Sent: Thursday, August 04, 2016 9:46 AM
To: intel-wired-lan at lists.osuosl.org; Singhai, Anjali <[email protected]>
Subject: [Intel-wired-lan] [next PATCH] i40e: Expose 'trust' flag to userspace viando_get_vf_config.
Quoted 8 lines
This enables
ip -d l
to indicate if trust is on or off for VFs.Signed-off-by Sridhar Samudrala <[email protected]>--- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 1 + 1 file changed, 1 insertion(+)