mlxsw: spectrum: Set physical device for port netdevice
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Oct 2016 13:13:00 +0000 (15:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2016 17:45:52 +0000 (13:45 -0400)
commitf20a91f1cc70105852d029e642cef7c583f397d3
tree7845fa9027b578743fb14d080e1ad2e0b2aae12d
parent1d20d23c59c93a8b381063ef9785564018ad4c3a
mlxsw: spectrum: Set physical device for port netdevice

Do this so the sysfs has "device" link correctly set.

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