aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-04-03 14:24:20 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-04 17:42:36 -0700
commit03213a996531e507e03c085d411a313e34357498 (patch)
treedda7578b53493824c60557946c930cb6c55523ba /drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
parentmlxsw: Remove ndo_get_port_parent_id implementation (diff)
downloadlinux-dev-03213a996531e507e03c085d411a313e34357498.tar.xz
linux-dev-03213a996531e507e03c085d411a313e34357498.zip
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c')
0 files changed, 0 insertions, 0 deletions