android_kernel_xiaomi_sm8350/net/sched
Krishna Kumar e50c41b53d [NET]: qdisc_restart - couple of optimizations.
Changes :

- netif_queue_stopped need not be called inside qdisc_restart as
  it has been called already in qdisc_run() before the first skb
  is sent, and in __qdisc_run() after each intermediate skb is
  sent (note : we are the only sender, so the queue cannot get
  stopped while the tx lock was got in the ~LLTX case).

- BUG_ON((int) q->q.qlen < 0) was a relic from old times when -1
  meant more packets are available, and __qdisc_run used to loop
  when qdisc_restart() returned -1. During those days, it was
  necessary to make sure that qlen is never less than zero, since
  __qdisc_run would get into an infinite loop if no packets are on
  the queue and this bug in qdisc was there (and worse - no more
  skbs could ever get queue'd as we hold the queue lock too). With
  Herbert's recent change to return values, this check is not
  required.  Hopefully Herbert can validate this change. If at all
  this is required, it should be added to skb_dequeue (in failure
  case), and not to qdisc_qlen.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-10 22:15:36 -07:00
..
act_api.c [PKT_SCHED] act: Use rtnl registration interface 2007-04-25 22:27:11 -07:00
act_gact.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
act_ipt.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
act_mirred.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
act_pedit.c [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
act_police.c [NET_SCHED]: turn PSCHED_GET_TIME into inline function 2007-04-25 22:27:55 -07:00
act_simple.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_api.c [NET_SCHED]: Eliminate qdisc_tree_lock 2007-04-25 22:29:07 -07:00
cls_basic.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_fw.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_route.c [NET_SCHED]: ingress: switch back to using ingress_lock 2007-04-25 22:29:08 -07:00
cls_rsvp6.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_rsvp.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_rsvp.h [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_tcindex.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
cls_u32.c [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
em_cmp.c [NET] SCHED: Fix whitespace errors. 2007-02-10 23:20:08 -08:00
em_meta.c [NET] SCHED: Fix whitespace errors. 2007-02-10 23:20:08 -08:00
em_nbyte.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
em_text.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
em_u32.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
ematch.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
Kconfig [NET_SCHED]: Use ktime as clocksource 2007-04-25 22:26:04 -07:00
Makefile [NET]: Remove dead net/sched/Makefile entry for sch_hpfq.o. 2007-03-26 16:20:34 -07:00
sch_api.c [NET]: Rework dev_base via list_head (v3) 2007-05-03 15:13:45 -07:00
sch_atm.c [NET_SCHED]: Fix filter double free 2007-06-07 13:41:05 -07:00
sch_blackhole.c
sch_cbq.c [NET_SCHED]: Fix filter double free 2007-06-07 13:41:05 -07:00
sch_dsmark.c [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
sch_fifo.c
sch_generic.c [NET]: qdisc_restart - couple of optimizations. 2007-07-10 22:15:36 -07:00
sch_gred.c [NET] SCHED: Fix whitespace errors. 2007-02-10 23:20:08 -08:00
sch_hfsc.c [NET_SCHED]: Unline tcf_destroy 2007-04-25 22:27:56 -07:00
sch_htb.c [NET_SCHED]: sch_htb: fix event cache time calculation 2007-05-24 16:36:56 -07:00
sch_ingress.c [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
sch_netem.c [NET_SCHED]: turn PSCHED_GET_TIME into inline function 2007-04-25 22:27:55 -07:00
sch_prio.c [NET_SCHED]: prio qdisc boundary condition 2007-05-14 02:57:19 -07:00
sch_red.c [NET] SCHED: Fix whitespace errors. 2007-02-10 23:20:08 -08:00
sch_sfq.c [NETLINK]: Use nlmsg_trim() where appropriate 2007-04-25 22:26:37 -07:00
sch_tbf.c [NET_SCHED]: turn PSCHED_GET_TIME into inline function 2007-04-25 22:27:55 -07:00
sch_teql.c [NET_SCHED]: teql_enqueue can check limits before skb enqueue 2007-05-10 23:45:10 -07:00