]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-devlink-port-implementation'
authorDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 15:01:50 +0000 (11:01 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 15:01:50 +0000 (11:01 -0400)
commit947b14e656c68bbaaafacfecf02ba94c096725cd
tree778e83b04aede19923261c5cd4ed443c10498b43
parent9b4e3f6efa130b6474598ff6b9c48e199a781515
parent0b7ee94c71bbe3194b2d9fa4b8eca5cfdfe78b3d
Merge branch 'nfp-devlink-port-implementation'

Jakub Kicinski says:

====================
nfp: devlink port implementation

This series adds basic devlink support.  The operations we can perform
are port show and port split/unsplit.

v2:
Register devlink first, and then register all the ports.  Port {,un}split
searches the port list, which is protected by a mutex.  If port split
is requested before ports are registered we will simply not find the port
and return -EINVAL.
====================

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