Re: Re: newbie question on enabling vlan feature in the driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Vlan mailing list
Vlan@xxxxxxxxxxxxxxx
http://www.candelatech.com/mailman/listinfo/vlan

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux