WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] netfront and promiscuous/multicast packets

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] netfront and promiscuous/multicast packets
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2008 09:49:08 +1000
Delivery-date: Wed, 13 Aug 2008 16:49:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01490296@trantor>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01490296@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acj9nGaXcfqF3aSnSGGjWezYh4HiRQAAheYg
Thread-topic: [Xen-devel] netfront and promiscuous/multicast packets
> 
> Am I right in saying that there is no way for netfront to convey to
> netback its desire to switch to promiscuous mode? Not that that is
> really a bit deal in a switched environment.
> 
> What about multicast? How is that handled? Are multicast packets just
> treated like broadcasts and sent to all interfaces?
> 
> The Windows NDIS api asks for various packet filters (DIRECTED,
> MULTICAST, BROADCAST, PROMISCUOUS, ALL_MULTICAST, etc) and I'm not
quite
> sure what the gplpv drivers should be telling it...

Okay google tells me that Keir submitted a patch late last year to
enable netfront to send multicast filter lists to netback via extra_info
structures on the ring.

What is the best way to tell if the particular netback I am connected to
actually supports this? Send a dummy EXTRA_TYPE_MCAST_ADD request and
see if it succeeds?

I'm pretty certain that my Dom0's (Debian based) won't support this so
the point is moot for now anyway as I can't test it.

I guess I'll just advertise to Windows that I support DIRECTED,
BROADCAST, and ALL_MULTICAST, and maybe PROMISCUOUS if things don't work
without it.

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>