]> 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)
commiteed964bc2d2a355497fc3c901845d7099ea4bb23
tree44b549d98fcb1420199cc401389a817de32981a9
parent931d5c090cc0ae23722c37b96954225d59f77af0
parent9a62f2d7de5b03c65b7769561243e5a59405a867
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>