Skip to contentSkip to conversation

public/io/netif.h: change semantics of "request-multicast-control" flag

PATCH In review Paul Durrant 4 participants 13 messages Jan 20, 2016 – Jan 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 public/io/netif.h: change semantics of "request-multicast-control" flag

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>
---
 xen/include/public/io/netif.h | 34 ++++++++++++++++++++++------------
 1 file changed, 22 insertions(+), 12 deletions(-)
xen/include/public/io/netif.h +22 -12
index fe0a87f..8816e0f 100644
@@ -136,18 +136,28 @@
  */
 
 /*
- * "feature-multicast-control" advertises the capability to filter ethernet
- * multicast packets in the backend. To enable use of this capability the
- * frontend must set "request-multicast-control" before moving into the
- * connected state.
- *
- * If "request-multicast-control" is set then the backend transmit side should
- * no longer flood multicast packets to the frontend, it should instead drop any
- * multicast packet that does not match in a filter list. The list is
- * amended by the frontend by sending dummy transmit requests containing
- * XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} extra-info fragments as specified below.
- * Once enabled by the frontend, the feature cannot be disabled except by
- * closing and re-connecting to the backend.
+ * "feature-multicast-control" and "feature-dynamic-multicast-control"
+ * advertise the capability to filter ethernet multicast packets in the
+ * backend. If the frontend wishes to take advantage of this feature then
+ * it may set "request-multicast-control". If the backend only advertises
+ * "feature-multicast-control" then "request-multicast-control" must be set
+ * before the frontend moves into the connected state. The backend will
+ * sample the value on this state transition and any subsequent change in
+ * value will have no effect. However, if the backend also advertises
+ * "feature-dynamic-multicast-control" then "request-multicast-control"
+ * may be set by the frontend at any time. In this case, the backend will
+ * watch the value and re-sample on watch events.
+ *
+ * If the sampled value of "request-multicast-control" is set then the
+ * backend transmit side should no longer flood multicast packets to the
+ * frontend, it should instead drop any multicast packet that does not
+ * match in a filter list.
+ * The list is amended by the frontend by sending dummy transmit requests
+ * containing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} extra-info fragments as
+ * specified below.
+ * Note that the filter list may be amended even if the sampled value of
+ * "request-multicast-control" is not set, however the filter should only
+ * be applied if it is set.
  */
 
 /*
Signature · 1 line
2.1.4
#1 lore raw
Quoted 6 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

Do we therefore think that this document reflected reality, i.e. might this not be "just" a documentation bug?

(Or maybe we can't tell because the only previous implementation was years ago in Solaris or something)

Quoted 4 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Would allowing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} to take a bcast address be easier on the backend, in that it would just need to be a static feature rather than watching stuff on the fly?

#2 lore raw
Quoted 16 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 20 January 2016 13:06
To: Paul Durrant; [email protected]
Cc: Ian Jackson; Jan Beulich; Keir (Xen.org); Tim (Xen.org)
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 6 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

Quoted 5 lines

Do we therefore think that this document reflected reality, i.e. might this not be "just" a documentation bug?

(Or maybe we can't tell because the only previous implementation was years ago in Solaris or something)

That's my concern. I hope it's just a documentation bug, but I don't know. Also I've already done an implementation in Linux netback according to the restricted semantics.

Quoted 10 lines
Quoted 5 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Would allowing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} to take a bcast address
be easier on the backend, in that it would just need to be a static feature rather than watching stuff on the fly?

The documented semantics of the list are 'exact match' so sending a bcast address doesn't do much good with a backend that doesn't know to treat is specially hence a frontend can't tell whether 'all multicast' mode is going to work without the extra feature flag. As for watching "request-multcast-control" vs. add/remove of bcast, the complexity of implementation is cheaper for the latter but I think the former is 'nicer'.

Paul

#3 lore raw
Quoted 49 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Paul Durrant
Sent: 20 January 2016 13:14
To: Ian Campbell; [email protected]
Cc: Ian Jackson; Keir (Xen.org); Jan Beulich; Tim (Xen.org)
Subject: Re: [Xen-devel] [PATCH] public/io/netif.h: change semantics of "request-multicast-control" flag

Quoted 16 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 20 January 2016 13:06
To: Paul Durrant; [email protected]
Cc: Ian Jackson; Jan Beulich; Keir (Xen.org); Tim (Xen.org)
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 6 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

Quoted 4 lines

Do we therefore think that this document reflected reality, i.e. might this not be "just" a documentation bug?

(Or maybe we can't tell because the only previous implementation was

years

Quoted 1 line

ago in Solaris or something)

That's my concern. I hope it's just a documentation bug, but I don't know. Also I've already done an implementation in Linux netback according to the restricted semantics.

Quoted 3 lines
Quoted 3 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control"

hence

Quoted 4 lines
Quoted 2 lines

allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Would allowing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} to take a

bcast

Quoted 3 lines

address
be easier on the backend, in that it would just need to be a static feature rather than watching stuff on the fly?

Quoted 7 lines

The documented semantics of the list are 'exact match' so sending a bcast address doesn't do much good with a backend that doesn't know to treat is specially hence a frontend can't tell whether 'all multicast' mode is going to work without the extra feature flag. As for watching "request-multcast- control" vs. add/remove of bcast, the complexity of implementation is cheaper for the latter but I think the former is 'nicer'.

Are you ok with the xenstore watch approach (and leaving the patch as is) or would you prefer to spec. the bcast address as a wildcard and submit a new patch?

Paul

Quoted 5 lines

Paul
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
Quoted 67 lines · Paul Durrant
Quoted 59 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Paul Durrant
Sent: 20 January 2016 13:14
To: Ian Campbell; [email protected]
Cc: Ian Jackson; Keir (Xen.org); Jan Beulich; Tim (Xen.org)
Subject: Re: [Xen-devel] [PATCH] public/io/netif.h: change semantics of "request-multicast-control" flag

Quoted 20 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 20 January 2016 13:06
To: Paul Durrant; [email protected]
Cc: Ian Jackson; Jan Beulich; Keir (Xen.org); Tim (Xen.org)
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 10 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and
backend. However, it transpires that the restrictions that documentation
placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so
would require the frontend and backend to disconnect and re- connect.

Quoted 5 lines

Do we therefore think that this document reflected reality, i.e. might this
not be "just" a documentation bug?

(Or maybe we can't tell because the only previous implementation was

years

Quoted 1 line

ago in Solaris or something)

That's my concern. I hope it's just a documentation bug, but I don't know.
Also I've already done an implementation in Linux netback according to the
restricted semantics.

Quoted 5 lines
Quoted 5 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow
a backend to advertise that it will watch "request-multicast- control"

hence

Quoted 5 lines
Quoted 3 lines

allowing it to be meaningfully modified by the frontend at any time rather
than only when the frontend and backend are disconnected.

Would allowing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} to take a

bcast

Quoted 3 lines

address
be easier on the backend, in that it would just need to be a static feature rather than watching stuff on the fly?

Quoted 7 lines

The documented semantics of the list are 'exact match' so sending a bcast address doesn't do much good with a backend that doesn't know to treat is specially hence a frontend can't tell whether 'all multicast' mode is going to work without the extra feature flag. As for watching "request-multcast- control" vs. add/remove of bcast, the complexity of implementation is cheaper for the latter but I think the former is 'nicer'.

Quoted 3 lines

Are you ok with the xenstore watch approach (and leaving the patch as is) or would you prefer to spec. the bcast address as a wildcard and submit a new patch?

I'm fine with the watch approach, was just suggesting the alternative in case it turned out to be much easier.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 80 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 21 January 2016 11:59
To: Paul Durrant; [email protected]
Cc: Ian Jackson; Keir (Xen.org); Jan Beulich; Tim (Xen.org)
Subject: Re: [Xen-devel] [PATCH] public/io/netif.h: change semantics of "request-multicast-control" flag

Quoted 17 lines · Paul Durrant
Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Paul Durrant
Sent: 20 January 2016 13:14
To: Ian Campbell; [email protected]
Cc: Ian Jackson; Keir (Xen.org); Jan Beulich; Tim (Xen.org)
Subject: Re: [Xen-devel] [PATCH] public/io/netif.h: change semantics of "request-multicast-control" flag

Quoted 8 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 20 January 2016 13:06
To: Paul Durrant; [email protected]
Cc: Ian Jackson; Jan Beulich; Keir (Xen.org); Tim (Xen.org)
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · Paul Durrant
Quoted 1 line

My patch b2700877 "move and amend multicast control

documentation"

Quoted 30 lines
Quoted 30 lines
Quoted 10 lines
Quoted 9 lines

clarified use of the multicast control protocol between frontend and
backend. However, it transpires that the restrictions that documentation
placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so
would require the frontend and backend to disconnect and re- connect.

Quoted 5 lines

Do we therefore think that this document reflected reality, i.e. might this
not be "just" a documentation bug?

(Or maybe we can't tell because the only previous implementation was

years

Quoted 1 line

ago in Solaris or something)

That's my concern. I hope it's just a documentation bug, but I don't know.
Also I've already done an implementation in Linux netback according to the
restricted semantics.

Quoted 5 lines
Quoted 5 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow
a backend to advertise that it will watch "request-multicast- control"

hence

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

allowing it to be meaningfully modified by the frontend at any time rather
than only when the frontend and backend are disconnected.

Would allowing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} to take a

bcast

Quoted 2 lines

address
be easier on the backend, in that it would just need to be a static

feature

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

rather than watching stuff on the fly?

The documented semantics of the list are 'exact match' so sending a bcast address doesn't do much good with a backend that doesn't know to treat

is

Quoted 1 line
Quoted 1 line

specially hence a frontend can't tell whether 'all multicast' mode is going

to

Quoted 5 lines
Quoted 4 lines

work without the extra feature flag. As for watching "request-multcast- control" vs. add/remove of bcast, the complexity of implementation is cheaper for the latter but I think the former is 'nicer'.

Quoted 7 lines
Quoted 3 lines

Are you ok with the xenstore watch approach (and leaving the patch as is) or would you prefer to spec. the bcast address as a wildcard and submit a new patch?

I'm fine with the watch approach, was just suggesting the alternative in case it turned out to be much easier.

I already have an implementation of the watch approach which is now allowing Windows logo testing to pass :-)

Paul

Quoted 1 line

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
In reply to Paul Durrant
Quoted 12 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Quoted 6 lines
Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and Roger (BSD stuff) for their perspective.

I should probably have done that for the last set of netif.h changes too, since apart from the nominal maintainers of xen/include/public/io/*.h it's worth getting input from the maintainers of the consumers. Not sure we can express that very well in MAINTAINERS :-(.

Ian.

Quoted 42 lines

---
 xen/include/public/io/netif.h | 34 ++++++++++++++++++++++------------

 1 file changed, 22 insertions(+), 12 deletions(-)
xen/include/public/io/netif.h +0 -0
index fe0a87f..8816e0f 100644
@@ -136,18 +136,28 @@
   */


 /*
- * "feature-multicast-control" advertises the capability to filter ethernet
- * multicast packets in the backend. To enable use of this capability the
- * frontend must set "request-multicast-control" before moving into the
- * connected state.
- *
- * If "request-multicast-control" is set then the backend transmit side should
- * no longer flood multicast packets to the frontend, it should instead drop any
- * multicast packet that does not match in a filter list. The list is
- * amended by the frontend by sending dummy transmit requests containing
- * XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} extra-info fragments as specified below.
- * Once enabled by the frontend, the feature cannot be disabled except by
- * closing and re-connecting to the backend.
+ * "feature-multicast-control" and "feature-dynamic-multicast-control"
+ * advertise the capability to filter ethernet multicast packets in the
+ * backend. If the frontend wishes to take advantage of this feature then
+ * it may set "request-multicast-control". If the backend only advertises
+ * "feature-multicast-control" then "request-multicast-control" must be set
+ * before the frontend moves into the connected state. The backend will
+ * sample the value on this state transition and any subsequent change in
+ * value will have no effect. However, if the backend also advertises
+ * "feature-dynamic-multicast-control" then "request-multicast-control"
+ * may be set by the frontend at any time. In this case, the backend will
+ * watch the value and re-sample on watch events.
+ *
+ * If the sampled value of "request-multicast-control" is set then the
+ * backend transmit side should no longer flood multicast packets to the
+ * frontend, it should instead drop any multicast packet that does not
+ * match in a filter list.
+ * The list is amended by the frontend by sending dummy transmit requests

Quoted 8 lines

+ * containing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} extra-info fragments as
+ * specified below.
+ * Note that the filter list may be amended even if the sampled value of
+ * "request-multicast-control" is not set, however the filter should only
+ * be applied if it is set.
  */

 /*

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#7 lore raw

El 21/01/16 a les 16.29, Ian Campbell ha escrit:

Quoted 21 lines · Paul Durrant
Quoted 12 lines

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Quoted 6 lines
Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>
Quoted 7 lines

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and Roger (BSD stuff) for their perspective.

I should probably have done that for the last set of netif.h changes too, since apart from the nominal maintainers of xen/include/public/io/*.h it's worth getting input from the maintainers of the consumers. Not sure we can express that very well in MAINTAINERS :-(.

I'm going to leave this one to Wei, he has more experience than me regarding FreeBSD netfront (and xen-net related topics).

FWIW, a quick and dirty grep on FreeBSD netfront doesn't show any results for "request-multicast-control", so I guess it's not implemented.

Roger.

#8 lore raw
Quoted 30 lines · Roger Pau Monné

El 21/01/16 a les 16.29, Ian Campbell ha escrit:

Quoted 21 lines · Paul Durrant
Quoted 12 lines

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Quoted 6 lines
Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>
Quoted 7 lines

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and Roger (BSD stuff) for their perspective.

I should probably have done that for the last set of netif.h changes too, since apart from the nominal maintainers of xen/include/public/io/*.h it's worth getting input from the maintainers of the consumers. Not sure we can express that very well in MAINTAINERS :-(.

Quoted 6 lines

I'm going to leave this one to Wei, he has more experience than me regarding FreeBSD netfront (and xen-net related topics).

FWIW, a quick and dirty grep on FreeBSD netfront doesn't show any results for "request-multicast-control", so I guess it's not implemented.

No, it is not implemented.

Wei.

Quoted 2 lines

Roger.

Acked-by
#9 lore raw
In reply to Ian Campbell
Quoted 24 lines · Ian Campbell
Quoted 12 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control" hence allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Quoted 6 lines
Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and Roger (BSD stuff) for their perspective.

Quoted 6 lines

I should probably have done that for the last set of netif.h changes too, since apart from the nominal maintainers of xen/include/public/io/*.h it's worth getting input from the maintainers of the consumers. Not sure we can express that very well in MAINTAINERS :-(.

Ian.

LGTM

#10 lore raw
Quoted 38 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 21 January 2016 15:46
To: Ian Campbell
Cc: Paul Durrant; [email protected]; Ian Jackson; Jan Beulich; Keir (Xen.org); Tim (Xen.org); Wei Liu; Roger Pau Monne
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 10 lines · Ian Campbell
Quoted 9 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and backend. However, it transpires that the restrictions that documentation placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so would require the frontend and backend to disconnect and re-connect.

This patch adds a new "feature-dynamic-multicast-control" flag to allow a backend to advertise that it will watch "request-multicast-control"

hence

Quoted 11 lines
Quoted 9 lines

allowing it to be meaningfully modified by the frontend at any time rather than only when the frontend and backend are disconnected.

Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>
Quoted 6 lines

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and Roger (BSD stuff) for their perspective.

I should probably have done that for the last set of netif.h changes too, since apart from the nominal maintainers of xen/include/public/io/*.h it's worth getting input from the maintainers of the consumers. Not sure we

Quoted 8 lines

can

Quoted 3 lines

express that very well in MAINTAINERS :-(.

Ian.

LGTM

Ping? I notice this patch is not yet applied.

Paul

#11 lore raw
Quoted 53 lines · Paul Durrant
Quoted 53 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 21 January 2016 15:46
To: Ian Campbell
Cc: Paul Durrant; [email protected]; Ian Jackson; Jan Beulich;
Keir (Xen.org); Tim (Xen.org); Wei Liu; Roger Pau Monne
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 12 lines · Ian Campbell
Quoted 11 lines · Paul Durrant

My patch b2700877 "move and amend multicast control documentation" clarified use of the multicast control protocol between frontend and
backend. However, it transpires that the restrictions that documentation
placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so
would require the frontend and backend to disconnect and re- connect.

Quoted 4 lines
Quoted 4 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow
a backend to advertise that it will watch "request-multicast- control"

hence

Quoted 16 lines
Quoted 10 lines

allowing it to be meaningfully modified by the frontend at any time rather
than only when the frontend and backend are disconnected.

Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and
Roger (BSD stuff) for their perspective.

Quoted 6 lines

I should probably have done that for the last set of netif.h changes too,
since apart from the nominal maintainers of xen/include/public/io/*.h it's
worth getting input from the maintainers of the consumers. Not sure we

can

Quoted 2 lines

express that very well in MAINTAINERS :-(.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Ian.

LGTM

Ping? I notice this patch is not yet applied.

I'd have done it yesterday but the machines I needed were offline.

Now done.

Quoted 3 lines

  Paul

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#12 lore raw
Quoted 68 lines

-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: 26 January 2016 16:51
To: Paul Durrant
Cc: [email protected]; Ian Jackson; Jan Beulich; Keir (Xen.org); Tim (Xen.org); Wei Liu; Roger Pau Monne
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 10 lines · Paul Durrant
Quoted 10 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 21 January 2016 15:46
To: Ian Campbell
Cc: Paul Durrant; [email protected]; Ian Jackson; Jan Beulich;
Keir (Xen.org); Tim (Xen.org); Wei Liu; Roger Pau Monne
Subject: Re: [PATCH] public/io/netif.h: change semantics of "request- multicast-control" flag

Quoted 3 lines
Quoted 3 lines · Ian Campbell
Quoted 2 lines · Paul Durrant
Quoted 1 line

My patch b2700877 "move and amend multicast control

documentation"

Quoted 44 lines
Quoted 44 lines
Quoted 10 lines
Quoted 10 lines

clarified use of the multicast control protocol between frontend and
backend. However, it transpires that the restrictions that documentation
placed on the "request-multicast-control" flag make it hard for a frontend to enable 'all multicast' promiscuous mode, in that to do so
would require the frontend and backend to disconnect and re- connect.

Quoted 4 lines
Quoted 4 lines

This patch adds a new "feature-dynamic-multicast-control" flag to allow
a backend to advertise that it will watch "request-multicast- control"

hence

Quoted 16 lines
Quoted 10 lines

allowing it to be meaningfully modified by the frontend at any time rather
than only when the frontend and backend are disconnected.

Cc Ian Campbell <[email protected]>
Cc Ian Jackson <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Keir Fraser <[email protected]>
Cc Tim Deegan <[email protected]>

This looks good to me, but also adding Wei (Linux netback + BSD stuff) and
Roger (BSD stuff) for their perspective.

Quoted 6 lines

I should probably have done that for the last set of netif.h changes too,
since apart from the nominal maintainers of xen/include/public/io/*.h it's
worth getting input from the maintainers of the consumers. Not sure we

can

Quoted 3 lines

express that very well in MAINTAINERS :-(.

Ian.

LGTM

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Ping? I notice this patch is not yet applied.

I'd have done it yesterday but the machines I needed were offline.

Now done.

Grand. Thanks,

Paul

Quoted 4 lines
Quoted 4 lines

  Paul

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel