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 org.kernel.vger.linux-pci,dev.linux.lists.driver-core,dev.linux.lists.linux-coco
Message-ID <SAWPR12MB9992679DEB9AFB41A21B116FDBB0D62@SAWPR12MB999267.namprd12.prod.outlook.com>
> I don't like this, sorry. You need to come up with something outside
> of netlink or more netlink-y.

Hi Jakub, picking this up and continuing on with the Dan's work.

In an earlier discussion [1], two options were mentioned.

> Alright, so to make this more Netlink-y you can either:
  >  - delete the F_MULTI and replicate other attrs in each message and
  >    add an offset attr; this will make each message in the dump more
  >    standalone.
  >  - keep the F_MULTI but object_val has to be a multi-attr, and then
  >    we have to teach YNL to correctly append the attrs.

So I'll update to the first option of standalone messages with an offset attribute.
i.e. every dump message with a new offset for the chunk it carries and with
reassembly left to the consumer. I suppose that aligns with your preference?

[1] https://lore.kernel.org/all/[email protected]/