public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* Need help with MCS7830 driver and 802.1q VLAN Tagging
@ 2008-08-07 15:36 Marc Haber
  2008-08-07 17:06 ` Ben Hutchings
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Haber @ 2008-08-07 15:36 UTC (permalink / raw)
  To: netdev

Hi,

I am having difficulties with the MCS7830 driver in recent Linux
versions (last version I tried was 2.6.26.1, didn't try 2.6.26.2 yet).
It looks like the MCS7830 has an issue which prevents VLAN tagged
ethernet frames from being transmitted and/or received when the frame
size is near the ethernet MTU.

This behavior was known around the millennium for a lot of ethernet
drivers (including tulip) drivers. The host OS does not know that the
frame is destined to go out via a VLAN tagged interface and thus
builds frames with a size of up to 1500 octets. Then the VLAN tag gets
added, which results in a 1504 octet frame, which seems to be dropped
either by the MCS7830 hardware or its driver.

In some drivers, all was necessary to repair this was to replace a
1500 byte buffer size with 1504; on other interfaces it is necessary
to differently configure the chip.

The MCS7830 does 802.1q with smaller MTUs just fine, and passes tagged
frames. It only fails when the size is larger than MTU-3.

Arnd Bergmann, the original author of the MCS7830 does not have the
resources to debug this at the moment, and unfortunately, my low-level
programming skills are next to existent. I can apply patches,
recompile and try, since i have the hardware available. Can anybody
help with the code?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-19 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 15:36 Need help with MCS7830 driver and 802.1q VLAN Tagging Marc Haber
2008-08-07 17:06 ` Ben Hutchings
2008-08-12 12:01   ` Marc Haber
2008-08-19 13:47   ` Marc Haber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox