Eric Dumazet
cb395b2010
net: sched: optimize class dumps
...
In commit 59cc1f61f09c ("net: sched: convert qdisc linked list to
hashtable") we missed the opportunity to considerably speed up
tc_dump_tclass_root() if a qdisc handle is provided by user.
Instead of iterating all the qdiscs, use qdisc_match_from_root()
to directly get the one we look for.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-11 21:37:40 -04:00
..
2017-04-12 22:02:40 +02:00
2017-05-04 11:37:09 -07:00
2017-05-08 14:39:19 -04:00
2017-03-22 10:48:49 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 14:37:50 -07:00
2017-04-30 16:52:43 +03:00
2017-05-02 11:46:28 -04:00
2017-05-05 11:21:03 -04:00
2017-03-02 08:42:29 +01:00
2017-04-27 09:34:13 +02:00
2017-05-08 17:15:15 -07:00
2017-05-11 21:32:48 -04:00
2017-04-17 15:35:38 -04:00
2017-05-11 12:17:02 -04:00
2017-05-09 15:42:31 -07:00
2017-03-03 10:16:38 -08:00
2017-04-21 10:41:24 -04:00
2017-04-13 13:58:20 -04:00
2017-04-13 13:58:22 -04:00
2017-05-11 21:35:20 -04:00
2017-05-11 12:17:02 -04:00
2017-05-02 15:34:53 -04:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-04-17 13:28:48 -04:00
2017-04-21 20:23:53 -07:00
2017-04-27 16:32:13 -04:00
2017-03-09 18:23:27 -08:00
2017-05-08 11:25:04 +02:00
2017-03-30 11:05:34 -07:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:13 -07:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-03-09 18:23:27 -08:00
2017-04-21 15:29:40 -04:00
2017-05-03 10:11:26 -04:00
2017-04-26 22:39:08 -04:00
2017-04-17 15:35:38 -04:00
2017-04-21 20:23:53 -07:00
2017-05-02 16:40:27 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 11:10:41 +01:00
2017-05-11 21:37:40 -04:00
2017-05-02 16:40:27 -07:00
2017-05-01 14:32:43 -04:00
2017-03-03 20:43:26 -08:00
2017-04-01 10:43:37 -07:00
2017-04-13 13:58:22 -04:00
2017-05-02 16:40:27 -07:00
2017-04-06 12:43:04 -07:00
2017-04-24 12:35:56 -04:00
2017-05-08 11:24:34 +02:00
2017-03-09 18:23:27 -08:00
2017-05-02 16:40:27 -07:00
2017-04-01 12:45:57 -07:00
2017-04-17 13:01:48 -04:00
2017-04-16 23:42:49 -05:00