Merge branch 'net-mvneta-improve-suspend-resume'
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2018 15:14:03 +0000 (11:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2018 15:14:03 +0000 (11:14 -0400)
Jisheng Zhang says:

====================
net: mvneta: improve suspend/resume

This series tries to optimize the mvneta's suspend/resume
implementation by only taking necessary actions.

Since v2:
 - keep rtnl lock when calling mvneta_start_dev() and mvneta_stop_dev()
   Thank Russell for pointing this out

Since v1:
 - unify ret check
 - try best to keep the suspend/resume behavior
 - split txq deinit into sw/hw parts as well
 - adjust mvneta_stop_dev() location

I didn't add Thomas's Ack tag to patch1, because in v2, I add new code
to split the txq deinit into two parts.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge