Re: [PATCH v4] PCI/DOE: Expose the DOE protocols via sysfs

From: Alistair Francis
Date: Tue Aug 15 2023 - 14:38:03 EST


On Sat, Aug 12, 2023 at 4:21 AM Lukas Wunner <lukas@xxxxxxxxx> wrote:
>
> On Fri, Aug 11, 2023 at 10:03:58AM +0900, Damien Le Moal wrote:
> > On 8/11/23 01:33, Alistair Francis wrote:
> > > Each DOE feature is exposed as a single file. The files are empty and
> > > the information is contained in the file name.
> >
> > s/feature/protocol ?
>
> DOE r1.1 replaced all occurrences of "protocol" with the term "feature"
> or "Data Object Type".
>
> PCIe r6.1 (which was published July 24) incorporated that change.
>
> So going forward the term "protocol" is deprecated in the DOE context.
>
> We should use the terms used by the (latest) PCIe Base Spec so that
> users can easily make the connection between the language in the spec
> and our code.
>
> Unfortunately this patch uses a mix of "protocol" and "feature".
> It should use the latter term exclusively.

The existing file uses protocols, so I have tried to match the
existing style. I have changed the names to feature though

Alistair

>
> Thanks,
>
> Lukas