mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-18 09:47:36 +00:00
qca-nss-clients: fix old debug warnings
This commit is contained in:
parent
2c9ffba363
commit
5656e7a050
@ -128,15 +128,6 @@
|
|||||||
#endif
|
#endif
|
||||||
if ((status == TC_ACT_STOLEN) || (status == TC_ACT_QUEUED)) {
|
if ((status == TC_ACT_STOLEN) || (status == TC_ACT_QUEUED)) {
|
||||||
return 1;
|
return 1;
|
||||||
@@ -2188,6 +2189,8 @@ int __nss_qdisc_init(struct Qdisc *sch,
|
|
||||||
* This is to prevent mixing NSS and PPE qdisc with linux qdisc.
|
|
||||||
*/
|
|
||||||
if ((parent != TC_H_ROOT) && (root->ops->owner != THIS_MODULE)) {
|
|
||||||
+ nss_qdisc_warning("parent (%d) and TC_H_ROOT (%d))", parent, TC_H_ROOT);
|
|
||||||
+ nss_qdisc_warning("root->ops->owner (%px) and THIS_MODULE (%px))", root->ops->owner , THIS_MODULE);
|
|
||||||
nss_qdisc_warning("NSS qdisc %px (type %d) used along with non-nss qdiscs,"
|
|
||||||
" or the interface is currently down", nq->qdisc, nq->type);
|
|
||||||
}
|
|
||||||
--- a/nss_qdisc/nss_wrr.c
|
--- a/nss_qdisc/nss_wrr.c
|
||||||
+++ b/nss_qdisc/nss_wrr.c
|
+++ b/nss_qdisc/nss_wrr.c
|
||||||
@@ -229,7 +229,7 @@ static int nss_wrr_ppe_change_class(stru
|
@@ -229,7 +229,7 @@ static int nss_wrr_ppe_change_class(stru
|
||||||
|
|||||||
@ -139,7 +139,16 @@
|
|||||||
|
|
||||||
--- a/nss_qdisc/nss_qdisc.c
|
--- a/nss_qdisc/nss_qdisc.c
|
||||||
+++ b/nss_qdisc/nss_qdisc.c
|
+++ b/nss_qdisc/nss_qdisc.c
|
||||||
@@ -2608,12 +2608,14 @@ int nss_qdisc_init(struct Qdisc *sch, st
|
@@ -2189,7 +2189,7 @@ int __nss_qdisc_init(struct Qdisc *sch,
|
||||||
|
* This is to prevent mixing NSS and PPE qdisc with linux qdisc.
|
||||||
|
*/
|
||||||
|
if ((parent != TC_H_ROOT) && (root->ops->owner != THIS_MODULE)) {
|
||||||
|
- nss_qdisc_warning("NSS qdisc %px (type %d) used along with non-nss qdiscs,"
|
||||||
|
+ nss_qdisc_info("NSS qdisc %px (type %d) used along with non-nss qdiscs,"
|
||||||
|
" or the interface is currently down", nq->qdisc, nq->type);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -2606,12 +2606,14 @@ int nss_qdisc_init(struct Qdisc *sch, st
|
||||||
* Wrapper around gnet_stats_copy_basic()
|
* Wrapper around gnet_stats_copy_basic()
|
||||||
*/
|
*/
|
||||||
int nss_qdisc_gnet_stats_copy_basic(struct Qdisc *sch, struct gnet_dump *d,
|
int nss_qdisc_gnet_stats_copy_basic(struct Qdisc *sch, struct gnet_dump *d,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user