[PATCH v9 0/7] net/tap: simple refactoring

Vladimir Sementsov-Ogievskiy posted 7 patches 3 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251030164023.710048-1-vsementsov@yandex-team.ru
Maintainers: Jason Wang <jasowang@redhat.com>
net/tap-bsd.c     |  3 +-
net/tap-linux.c   | 19 +++-------
net/tap-solaris.c |  3 +-
net/tap-stub.c    |  3 +-
net/tap.c         | 94 +++++++++++++++++++++++++----------------------
net/tap_int.h     |  3 +-
6 files changed, 62 insertions(+), 63 deletions(-)
[PATCH v9 0/7] net/tap: simple refactoring
Posted by Vladimir Sementsov-Ogievskiy 3 months, 1 week ago
Hi all!

These are some refactoring patches, extracted from

[PATCH v8 00/19] virtio-net: live-TAP local migration

These patches are good in general, even not considered as
preparation to the feature. I hope, they may be queued
in advance, to simplify further work on the rest of
the series.

The (reworked) rest of the series is coming soon and will
be based on this one.

v9: Mostly unchanged, so keep r-bs. Still, drop t-bs, as there
were still some conflicts due to commits reordering.

Vladimir Sementsov-Ogievskiy (7):
  net/tap: net_init_tap_one(): drop extra error propagation
  net/tap: net_init_tap_one(): move parameter checking earlier
  net/tap: pass NULL to net_init_tap_one() in cases when scripts are
    NULL
  net/tap: rework scripts handling
  net/tap: setup exit notifier only when needed
  net/tap: tap_set_sndbuf(): add return value
  net/tap: rework tap_set_sndbuf()

 net/tap-bsd.c     |  3 +-
 net/tap-linux.c   | 19 +++-------
 net/tap-solaris.c |  3 +-
 net/tap-stub.c    |  3 +-
 net/tap.c         | 94 +++++++++++++++++++++++++----------------------
 net/tap_int.h     |  3 +-
 6 files changed, 62 insertions(+), 63 deletions(-)

-- 
2.48.1
Re: [PATCH v9 0/7] net/tap: simple refactoring
Posted by Vladimir Sementsov-Ogievskiy 2 months ago
ping

(now as 11.0 material)

On 30.10.25 19:40, Vladimir Sementsov-Ogievskiy wrote:
> Hi all!
> 
> These are some refactoring patches, extracted from
> 
> [PATCH v8 00/19] virtio-net: live-TAP local migration
> 
> These patches are good in general, even not considered as
> preparation to the feature. I hope, they may be queued
> in advance, to simplify further work on the rest of
> the series.
> 
> The (reworked) rest of the series is coming soon and will
> be based on this one.
> 
> v9: Mostly unchanged, so keep r-bs. Still, drop t-bs, as there
> were still some conflicts due to commits reordering.
> 
> Vladimir Sementsov-Ogievskiy (7):
>    net/tap: net_init_tap_one(): drop extra error propagation
>    net/tap: net_init_tap_one(): move parameter checking earlier
>    net/tap: pass NULL to net_init_tap_one() in cases when scripts are
>      NULL
>    net/tap: rework scripts handling
>    net/tap: setup exit notifier only when needed
>    net/tap: tap_set_sndbuf(): add return value
>    net/tap: rework tap_set_sndbuf()
> 
>   net/tap-bsd.c     |  3 +-
>   net/tap-linux.c   | 19 +++-------
>   net/tap-solaris.c |  3 +-
>   net/tap-stub.c    |  3 +-
>   net/tap.c         | 94 +++++++++++++++++++++++++----------------------
>   net/tap_int.h     |  3 +-
>   6 files changed, 62 insertions(+), 63 deletions(-)
> 


-- 
Best regards,
Vladimir
Re: [PATCH v9 0/7] net/tap: simple refactoring
Posted by Jason Wang 2 months ago
On Fri, Dec 5, 2025 at 4:05 AM Vladimir Sementsov-Ogievskiy
<vsementsov@yandex-team.ru> wrote:
>
> ping
>
> (now as 11.0 material)
>

