commit | 03213a996531e507e03c085d411a313e34357498 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Wed Apr 03 14:24:20 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 04 17:42:36 2019 -0700 |
tree | dda7578b53493824c60557946c930cb6c55523ba | |
parent | aef36b88229a6e5ea4f23d19e8b5c72cf1261f18 [diff] |
bnxt: move bp->switch_id initialization to PF probe Currently the switch_id is being only initialized when switching eswitch mode from "legacy" to "switchdev". However, nothing prevents the id to be initialized from the very beginning. Physical ports can show it even in "legacy" mode. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>