Merge branch 'netlink-auto-integers'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2023 10:43:36 +0000 (11:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2023 10:43:36 +0000 (11:43 +0100)
commitfd533a7ac7c2ab78a226121d0388d8cd8546dc52
tree7551ed1e2bbdcf071275ec67142a156190dfcd3f
parenta10f9bfe935dd49d09e1c284a73bcd322de12917
parent7d4caf54d2e8df2ed52240fe339adb13372c6251
Merge branch 'netlink-auto-integers'

Jakub Kicinski says:

====================
netlink: add variable-length / auto integers

Add netlink support for "common" / variable-length / auto integers
which are carried at the message level as either 4B or 8B depending
on the exact value. This saves space and will hopefully decrease
the number of instances where we realize that we needed more bits
after uAPI is set is stone. It also loosens the alignment requirements,
avoiding the need for padding.

This mini-series is a fuller version of the previous RFC:
https://lore.kernel.org/netdev/20121204.130914.1457976839967676240.davem@davemloft.net/
No user included here. I have tested (and will use) it
in the upcoming page pool API but the assumption is that
it will be widely applicable. So sending without a user.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>