> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Przemek Kitszel
> Sent: Friday, December 8, 2023 2:17 PM
> To: [email protected]; [email protected]
> Cc: Nguyen, Anthony L <[email protected]>; Brandeburg, Jesse
> <[email protected]>
> Subject: Re: [Intel-wired-lan] [PATCH iwl-next v2] ixgbe: report link state 
> for VF
> devices
> 
> [offlist]
> 
> On 12/8/23 13:00, [email protected] wrote:
> > From: Ovidiu Panait <[email protected]>
> 
> Thank you for your contribution :)
> 
> in the future, try to keep 24h before next version of a posting, and CC netdev
> ML
> 
> no need for new action on this patch though
> 
> Przemek
> 
> >
> > 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 <[email protected]>
> > Signed-off-by: Ovidiu Panait <[email protected]>
> > ---
> > v2 changes:
> > - remove Fixes: tag and add Reviewed-by: tag from Przemek
> >
> > v1:
> > https://lore.kernel.org/intel-wired-lan/a2ac9348-8bd9-c9ec-59cf-38f24b
> > [email protected]/T/
> >
> >   drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
> > b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
> > index 9cfdfa8a4355..21b18d2f0d55 100644
> > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
> > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
> > @@ -1849,5 +1849,6 @@ int ixgbe_ndo_get_vf_config(struct net_device
> *netdev,
> >     ivi->spoofchk = adapter->vfinfo[vf].spoofchk_enabled;
> >     ivi->rss_query_en = adapter->vfinfo[vf].rss_query_enabled;
> >     ivi->trusted = adapter->vfinfo[vf].trusted;
> > +   ivi->linkstate = adapter->vfinfo[vf].link_state;
> >     return 0;
> >   }
> 
> _______________________________________________
> Intel-wired-lan mailing list
> [email protected]
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan


Tested-by: Rafal Romanowski <[email protected]>


_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Reply via email to