nfp: pass switch ID through devlink_port_attrs_set()
authorJiri Pirko <jiri@mellanox.com>
Wed, 3 Apr 2019 12:24:23 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:42:36 +0000 (17:42 -0700)
commit1b15c90270c5051799fe5a557684d66dbc95d7b4
treeff01b735ddb7a68505c15de233578c6f4657408f
parent56d9f4e8f70e6f47ad4da7640753cf95ae51a356
nfp: pass switch ID through devlink_port_attrs_set()

Pass the switch ID down the to devlink through devlink_port_attrs_set()
so it can be used by devlink_compat_switch_id_get().

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_devlink.c