xen-netback: implement dynamic multicast control
authorPaul Durrant <Paul.Durrant@citrix.com>
Tue, 2 Feb 2016 11:55:05 +0000 (11:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 18:58:36 +0000 (13:58 -0500)
commit22fae97d863679994b951799dd4bbe7afd95897b
treeffbee4449e8886c8557275e0b39de16455ac7a14
parentce30905aa1a97745e73c9c847dfae19442693b64
xen-netback: implement dynamic multicast control

My recent patch to the Xen Project documents a protocol for 'dynamic
multicast control' in netif.h. This extends the previous multicast control
protocol to not require a shared ring reconnection to turn the feature off.
Instead the backend watches the "request-multicast-control" key in xenstore
and turns the feature off if the key value is written to zero.

This patch adds support for dynamic multicast control in xen-netback.

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>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/xenbus.c