question about ixgbevf/ixgbevf_main.c
Subsystems (2)
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
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
Quoted 11 lines · Julia Lawall
I was wondering why
ixgbevf_suspenddoesn't callpci_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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Alexander Duyck
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
Quoted 19 lines
Thanks,
Alex
Quoted 11 lines · Julia Lawall
I was wondering why
ixgbevf_suspenddoesn't callpci_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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Julia Lawall
Quoted 4 lines · Alexander Duyck
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.
Quoted 6 lines
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