From: Vladimir Kondratiev <vkondra@mail.ru>
To: netdev@oss.sgi.com, hadi@cyberus.ca
Cc: Jeff Garzik <jgarzik@pobox.com>, Kumar Gala <kumar.gala@freescale.com>
Subject: Re: ethernet QoS support?
Date: Fri, 9 Jul 2004 21:26:37 +0300 [thread overview]
Message-ID: <200407092126.43021.vkondra@mail.ru> (raw)
In-Reply-To: <1089383622.1030.21.camel@jzny.localdomain>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 09 July 2004 17:33, jamal wrote:
> On Fri, 2004-07-09 at 09:41, Vladimir Kondratiev wrote:
> > So far, I have hardware related parts working. I rely on skb->priority to
> > determine traffic class and select proper queue.
>
> Who marks the skb->priority? Is that the default mark as per TOS?
> I think the VLAN code marks it as well.
I don't care. It should not be driver's business. Actually, it is TOS. AFAIK,
application supposed to do setsockoption(SO_PRIORITY) on its socket so set
priority.
>
> > All this worth nothing if one can't do separate queues. qdisc assignment
> > for driver is not in driver's hands, so it can't do any assumptions.
> > Generic
> > in-kernel support needed here. Stack should allow driver to request
> > additional Tx queues, providing some classifiers for each one. I tried to
> > imagine how to work it around, but there is no good solution without
> > those several queues.
>
> I dont think we should put intelligence at the driver level.
> We can have drivers configured via parameter to look at the priority
> field. Only then do they look at it; else use only single ring.
> When multi-ring is on, you intepret the priority.
> priority field is set above driver based on which priority queue the
> packet was grabbed from (before sending to driver).
Agree about intelligence. Driver should serve link and MAC layer. But exactly
because link layer have different priorities, driver need several Tx queues.
It is stack's business to route packet to the proper queue. Driver should
deliver it using appropriate MAC layer priority.
>
> > This mean, I will be able to deliver QoS support when network stack will
> > make it possible.
>
> So what do you do now?
Waiting. If no support will exist, it simply means we will be unable to use
QoS provided by modern 802.11. Depending on market development, impact may
range from being slightly slower relating to Windows clients, to being almost
completely unable to communicate for traffic like VOIP. Later will be the
case if most access points will implement QoS as in TGE.
I can now deliver packets accordingly to skb->priority, but if stack have
different idea for what is proper proportion between different sorts of
traffic, driver's Tx path will be flooded with low priority frames.
Situation is much worser for streams with admission control. I have no
mechanism to communicate with stack for such traffic establishment and tear
down.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA7uNiqxdj7mhC6o0RAoDyAJ9dx9ibVRee1tV5RRZXyK5X+4QjswCeJ5Vj
4nZ3BKNlzLPnoga6oblpGNw=
=n/gU
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2004-07-09 18:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 18:53 ethernet QoS support? Kumar Gala
2004-07-08 19:01 ` Jeff Garzik
2004-07-08 20:00 ` jamal
2004-07-09 7:02 ` Vladimir Kondratiev
2004-07-09 13:18 ` jamal
2004-07-09 13:41 ` Vladimir Kondratiev
2004-07-09 14:33 ` jamal
2004-07-09 18:26 ` Vladimir Kondratiev [this message]
2004-07-09 22:34 ` Sam Leffler
2004-07-10 8:58 ` Vladimir Kondratiev
2004-07-12 8:38 ` Glen Turner
2004-07-12 12:26 ` jamal
2004-07-12 18:17 ` Vladimir Kondratiev
2004-07-13 2:33 ` jamal
2004-07-12 12:18 ` jamal
2004-07-12 18:07 ` Vladimir Kondratiev
2004-07-13 2:26 ` jamal
2004-07-13 2:36 ` jamal
2004-07-09 15:46 ` Kumar Gala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200407092126.43021.vkondra@mail.ru \
--to=vkondra@mail.ru \
--cc=hadi@cyberus.ca \
--cc=jgarzik@pobox.com \
--cc=kumar.gala@freescale.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).