VLAN tag byte swap and chop problem??

2002-11-05 Thread Jacob S. Barrett
I am not sure if I am doing something completely wrong of if I have found some sort of bug here, but I thought I would toss it out to see if anyone else has ever seen this. I have two ports on my switch configured for vlan id 5. Port 1 is untagged and port 2 is tagged. The machine A is on port

Correction: VLAN tag byte swap and chop problem??

2002-11-05 Thread Jacob S. Barrett
Line: It shows the frame leaving as vlan 2 (0x0020) (correct) ... Should read: It shows the frame leaving as vlan 2 (0x0002) (correct) ... Sorry, Jake Jacob S. Barrett wrote: I am not sure if I am doing something completely wrong of if I have found some sort of bug here, but I thought I would

Re: VLAN tag byte swap and chop problem??

2002-11-05 Thread Jacob S. Barrett
Yeah, looks like they are 12 bits. I should I thought of that since the Summit has a range of 0-4095 vlan IDs, which is 12 bits. So that explains the chopping. Now if I can just solve the swapping all should be good! Thanks, Jake Barney Wolff wrote: Dunno about the byte-order issue, but

Re: VLAN tag byte swap and chop problem??

2002-11-05 Thread Jacob S. Barrett
Well it is a bug in the em driver. It works fine on the fxp device. I am trying to debug and patch myself, but I am not familiar with the driver code so it is slow going. If anyone has any pointers on where exactly to focus or anything at all please let me know. For the short term I have

Re: VLAN tag byte swap and chop problem??

2002-11-05 Thread Jacob S. Barrett
Well I think I fixed it. It works for my card atleast. I am not sure the of the correct route to get this checked and corrected in the main source tree. Seems like such a simple fix but it may only work for the chipset that I have, 82543, so someone should check on other chipsets.