1
0
Fork 0
alistair23-linux/include/xen/interface/io
Paul Durrant 210c34dcd8 xen-netback: add support for multicast control
Xen's PV network protocol includes messages to add/remove ethernet
multicast addresses to/from a filter list in the backend. This allows
the frontend to request the backend only forward multicast packets
which are of interest thus preventing unnecessary noise on the shared
ring.

The canonical netif header in git://xenbits.xen.org/xen.git specifies
the message format (two more XEN_NETIF_EXTRA_TYPEs) so the minimal
necessary changes have been pulled into include/xen/interface/io/netif.h.

To prevent the frontend from extending the multicast filter list
arbitrarily a limit (XEN_NETBK_MCAST_MAX) has been set to 64 entries.
This limit is not specified by the protocol and so may change in future.
If the limit is reached then the next XEN_NETIF_EXTRA_TYPE_MCAST_ADD
sent by the frontend will be failed with NETIF_RSP_ERROR.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-02 11:45:00 -07:00
..
blkif.h xen blkif.h: fix comment typo in discard-alignment 2014-05-28 14:17:30 -04:00
console.h xen: Add Xen interface header files 2007-07-18 08:47:42 -07:00
fbif.h xen pvfb: Dynamic mode support (screen resizing) 2008-05-27 10:11:36 +02:00
kbdif.h xen pvfb: Pointer z-axis (mouse wheel) support 2008-05-27 10:11:36 +02:00
netif.h xen-netback: add support for multicast control 2015-09-02 11:45:00 -07:00
pciif.h xen-pcifront: Xen PCI frontend driver. 2010-10-18 10:49:37 -04:00
protocols.h ia64/xen: Remove Xen support for ia64 2013-12-10 16:11:07 -08:00
ring.h xen/io/ring.h: new macro to detect whether there are too many requests on the ring 2013-06-17 15:17:15 -04:00
tpmif.h drivers/tpm: add xen tpmfront interface 2013-08-09 10:57:06 -04:00
vscsiif.h xen: Add Xen pvSCSI protocol description 2014-09-23 13:36:19 +00:00
xenbus.h xenbus: Xen paravirtualised PCI hotplug support. 2010-10-18 10:49:35 -04:00
xs_wire.h xen/pv-on-hvm kexec: shutdown watches from old kernel 2012-07-19 15:52:02 -04:00