]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit71fac305fb78967b2c856848dead355262ba9e03
tree0d6f72fc4417a09089dd55968c31d9f8adb284f4
parentf20a91f1cc70105852d029e642cef7c583f397d3
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