From: Sridhar Samudrala <sri@us.ibm.com>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: VLAN ID 0 with priority tagging
Date: Wed, 22 Jan 2014 15:49:21 -0800 [thread overview]
Message-ID: <52E05901.6050601@us.ibm.com> (raw)
I am trying to send a packet with VLAN ID 0 and non-zero priority.
The VLAN interfaces are created on 2 hosts using
ip link add link eth1 eth1.0 type vlan id 0 egress-qos-map 0:2
When i try to send a packet using ping/arping, on the sender side tcpdump
shows that the VLAN tag is added with ID 0 and priority 2.
However, the receiver is receiving the packet with vlan tag stripped.
I am seeing the same behavior with multiple NICs and also with a switch in
between the 2 hosts or with the 2 hosts connected over loopback cable.
It looks as if the driver on the send side is stripping the tag if vlan
id is 0.
Is this correct behavior or a bug?
Any clues on how to get priority tagging to work with vlan id 0?
Thanks
Sridhar
next reply other threads:[~2014-01-22 23:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 23:49 Sridhar Samudrala [this message]
2014-02-06 23:53 ` VLAN ID 0 with priority tagging Sridhar Samudrala
2014-02-07 1:08 ` Toshiaki Makita
2014-02-07 5:29 ` Sridhar Samudrala
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=52E05901.6050601@us.ibm.com \
--to=sri@us.ibm.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).