]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Add port type (Eth/IB) set API
authorElad Raz <eladr@mellanox.com>
Fri, 28 Oct 2016 19:35:58 +0000 (21:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2016 20:50:17 +0000 (16:50 -0400)
commit9570af1bdff177b549cc6eb8e8e4562c3fa60267
tree4126b3d6ce255769addab4d8b2886c5c20a887d8
parent4185cb6cbc50c2d7cf7e522b0498874da9465f5a
mlxsw: core: Add port type (Eth/IB) set API

Add "port_type_set" API to mlxsw core. The core layer send the change type
callback to the port along with it's private information.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h