Hi all!
Here are some refactoring and fixes, mostly in net/tap.c I'm making on
my way to implementing TAP fd migration (through UNIX domain socket).
v1 was:
[PATCH 0/3] net/tap: a bit more refactoring
https://lore.kernel.org/qemu-devel/20260121192713.133470-1-vsementsov@yandex-team.ru/
Supersedes: <20260121192713.133470-1-vsementsov@yandex-team.ru>
Vladimir Sementsov-Ogievskiy (12):
net/af-xdp: fix type overflow
net/tap: net_init_tap_one(): add return value
net/tap: net_init_tap(): drop extra vhostfdname variable
net/tap: net_init_tap(): refactor parameter checking
net/tap: net_init_tap(): common fail label
net/tap: net_init_tap_one() refactor to get vhostfd param
net/tap: net_init_tap_one(): drop model parameter
net: introduce net_parse_fds()
net/tap: move fds parameters handling to separate functions
net/tap: fix vhostfds/vhostfd parameters API
net/tap: net_init_tap(): merge fd=, fds= and helper= cases into one
net/tap: net_init_tap(): relax QEMU hubs check
net/af-xdp.c | 44 ++-----
net/tap.c | 317 +++++++++++++++++++++------------------------------
net/util.c | 50 ++++++++
net/util.h | 14 +++
4 files changed, 201 insertions(+), 224 deletions(-)
--
2.52.0