[PATCH dpdk 3/4] net/tap: use netlink if possible

Stephen Hemminger stephen at networkplumber.org
Mon Oct 27 17:58:47 CET 2025


On Mon, 27 Oct 2025 17:10:24 +0100
"Robin Jarry" <rjarry at redhat.com> wrote:

> Stephen Hemminger, Oct 27, 2025 at 17:06:
> > Netlink has been available since linux 2.4!
> > Rather than having two code paths, only one of which gets tested,
> > better to commit to netlink and use it.
> >
> > Since dealing with netlink is a nuisance, I wonder if using
> > libmnl would be better. Yes, it creates new dependency but netlink
> > handling has been place with lots of Coverity overruns etc.  
> 
> I don't mind replacing ioctl with netlink calls but adding a libmnl
> dependency just for one driver seems overkill.
> 

There is netlink handling in a couple drivers but probably not worth
bothering for now.


More information about the dev mailing list