[PATCH v4 00/13] net: refactoring and fixes

Vladimir Sementsov-Ogievskiy posted 13 patches 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260318113144.15697-1-vsementsov@yandex-team.ru
Maintainers: Ilya Maximets <i.maximets@ovn.org>, Jason Wang <jasowang@redhat.com>
net/af-xdp.c |  44 ++-----
net/tap.c    | 324 +++++++++++++++++++++------------------------------
net/util.c   |  55 +++++++++
net/util.h   |  14 +++
4 files changed, 211 insertions(+), 226 deletions(-)
[PATCH v4 00/13] net: refactoring and fixes
Posted by Vladimir Sementsov-Ogievskiy 1 week, 1 day ago
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).

v4:
01-12: add r-b by Ben
10: fix bug in tap_parse_vhost_fds(), keep r-b

Vladimir Sementsov-Ogievskiy (13):
  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/tap: check that user tries to define zero queues

 net/af-xdp.c |  44 ++-----
 net/tap.c    | 324 +++++++++++++++++++++------------------------------
 net/util.c   |  55 +++++++++
 net/util.h   |  14 +++
 4 files changed, 211 insertions(+), 226 deletions(-)

-- 
2.52.0