| To: | cfriesen@xxxxxxxxxxxxxxxxxx (Chris Friesen) |
|---|---|
| Subject: | Re: Fw: issues with SO_PRIORITY and IP_TOS |
| From: | kuznet@xxxxxxxxxxxxx |
| Date: | Thu, 13 Nov 2003 14:08:00 +0300 (MSK) |
| Cc: | davem@xxxxxxxxxx, jmorris@xxxxxxxxxx, hadi@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <3FAA5FF6.50509@nortelnetworks.com> from "Chris Friesen" at ξΟΡ 06, 2003 09:51:34 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello! > I would like to send a vlan tagged packet, with vlan priority of x and > DSCP field of (x<<5). What is the proper way to do this, if I should > not be using skb->priority? To set DSCP field you set the thing known as TOS with IP_TOS. 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. And remember that if the box is DS aware, DS will rewrite your DSCP in the way consistent with sustem configuration. Alexey |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [IPV4] Always set hoplimit, Herbert Xu |
|---|---|
| Next by Date: | Re: Tigon3 5701 PCI-X recv performance problem, Jeff Garzik |
| Previous by Thread: | Re: Fw: issues with SO_PRIORITY and IP_TOS, Chris Friesen |
| Next by Thread: | Re: Fw: issues with SO_PRIORITY and IP_TOS, Chris Friesen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |