Date: Mon, 6 Jan 2014 09:09:45 -0600 From: Bryan Venteicher <bryanv@freebsd.org> To: pyunyh@gmail.com Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>, src-committers@freebsd.org Subject: Re: svn commit: r260224 - head/sys/netinet Message-ID: <CAGaYwLd9eYmTqKmVVnoyNMW52m7KXKHLke8fzVSPZPRbzQscNA@mail.gmail.com> In-Reply-To: <20140106065314.GB1372@michelle.cdnetworks.com> References: <201401031103.s03B3CAf013123@svn.freebsd.org> <20140106065314.GB1372@michelle.cdnetworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 6, 2014 at 12:53 AM, Yonghyeon PYUN <pyunyh@gmail.com> wrote: > On Fri, Jan 03, 2014 at 11:03:12AM +0000, Gleb Smirnoff wrote: > > Author: glebius > > Date: Fri Jan 3 11:03:12 2014 > > New Revision: 260224 > > URL: http://svnweb.freebsd.org/changeset/base/260224 > > > > Log: > > Make failure of ifpromisc() a non-fatal error. This makes it possible > to > > run carp(4) on vtnet(4). > > > > vtnet(4) is the only device that doesn't correctly support > promiscuous mode? I don't know details of vtnet(4) but it seems > it's not hard to mimic promiscuous mode. I'm not sure why the > driver returns ENOTSUP to user land given that vtnet(4) defaults > to promiscuous mode for backwards compatibility. It also does > not handle multicast filter configuration when VTNET_FLAG_CTRL_RX > flag is not set. If vtnet(4) does not support multicast filter, > it shouldn't announce IFF_MULTICAST. I wonder how vtnet(4) can work > with carp(4) given that its multicast handling is ignored. > I've talked to Gleb off-list about this. I intent to remove the default to promiscuous mode hack. Previous versions of the specification had a footnote about this, but it has since been removed. Note that both promisc and multicast likely require some host configuration on the tap/bridge/physical interfaces as well. I'll look at the multicast handling. If carp(4) already works with bhyve, we might want to add a minimalist control virtqueue support to bhyve.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGaYwLd9eYmTqKmVVnoyNMW52m7KXKHLke8fzVSPZPRbzQscNA>