netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question about ixgbevf/ixgbevf_main.c
@ 2014-01-07 14:46 Julia Lawall
  2014-01-07 15:42 ` Alexander Duyck
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2014-01-07 14:46 UTC (permalink / raw)
  To: donald.c.skidmore, e1000-devel, netdev

I was wondering why ixgbevf_suspend doesn't call pci_set_power_state?  It
is called in the corresponding resume function, and most other PCI drivers
with a suspend functyion also call it in suspend.

thanks,
julia

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: question about ixgbevf/ixgbevf_main.c
  2014-01-07 14:46 question about ixgbevf/ixgbevf_main.c Julia Lawall
@ 2014-01-07 15:42 ` Alexander Duyck
  2014-01-07 15:44   ` Julia Lawall
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Duyck @ 2014-01-07 15:42 UTC (permalink / raw)
  To: Julia Lawall, donald.c.skidmore, e1000-devel, netdev

A VF isn't a real device so it shouldn't really have the concept of a
power state.  The power state for the device is controlled via the PF.
I suspect the fact that ixgbevf is modifying power state on resume is
likely a bug.

Thanks,

Alex

On 01/07/2014 06:46 AM, Julia Lawall wrote:
> I was wondering why ixgbevf_suspend doesn't call pci_set_power_state?  It
> is called in the corresponding resume function, and most other PCI drivers
> with a suspend functyion also call it in suspend.
> 
> thanks,
> julia
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: question about ixgbevf/ixgbevf_main.c
  2014-01-07 15:42 ` Alexander Duyck
@ 2014-01-07 15:44   ` Julia Lawall
  2014-01-07 15:55     ` Alexander Duyck
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2014-01-07 15:44 UTC (permalink / raw)
  To: Alexander Duyck; +Cc: Julia Lawall, donald.c.skidmore, e1000-devel, netdev

On Tue, 7 Jan 2014, Alexander Duyck wrote:

> A VF isn't a real device so it shouldn't really have the concept of a
> power state.  The power state for the device is controlled via the PF.
> I suspect the fact that ixgbevf is modifying power state on resume is
> likely a bug.

Thanks for the information, which is very helpful.  Should I submit a
patch to remove it in the resume function?  I don't have the ability ot
test it, though.

julia

>
> Thanks,
>
> Alex
>
> On 01/07/2014 06:46 AM, Julia Lawall wrote:
> > I was wondering why ixgbevf_suspend doesn't call pci_set_power_state?  It
> > is called in the corresponding resume function, and most other PCI drivers
> > with a suspend functyion also call it in suspend.
> >
> > thanks,
> > julia
> > --
> > To unsubscribe from this list: send the line "unsubscribe netdev" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: question about ixgbevf/ixgbevf_main.c
  2014-01-07 15:44   ` Julia Lawall
@ 2014-01-07 15:55     ` Alexander Duyck
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Duyck @ 2014-01-07 15:55 UTC (permalink / raw)
  To: Julia Lawall; +Cc: donald.c.skidmore, e1000-devel, netdev

On 01/07/2014 07:44 AM, Julia Lawall wrote:
> On Tue, 7 Jan 2014, Alexander Duyck wrote:
>
>> A VF isn't a real device so it shouldn't really have the concept of a
>> power state.  The power state for the device is controlled via the PF.
>> I suspect the fact that ixgbevf is modifying power state on resume is
>> likely a bug.
> Thanks for the information, which is very helpful.  Should I submit a
> patch to remove it in the resume function?  I don't have the ability ot
> test it, though.
>
> julia
>

You could submit a patch.  The issue should just be cosmetic.  Setting
the power state to D0 should have no impact on things one way or another
since that is the state VFs are normally in when they are created.

Thanks,

Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-07 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07 14:46 question about ixgbevf/ixgbevf_main.c Julia Lawall
2014-01-07 15:42 ` Alexander Duyck
2014-01-07 15:44   ` Julia Lawall
2014-01-07 15:55     ` Alexander Duyck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).