]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: switch_ib: Pass valid HW id down to mlxsw_core_port_init()
authorJiri Pirko <jiri@mellanox.com>
Wed, 3 Apr 2019 12:24:25 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:42:36 +0000 (17:42 -0700)
commit68cd91912ac9afede0cf72eea0ee0e1671adc7c8
tree87de2060cd847ac110ee8cde152cdab0e70b1818
parentea44293c394616a6958b7addda2e8e4b85f602a9
mlxsw: switch_ib: Pass valid HW id down to mlxsw_core_port_init()

Obtain HW id and pass it down to mlxsw_core_port_init() as it would be
used as switch_id in devlink and exposed to user.

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