Re: [PATCH 01/15] netlink: specs: Introduce multi-message blobs for SPDM

Ankit Agrawal <[email protected]> Sun, 2 Aug 2026 17:58:06 +0000
Newsgroups dev.linux.lists.driver-core,dev.linux.lists.linux-coco,org.kernel.vger.linux-pci
Message-ID <SAWPR12MB9992679DEB9AFB41A21B116FDBB0D62@SAWPR12MB999267.namprd12.prod.outlook.com>
> I don't like this, sorry. You need to come up with something outside=0A=
> of netlink or more netlink-y.=0A=
=0A=
Hi Jakub, picking this up and continuing on with the Dan's work.=0A=
=0A=
In an earlier discussion [1], two options were mentioned.=0A=
=0A=
> Alright, so to make this more Netlink-y you can either:=0A=
=A0=A0>=A0 - delete the F_MULTI and replicate other attrs in each message a=
nd=0A=
=A0=A0>=A0=A0=A0 add an offset attr; this will make each message in the dum=
p more=0A=
=A0=A0>=A0=A0=A0 standalone.=0A=
=A0=A0>=A0 - keep the F_MULTI but object_val has to be a multi-attr, and th=
en=0A=
=A0=A0>=A0=A0=A0 we have to teach YNL to correctly append the attrs.=0A=
=0A=
So I'll update to the first option of standalone messages with an offset at=
tribute.=0A=
i.e. every dump message with a new offset for the chunk it carries and with=
=0A=
reassembly left to the consumer. I suppose that aligns with your preference=
?=0A=
=0A=
[1] https://lore.kernel.org/all/[email protected]/=