OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] [PATCH] content: Introduce VIRTIO_NET_F_STANDBY feature


On Fri, 20 Jul 2018 01:41:00 -0700
Siwei Liu <loseweigh@gmail.com> wrote:

> On Thu, Jul 19, 2018 at 2:29 PM, Sridhar Samudrala
> <sridhar.samudrala@intel.com> wrote:
> > VIRTIO_NET_F_STANDBY feature enables hypervisor to indicate virtio_net
> > driver to act as a standby for another device with the same MAC address.  
> You should use another feature bit to represent the match-by-MAC
> grouping. I think VIRTIO_NET_F_STANDBY is more of a failover concept
> and shouldn't marry to any grouping mechanism. What you propose simply
> kills off the possibility of introducing other grouping mechanisms
> which don't rely on MAC address at all.

I disagree. VIRTIO_NET_F_STANDBY as used by the Linux driver today does
indicate matching by MAC, so it makes sense for the spec to define it
that way.

We should use new feature bits for any alternative matching mechanisms.
We probably can either
- introduce new features (VIRTIO_NET_F_STANDBY_UUID or so) for any
  distinct matching mechanism, or
- introduce VIRTIO_NET_F_STANDBY2 (for the concept) and different
  features for different matching mechanisms (including by MAC) which
  depend on it.

The problem is that we already have code around that relies on the
semantic of "VIRTIO_NET_F_STANDBY gets you a standby device with the
same MAC", so we can't just redefine it in the spec. An unfortunate
effect of merging something that does not have a proper spec and not
even an agreed semantic :/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]