]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76f679364c72fb7369762b75d466f452a06c24f2
tree7845fa9027b578743fb14d080e1ad2e0b2aae12d
parent066d382f086f354ee714d2e027b166869a317e5c
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