qosmngr: do not read stats for disabled queues
All threads resolved!
All threads resolved!
Compare changes
+ 18
− 9
@@ -79,11 +79,15 @@ static int get_no_queues(const char *ifname)
@@ -79,11 +79,15 @@ static int get_no_queues(const char *ifname)
@@ -383,7 +387,7 @@ static int prepare_stats_blob(struct blob_buf *b, struct qos_stats *stats, void
@@ -383,7 +387,7 @@ static int prepare_stats_blob(struct blob_buf *b, struct qos_stats *stats, void
@@ -391,10 +395,15 @@ static int get_stats_by_ifname(struct blob_buf *b, struct qos_stats *stats, void
@@ -391,10 +395,15 @@ static int get_stats_by_ifname(struct blob_buf *b, struct qos_stats *stats, void