Home
last modified time | relevance | path

Searched hist:"244 e6c2d0724bc4908a1995804704bdee3b31528" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/net/
H A Dgen_stats.hdiff 244e6c2d0724bc4908a1995804704bdee3b31528 Wed Nov 26 17:24:32 CST 2008 Jarek Poplawski <jarkao2@gmail.com> pkt_sched: gen_estimator: Optimize gen_estimator_active()

Since all other gen_estimator functions use bstats and rate_est params
together, and searching for them is optimized now, let's use this also
in gen_estimator_active(). The return type of gen_estimator_active()
is changed to bool, and gen_find_node() parameters to const, btw.

In tcf_act_police_locate() a check for ACT_P_CREATED is added before
calling gen_estimator_active().

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/core/
H A Dgen_estimator.cdiff 244e6c2d0724bc4908a1995804704bdee3b31528 Wed Nov 26 17:24:32 CST 2008 Jarek Poplawski <jarkao2@gmail.com> pkt_sched: gen_estimator: Optimize gen_estimator_active()

Since all other gen_estimator functions use bstats and rate_est params
together, and searching for them is optimized now, let's use this also
in gen_estimator_active(). The return type of gen_estimator_active()
is changed to bool, and gen_find_node() parameters to const, btw.

In tcf_act_police_locate() a check for ACT_P_CREATED is added before
calling gen_estimator_active().

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/sched/
H A Dact_police.cdiff 244e6c2d0724bc4908a1995804704bdee3b31528 Wed Nov 26 17:24:32 CST 2008 Jarek Poplawski <jarkao2@gmail.com> pkt_sched: gen_estimator: Optimize gen_estimator_active()

Since all other gen_estimator functions use bstats and rate_est params
together, and searching for them is optimized now, let's use this also
in gen_estimator_active(). The return type of gen_estimator_active()
is changed to bool, and gen_find_node() parameters to const, btw.

In tcf_act_police_locate() a check for ACT_P_CREATED is added before
calling gen_estimator_active().

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>