All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: kuznet@ms2.inr.ac.ru
Cc: davem@redhat.com, jmorris@redhat.com, hadi@znyx.com, netdev@oss.sgi.com
Subject: Re: Fw: issues with SO_PRIORITY and IP_TOS
Date: Thu, 13 Nov 2003 12:48:30 -0500	[thread overview]
Message-ID: <3FB3C3EE.6040802@nortelnetworks.com> (raw)
In-Reply-To: 200311131108.OAA24780@yakov.inr.ac.ru

kuznet@ms2.inr.ac.ru wrote:

> To set VLAN priority, you tune VLAN f.e. to use DSCP bits in classifier
> to derive VLAN priority from those bits of DSCP, which you desire. DSCP>>5
> in your case.

Excellent.  How do I do this?  I know of the egress mapping of socket 
priority to vlan priority.  How do I map DSCP to vlan priority?

I know how to do this by setting the socket priority with another 
setsockopt call, but is there a way of doing this directly?

Chris



-- 
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com

      reply	other threads:[~2003-11-13 17:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20031030120140.678b721b.davem@redhat.com>
2003-11-04 12:33 ` Fw: issues with SO_PRIORITY and IP_TOS kuznet
2003-11-04 16:04   ` Jamal Hadi Salim
2003-11-04 17:02   ` Chris Friesen
2003-11-05 14:54     ` Jamal Hadi Salim
2003-11-06  9:31     ` kuznet
2003-11-06 14:51       ` Chris Friesen
2003-11-13 11:08         ` kuznet
2003-11-13 17:48           ` Chris Friesen [this message]

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=3FB3C3EE.6040802@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=davem@redhat.com \
    --cc=hadi@znyx.com \
    --cc=jmorris@redhat.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.