Re: Re: newbie question on enabling vlan feature in the driver
Ben Greear <[email protected]> Wed, 14 Mar 2007 15:20:19 -0700
| Newsgroups | gmane.linux.drivers.vlan |
|---|---|
| Organization | Candela Technologies |
| Message-ID | <[email protected]> |
kmk wrote: > Ben > > On the arm side, in my driver, I cast skb->data to vlan_ethhdr and > dumping it > from hard_xmit and receive routines. I don't see correct h_vlan_proto value. > I see only 0x806 and 0x800 when I ping from either direction. I tried > both small packets and large packets (512, 1496). Did you stop writing to the vlan register? > On the PC, I used ethereal to sniff the physical interface and again I don't > see vlan tags in both ping requests/responses and in ARP queries. Intel NICs eat the vlan tags, as previously mentioned, so you won't see tags there. Use a third machine to sniff the network using a hub..don't configure any vlan devices on that machine, and you should see vlan tags as expected. Ben -- Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com