netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next-2.6 PATCH v8 0/2] Series short description
@ 2011-01-17 18:05 John Fastabend
  2011-01-17 18:06 ` [net-next-2.6 PATCH v8 1/2] net: implement mechanism for HW based QOS John Fastabend
  2011-01-17 18:06 ` [net-next-2.6 PATCH v8 2/2] net_sched: implement a root container qdisc sch_mqprio John Fastabend
  0 siblings, 2 replies; 8+ messages in thread
From: John Fastabend @ 2011-01-17 18:05 UTC (permalink / raw)
  To: davem
  Cc: bhutchings, jarkao2, hadi, eric.dumazet, shemminger, tgraf,
	nhorman, netdev

Changed from v7, Ben Hutchings wants to actively manage queues
from the ndo_setup_tc() routine. Presumably to change the number
of tx queues creating n queues per traffic class. I agreed so
this version updates the patch to work correctly in this case.

Previously I was calling ndo_setup_tc from netif_set_num_tx_queues(),
to verify the queue offset/count but this would break any
queue management so this is removed. Now the mappings are
invalidated if the mapping requires it and it is expected
that the netdevice configured a valid mapping so calling
back into the driver is not needed. Validation is still
required in the case of a netdevice that does not
implement ndo_setup_tc() or to recover in cases where
ndo_open is adjusting number of queues do to resource
constraints.

Finally added some documentation to netdevice.h regarding
the new ops routine.

---

John Fastabend (2):
      net_sched: implement a root container qdisc sch_mqprio
      net: implement mechanism for HW based QOS


 include/linux/netdevice.h |   68 +++++++
 include/linux/pkt_sched.h |   12 +
 net/core/dev.c            |   55 ++++++
 net/sched/Kconfig         |   12 +
 net/sched/Makefile        |    1 
 net/sched/sch_generic.c   |    4 
 net/sched/sch_mqprio.c    |  417 +++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 568 insertions(+), 1 deletions(-)
 create mode 100644 net/sched/sch_mqprio.c

-- 
Signature

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

end of thread, other threads:[~2011-01-21 21:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-17 18:05 [net-next-2.6 PATCH v8 0/2] Series short description John Fastabend
2011-01-17 18:06 ` [net-next-2.6 PATCH v8 1/2] net: implement mechanism for HW based QOS John Fastabend
2011-01-20  7:41   ` David Miller
2011-01-21  5:18     ` [PATCH net-next-2.6] net: netif_setup_tc() is static Eric Dumazet
2011-01-21 17:54       ` John Fastabend
2011-01-21 21:08         ` David Miller
2011-01-17 18:06 ` [net-next-2.6 PATCH v8 2/2] net_sched: implement a root container qdisc sch_mqprio John Fastabend
2011-01-20  7:41   ` 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).