netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next 0/9] net: sched: remove some tp->q usage
@ 2017-10-13 12:00 Jiri Pirko
  2017-10-13 12:00 ` [patch net-next 1/9] net: sched: store Qdisc pointer in struct block Jiri Pirko
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Jiri Pirko @ 2017-10-13 12:00 UTC (permalink / raw)
  To: netdev; +Cc: davem, jhs, xiyou.wangcong, mlxsw

From: Jiri Pirko <jiri@mellanox.com>

In order to prepare for block sharing, tcf_proto instances need to be
independent on particular qdisc instances. This patchset takes care of
removal of couple occurrences of tp->q usage.

Jiri Pirko (9):
  net: sched: store Qdisc pointer in struct block
  net: sched: store net pointer in block and introduce qdisc_net helper
  net: sched: introduce tcf_block_q and tcf_block_dev helpers
  net: sched: teach tcf_bind/unbind_filter to use block->q
  net: sched: ematch: obtain net pointer from blocks
  net: sched: cls_u32: use block instead of q in tc_u_common
  net: sched: tcindex, fw, flow: use tcf_block_q helper to get struct
    Qdisc
  net: sched: use tcf_block_q helper to get q pointer for sch_tree_lock
  net: sched: propagate q and parent from caller down to tcf_fill_node

 include/net/pkt_cls.h     | 52 +++++++++++++++++++++++++++++++----------
 include/net/pkt_sched.h   |  7 ++++++
 include/net/sch_generic.h |  5 ++--
 net/sched/cls_api.c       | 59 ++++++++++++++++++++++++++++++-----------------
 net/sched/cls_flow.c      |  7 ++++--
 net/sched/cls_fw.c        |  5 +++-
 net/sched/cls_tcindex.c   |  5 +++-
 net/sched/cls_u32.c       | 12 ++++------
 net/sched/ematch.c        |  2 +-
 net/sched/sch_api.c       |  6 +++--
 net/sched/sch_atm.c       |  4 ++--
 net/sched/sch_cbq.c       |  2 +-
 net/sched/sch_drr.c       |  2 +-
 net/sched/sch_dsmark.c    |  2 +-
 net/sched/sch_fq_codel.c  |  2 +-
 net/sched/sch_hfsc.c      |  4 ++--
 net/sched/sch_htb.c       |  4 ++--
 net/sched/sch_ingress.c   |  6 ++---
 net/sched/sch_multiq.c    |  2 +-
 net/sched/sch_prio.c      |  2 +-
 net/sched/sch_qfq.c       |  2 +-
 net/sched/sch_sfb.c       |  2 +-
 net/sched/sch_sfq.c       |  2 +-
 23 files changed, 127 insertions(+), 69 deletions(-)

-- 
2.9.5

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-16 20:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-13 12:00 [patch net-next 0/9] net: sched: remove some tp->q usage Jiri Pirko
2017-10-13 12:00 ` [patch net-next 1/9] net: sched: store Qdisc pointer in struct block Jiri Pirko
2017-10-13 12:00 ` [patch net-next 2/9] net: sched: store net pointer in block and introduce qdisc_net helper Jiri Pirko
2017-10-13 12:00 ` [patch net-next 3/9] net: sched: introduce tcf_block_q and tcf_block_dev helpers Jiri Pirko
2017-10-13 12:01 ` [patch net-next 4/9] net: sched: teach tcf_bind/unbind_filter to use block->q Jiri Pirko
2017-10-13 12:01 ` [patch net-next 5/9] net: sched: ematch: obtain net pointer from blocks Jiri Pirko
2017-10-13 12:01 ` [patch net-next 6/9] net: sched: cls_u32: use block instead of q in tc_u_common Jiri Pirko
2017-10-13 12:01 ` [patch net-next 7/9] net: sched: tcindex, fw, flow: use tcf_block_q helper to get struct Qdisc Jiri Pirko
2017-10-13 12:01 ` [patch net-next 8/9] net: sched: use tcf_block_q helper to get q pointer for sch_tree_lock Jiri Pirko
2017-10-13 12:01 ` [patch net-next 9/9] net: sched: propagate q and parent from caller down to tcf_fill_node Jiri Pirko
2017-10-16 20:01 ` [patch net-next 0/9] net: sched: remove some tp->q usage David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).