Re: [ovs-dev] [PATCH 2/2] Revert "bridge: Fix ovs-appctl qos/show repeated queue information"

2018-10-03 Thread Ben Pfaff
Thanks Flavio and Eelco.  I applied these patches to master and
backported as far as they would go.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH 2/2] Revert "bridge: Fix ovs-appctl qos/show repeated queue information"

2018-10-03 Thread Eelco Chaudron




On 3 Oct 2018, at 1:03, Ben Pfaff wrote:


This reverts commit 6b4d0211e84a ("bridge: Fix ovs-appctl qos/show
repeated queue information"), which is no longer necessary now that
commit 65f3c34c7417 ("netdev: Properly clear 'details' when iterating
in NETDEV_QOS_FOR_EACH.") has been applied.  The former commit fixed
a symptom of the root cause fixed by the latter.

Signed-off-by: Ben Pfaff 



Looks good!

Acked-by: Eelco Chaudron 


---
 vswitchd/bridge.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 875bb607c603..706a07cc6fb9 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -3235,7 +3235,6 @@ qos_unixctl_show(struct unixctl_conn *conn, int 
argc OVS_UNUSED,

 smap_init();
 NETDEV_QUEUE_FOR_EACH (_id, , , 
iface->netdev) {
 qos_unixctl_show_queue(queue_id, , iface, 
);

-smap_clear();
 }
 smap_destroy();

--
2.16.1

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH 2/2] Revert "bridge: Fix ovs-appctl qos/show repeated queue information"

2018-10-02 Thread Flavio Leitner
On Tue, Oct 02, 2018 at 04:03:00PM -0700, Ben Pfaff wrote:
> This reverts commit 6b4d0211e84a ("bridge: Fix ovs-appctl qos/show
> repeated queue information"), which is no longer necessary now that
> commit 65f3c34c7417 ("netdev: Properly clear 'details' when iterating
> in NETDEV_QOS_FOR_EACH.") has been applied.  The former commit fixed
> a symptom of the root cause fixed by the latter.
> 
> Signed-off-by: Ben Pfaff 
> ---

LGTM
Acked-by: Flavio Leitner 


___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH 2/2] Revert "bridge: Fix ovs-appctl qos/show repeated queue information"

2018-10-02 Thread Ben Pfaff
This reverts commit 6b4d0211e84a ("bridge: Fix ovs-appctl qos/show
repeated queue information"), which is no longer necessary now that
commit 65f3c34c7417 ("netdev: Properly clear 'details' when iterating
in NETDEV_QOS_FOR_EACH.") has been applied.  The former commit fixed
a symptom of the root cause fixed by the latter.

Signed-off-by: Ben Pfaff 
---
 vswitchd/bridge.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 875bb607c603..706a07cc6fb9 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -3235,7 +3235,6 @@ qos_unixctl_show(struct unixctl_conn *conn, int argc 
OVS_UNUSED,
 smap_init();
 NETDEV_QUEUE_FOR_EACH (_id, , , iface->netdev) {
 qos_unixctl_show_queue(queue_id, , iface, );
-smap_clear();
 }
 smap_destroy();
 
-- 
2.16.1

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev