All of lore.kernel.org
 help / color / mirror / Atom feed
From: Evan Bigall <evan.bigall@scalent.com>
To: xen-devel@lists.xensource.com
Subject: Problem with VLANs on tg3 NICs
Date: Thu, 18 Jan 2007 14:33:08 -0500	[thread overview]
Message-ID: <45AFCB74.4030909@scalent.com> (raw)

I have 3 machines,
    T60 thinkpad with e1000 NIC
    Dell PowerEdge 2950 with bnx2 NIC
    HP DL360 G4P with tg3 NIC
All running xen 3.03 / 2.6.16.29-xen

I have a netbootable image with 2.6.16.29-xenU.  This image when it 
boots creates a vlan eth0.4002, and then tries to communicate on that 
interface to a central server.

On the machines with e1000 an bnx2 NICs, this works fine.  On the 
machine with tg3 NICs, this does not work.

It's a little bit hard to tell, but I think whats happening is that the 
packets are going out tagged ok.  But, on ingress in dom0, the tg3 
driver is stripping the vlan tag:

I'm not sure I trust tcpdump 100% but it seems to support that the arp 
request is going out tagged, but the response is coming back untagged:

09:41:43.126497 00:16:3e:5a:4e:d8 > Broadcast, ethertype 802.1Q 
(0x8100), length 46: vlan 4002, p 0, ethertype ARP, arp who-has 
10.21.1.1 tell 10.21.1.99
        0x0000:  0fa2 0806 0001 0800 0604 0001 0016 3e5a  ..............>Z
        0x0010:  4ed8 0a15 0163 0000 0000 0000 0a15 0101  N....c..........
09:41:43.126591 00:0e:aa:04:00:01 > 00:16:3e:5a:4e:d8, ethertype ARP 
(0x0806), length 60: arp reply 10.21.1.1 is-at 00:0e:aa:04:00:01
        0x0000:  0001 0800 0604 0002 000e aa04 0001 0a15  ................
        0x0010:  0101 0016 3e5a 4ed8 0a15 0163 0000 0000  ....>ZN....c....
        0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............

I did a quick experiment using xen 3.0.4_1 and got the same results.

Any ideas?

Evan

             reply	other threads:[~2007-01-18 19:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 19:33 Evan Bigall [this message]
2007-01-18 20:37 ` Problem with VLANs on tg3 NICs Ian Pratt
2007-01-18 21:46   ` Evan Bigall
2007-01-18 22:35     ` Ian Pratt
2007-01-19  0:30       ` Evan Bigall
2007-01-19  6:04       ` Nate Carlson
2007-01-19  7:52         ` Ian Pratt
2007-01-19 13:09           ` Evan Bigall
2007-01-19 14:14             ` Ian Pratt
2007-01-19 14:17               ` Christopher G. Stach II

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=45AFCB74.4030909@scalent.com \
    --to=evan.bigall@scalent.com \
    --cc=xen-devel@lists.xensource.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.