From: Ben Greear <greearb@candelatech.com>
To: "leo.yuriev.ru" <leo@yuriev.ru>
Cc: Lennert Buytenhek <buytenh@gnu.org>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header
Date: Sun, 06 Mar 2005 17:18:06 -0800 [thread overview]
Message-ID: <422BABCE.3030904@candelatech.com> (raw)
In-Reply-To: <1199527299.20050305165713@yuriev.ru>
Leo Yuriev wrote:
> Kernel 2.6 (2.6.11)
>
> When ethernet-bridge forward a packet and such ethernet-frame has
> VLAN-tag, bridge should update skb->prioriry for properly QoS
> handling.
>
> This small patch does this. Currently vlan_TCI-priority directly
> mapped to skb->priority, but this looks enough.
If this packet came in from an 802.1Q VLAN device, the VLAN code already
has the logic necessary to map the .1q priority to an arbitrary skb->priority.
See the vconfig commands:
set_egress_map [vlan-name] [skb_priority] [vlan_qos]
set_ingress_map [vlan-name] [skb_priority] [vlan_qos]
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2005-03-07 1:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-05 13:57 [PATCH] ethernet-bridge: update skb->priority in case forwarded frame has VLAN-header Leo Yuriev
2005-03-07 1:18 ` Ben Greear [this message]
2005-03-07 8:43 ` Re[2]: " Leo Yuriev
2005-03-07 9:16 ` Ben Greear
2005-03-07 10:51 ` Alexey Kuznetsov
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=422BABCE.3030904@candelatech.com \
--to=greearb@candelatech.com \
--cc=buytenh@gnu.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=leo@yuriev.ru \
--cc=linux-kernel@vger.kernel.org \
/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