On 7/18/23 12:15 PM, Jakub Kicinski wrote:
On Tue, 18 Jul 2023 15:06:29 -0300 Jason Gunthorpe wrote:
netlink feels like a weird API choice for that, in particular it would be really wrong to somehow bind the lifecycle of a netlink object to a process.
Netlink is the right API, life cycle of objects can be easily tied to a netlink socket.
That is an untuitive connection -- memory references, h/w queues, flow steering should be tied to the datapath socket, not a control plane socket.