Re: [PATCH net-next 00/11] mlxsw: extend line card model by devices and info

David Ahern
2022-05-28T15:59:05Z

On 5/24/22 8:31 AM, Jiri Pirko wrote:
>
> $ devlink lc info pci/0000:01:00.0 lc 8
> pci/0000:01:00.0:

...

>
> $ devlink lc flash pci/0000:01:00.0 lc 8 file mellanox/fw-AGB-rel-19_2010_1312-022-EVB.mfa2

A lot of your proposed syntax for devlink commands has 'lc' twice. If
'lc' is the subcommand, then you are managing a linecard making 'lc'
before the '8' redundant. How about 'slot 8' or something along those lines?