[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/9] net: Introduce announce timer
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH 1/9] net: Introduce announce timer |
Date: |
Tue, 29 Jan 2019 11:27:20 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
* Eric Blake (address@hidden) wrote:
> On 1/28/19 11:03 AM, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert" <address@hidden>
> >
> > The 'announce timer' will be used by migration, and explicit
> > requests for qemu to perform network announces.
> >
> > Based on the work by Germano Veit Michel <address@hidden>
> > and Vlad Yasevich <address@hidden>
> >
> > Signed-off-by: Dr. David Alan Gilbert <address@hidden>
> > ---
>
> > +++ b/qapi/net.json
> > @@ -684,3 +684,26 @@
> > ##
> > { 'event': 'NIC_RX_FILTER_CHANGED',
> > 'data': { '*name': 'str', 'path': 'str' } }
> > +
> > +##
> > +# @AnnounceParameters:
> > +#
> > +# Parameters for self-announce timers
> > +#
> > +# @initial: Initial delay (in ms) before sending the first GARP/RARP
> > +# announcement
> > +#
> > +# @max: Maximum delay (in ms) to between GARP/RARP announcement packets
>
> "to between" should be either "to use in between" or merely "between"
I've changed it to the plain 'between'.
> > +#
> > +# @rounds: Number of self-announcement attempts
> > +#
> > +# @step: Delay increase (in ms) after each self-announcement attempt
> > +#
> > +# Since: 4.0
> > +##
> > +
> > +{ 'struct': 'AnnounceParameters',
> > + 'data': { 'initial': 'int',
> > + 'max': 'int',
> > + 'rounds': 'int',
> > + 'step': 'int' } }
> >
>
> Can/should any of the parameters be optional with a sane (documented)
> default?
I think last time Dan was arguing for it to be explicit, the only
default we could pick are the values we currently use, which I think are
only defendable as 'seem to have worked well so far'.
Dave
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3226
> Virtualization: qemu.org | libvirt.org
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- [Qemu-devel] [PATCH 0/9] Network announce changes, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 1/9] net: Introduce announce timer, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 3/9] virtio-net: Switch to using announce timer, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 4/9] migration: Switch to using announce timer, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 2/9] migration: Add announce parameters, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 5/9] net: Add a network device specific self-announcement ability, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 7/9] qmp: Add announce-self command, Dr. David Alan Gilbert (git), 2019/01/28
- [Qemu-devel] [PATCH 9/9] tests: Add a test for qemu self announcments, Dr. David Alan Gilbert (git), 2019/01/28