]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit682c3e260ccc77dcf43f699ae9f3bf800fd562e5
tree44b549d98fcb1420199cc401389a817de32981a9
parentfc832b88c37c499cbbb84ad77398c8dd9605ab9c
parente580d672a2349f3ba089768226b9d258b9e1a24d
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>