Re: [PATCHv5 net-next 1/3] octeontx2-af: Add devlink suppoort to af driver

From: Jakub Kicinski
Date: Mon Nov 30 2020 - 21:22:59 EST


On Thu, 26 Nov 2020 19:32:49 +0530 George Cherian wrote:
> Add devlink support to AF driver. Basic devlink support is added.
> Currently info_get is the only supported devlink ops.
>
> devlink ouptput looks like this
> # devlink dev
> pci/0002:01:00.0
> # devlink dev info
> pci/0002:01:00.0:
> driver octeontx2-af
> versions:
> fixed:
> mbox version: 9

You need to document what this version is exactly. See how other
drivers document things. It's also strongly preferred to use one
of the existing identifiers if any one is matching the semantics.

Fixed versions are for hardware versions, like ASIC rev or PCB board
id or version.

Your thing looks like a SW message format. It's not even FW.
It doesn't belong in devlink at all.