[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.