commit | 46737a194945e540e3e2eb1fc870207928a9c2eb | [log] [tgz] |
---|---|---|
author | Danielle Ratson <danieller@mellanox.com> | Thu Jul 09 16:18:15 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 09 13:15:29 2020 -0700 |
tree | 60689b2ab9c1323229b9e9a1b3f9d3314a5735bb | |
parent | 10a429bab4462581bbda3fd7f41d4ec0ddc5e682 [diff] |
devlink: Move switch_port attribute of devlink_port_attrs to devlink_port The struct devlink_port_attrs holds the attributes of devlink_port. Similarly to the previous patch, 'switch_port' attribute is another exception. Move 'switch_port' to be devlink_port's field. Signed-off-by: Danielle Ratson <danieller@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>