tools: ynl: allow setting recv() size
authorJakub Kicinski <kuba@kernel.org>
Tue, 5 Mar 2024 05:33:08 +0000 (21:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2024 12:07:43 +0000 (12:07 +0000)
commit7c93a88785dae6b61dc736b46594d088989e484b
tree3a88b4da3a59b888fb048feaead2db3058e92057
parent7df7231d6a6b68b4b68fb4e38a4639997a208fd2
tools: ynl: allow setting recv() size

Make the size of the buffer we use for recv() configurable.
The details of the buffer sizing in netlink are somewhat
arcane, we could spend a lot of time polishing this API.
Let's just leave some hopefully helpful comments for now.
This is a for-developers-only feature, anyway.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/net/ynl/lib/ynl.py