mlxsw: Implement devlink interface
authorJiri Pirko <jiri@mellanox.com>
Fri, 26 Feb 2016 16:32:26 +0000 (17:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 21:07:30 +0000 (16:07 -0500)
commitc4745500e988b393189703bade6c3ec65194e24c
tree17bf22e395355563c6eb7041d90799f4d6a34e02
parentb2facd95ab965465373fc5ded7218c8c4fa8da7d
mlxsw: Implement devlink interface

Implement newly introduced devlink interface. Add devlink port instances
for every port and set the port types accordingly.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/switchx2.c