| To: | Patrick McHardy <kaber@xxxxxxxxx> |
|---|---|
| Subject: | Re: [leo@yuriev.ru: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header] |
| From: | jamal <hadi@xxxxxxxxxx> |
| Date: | 07 Mar 2005 18:35:37 -0500 |
| Cc: | Ben Greear <greearb@xxxxxxxxxxxxxxx>, leo@xxxxxxxxx, Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx>, shemminger@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.62.0503072034340.5934@kaber.coreworks.de> |
| Organization: | jamalopolous |
| References: | <20050305141225.GA5180@xi.wantstofly.org> <4229D98F.9010008@trash.net> <422A0C21.3050709@candelatech.com> <1110199696.1094.1299.camel@jzny.localdomain> <Pine.LNX.4.62.0503072034340.5934@kaber.coreworks.de> |
| Reply-to: | hadi@xxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Mon, 2005-03-07 at 14:36, Patrick McHardy wrote: > On Mon, 7 Mar 2005, jamal wrote: > > > This is wrong. IEEE priorities are opposite of IETF priorities (as used by > > skb->prio). > > Unless you install a prio qdisc and rewrite the priomap, you are screwed. > > So you should do opposite mapping, i.e something along the lines of > > VLAN_TCI priority (0..7) to skb->priority (15..8) i,e > > > > skb->priority = 15 - vlan_TCI; > > The priority should still start at 0. You don't want to create a 16-band > queue just to have 8 bands unused. say what?;-> Nothing has to start at 0. 16 priorities does not equate to 16 queues. cheers, jamal |
| Previous by Date: | Re: bridge between ppp and ethernet - 1 IP address and assign it to another host, jamal |
|---|---|
| Next by Date: | Re: Do you know the TCP stack? (127.x.x.x routing), jamal |
| Previous by Thread: | Re: [leo@yuriev.ru: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header], Patrick McHardy |
| Next by Thread: | Re: [leo@yuriev.ru: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header], Patrick McHardy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |