Merge branch 'aquantia-various-ethtool-ops-implementation'
authorDavid S. Miller <davem@davemloft.net>
Tue, 3 Jul 2018 14:23:48 +0000 (23:23 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jul 2018 14:23:48 +0000 (23:23 +0900)
commit44a4c4698ee86daa3f44ad4b370f5a9f58831d29
tree44b549d98fcb1420199cc401389a817de32981a9
parentc18a9c096683dd30300686ffc755443816893968
parent1d1c21228344f2519f14aea25d0ebb1274b43c9a
Merge branch 'aquantia-various-ethtool-ops-implementation'

Igor Russkikh says:

====================
net: aquantia: various ethtool ops implementation

In this patchset Anton Mikaev and I added some useful ethtool operations:
- ring size changes
- link renegotioation
- flow control management

The patch also improves init/deinit sequence.

V3 changes:
- After review and analysis it is clear that rtnl lock (which is
  captured by default on ethtool ops) is enough to secure possible
  overlapping of dev open/close. Thus, just dropping internal mutex.

V2 changes:
- using mutex to secure simultaneous dev close/open
- using state var to store/restore dev state
====================

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