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)
commit5dafc87f40d7b7f2b2a3b3153399143c333ec785
tree778e83b04aede19923261c5cd4ed443c10498b43
parentc067598aceba9c5ff221cf5e215b86b9686dd009
parentec8b1fbe682deb376062c5ed04ef9c78160ffbf0
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>