]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: switchx2: Set physical device for port netdevice
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Oct 2016 13:13:01 +0000 (15:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2016 17:45:52 +0000 (13:45 -0400)
commit761a30e2effcfee32c27c65e50e56ed199ee502e
tree0d6f72fc4417a09089dd55968c31d9f8adb284f4
parent76f679364c72fb7369762b75d466f452a06c24f2
mlxsw: switchx2: 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/switchx2.c