I've queued this.

Thanks
Re: [PATCH v9 0/7] net/tap: simple refactoring
Posted by Vladimir Sementsov-Ogievskiy 3 weeks, 3 days ago
On 05.12.25 09:19, Jason Wang wrote:
> On Fri, Dec 5, 2025 at 4:05 AM Vladimir Sementsov-Ogievskiy
> <vsementsov@yandex-team.ru> wrote:
>>
>> ping
>>
>> (now as 11.0 material)
>>
> 
> I've queued this.
> 
> Thanks
> 

Hi! Gently remind. Aren't these patches forgotten?

-- 
Best regards,
Vladimir

Re: [PATCH v9 0/7] net/tap: simple refactoring
Posted by Jason Wang 2 weeks, 6 days ago
On Fri, Jan 16, 2026 at 12:47 AM Vladimir Sementsov-Ogievskiy
<vsementsov@yandex-team.ru> wrote:
>
> On 05.12.25 09:19, Jason Wang wrote:
> > On Fri, Dec 5, 2025 at 4:05 AM Vladimir Sementsov-Ogievskiy
> > <vsementsov@yandex-team.ru> wrote:
> >>
> >> ping
> >>
> >> (now as 11.0 material)
> >>
> >
> > I've queued this.
> >
> > Thanks
> >
>
> Hi! Gently remind. Aren't these patches forgotten?

Thanks for the reminder. It's not, I plan to send the pull request no
later than the end of this week, it should include this series.

Thanks

>
> --
> Best regards,
> Vladimir
>
Re: [PATCH v9 0/7] net/tap: simple refactoring
Posted by Vladimir Sementsov-Ogievskiy 2 months ago
On 05.12.25 09:19, Jason Wang wrote:
> On Fri, Dec 5, 2025 at 4:05 AM Vladimir Sementsov-Ogievskiy
> <vsementsov@yandex-team.ru> wrote:
>>
>> ping
>>
>> (now as 11.0 material)
>>
> 
> I've queued this.
> 

Thanks!

-- 
Best regards,
Vladimir

Re: [PATCH v9 0/7] net/tap: simple refactoring
Posted by Lei Yang 3 months ago
Tested this series of patches with virtio-net regression tests,
everything works fine.

Tested-by: Lei Yang <leiyang@redhat.com>

On Fri, Oct 31, 2025 at 12:40 AM Vladimir Sementsov-Ogievskiy
<vsementsov@yandex-team.ru> wrote:
>
> Hi all!
>
> These are some refactoring patches, extracted from
>
> [PATCH v8 00/19] virtio-net: live-TAP local migration
>
> These patches are good in general, even not considered as
> preparation to the feature. I hope, they may be queued
> in advance, to simplify further work on the rest of
> the series.
>
> The (reworked) rest of the series is coming soon and will
> be based on this one.
>
> v9: Mostly unchanged, so keep r-bs. Still, drop t-bs, as there
> were still some conflicts due to commits reordering.
>
> Vladimir Sementsov-Ogievskiy (7):
>   net/tap: net_init_tap_one(): drop extra error propagation
>   net/tap: net_init_tap_one(): move parameter checking earlier
>   net/tap: pass NULL to net_init_tap_one() in cases when scripts are
>     NULL
>   net/tap: rework scripts handling
>   net/tap: setup exit notifier only when needed
>   net/tap: tap_set_sndbuf(): add return value
>   net/tap: rework tap_set_sndbuf()
>
>  net/tap-bsd.c     |  3 +-
>  net/tap-linux.c   | 19 +++-------
>  net/tap-solaris.c |  3 +-
>  net/tap-stub.c    |  3 +-
>  net/tap.c         | 94 +++++++++++++++++++++++++----------------------
>  net/tap_int.h     |  3 +-
>  6 files changed, 62 insertions(+), 63 deletions(-)
>
> --
> 2.48.1
>