diff options
author | Paul Durrant <Paul.Durrant@citrix.com> | 2016-02-02 12:55:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 19:58:36 +0100 |
commit | 22fae97d863679994b951799dd4bbe7afd95897b (patch) | |
tree | ffbee4449e8886c8557275e0b39de16455ac7a14 /drivers/net/xen-netback/common.h | |
parent | Merge branch 'be2net-non-critical-fixes' (diff) | |
download | linux-22fae97d863679994b951799dd4bbe7afd95897b.tar.xz linux-22fae97d863679994b951799dd4bbe7afd95897b.zip |
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>
Diffstat (limited to 'drivers/net/xen-netback/common.h')
-rw-r--r-- | drivers/net/xen-netback/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 0333ab0fd926..112825200d41 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/xen-netback/common.h @@ -251,6 +251,7 @@ struct xenvif { unsigned int stalled_queues; struct xenbus_watch credit_watch; + struct xenbus_watch mcast_ctrl_watch; spinlock_t lock; |