linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem Report: ns83820 / 802.1Q vlan / 2.4.23
@ 2003-12-08 13:56 Stephan von Krawczynski
  2003-12-08 16:40 ` Stephan von Krawczynski
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan von Krawczynski @ 2003-12-08 13:56 UTC (permalink / raw)
  To: linux-ns83820; +Cc: linux-kernel

Hello,

I just experienced a problem with ns83820 and 802.1Q vlan support. It seems
that incoming packets get dropped if the device is connected to a tagged switch
port. Reducing the mtu solves the problem but is of course not nice.
I remember some old docs where it says there can be problems because of the
oversized tagged packets. Intel e100 seems to work flawlessly in same setup.

Regards,
Stephan

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

* Re: Problem Report: ns83820 / 802.1Q vlan / 2.4.23
  2003-12-08 13:56 Problem Report: ns83820 / 802.1Q vlan / 2.4.23 Stephan von Krawczynski
@ 2003-12-08 16:40 ` Stephan von Krawczynski
  0 siblings, 0 replies; 2+ messages in thread
From: Stephan von Krawczynski @ 2003-12-08 16:40 UTC (permalink / raw)
  To: linux-ns83820; +Cc: linux-kernel

On Mon, 8 Dec 2003 14:56:22 +0100
Stephan von Krawczynski <skraw@ithnet.com> wrote:

> Hello,
> 
> I just experienced a problem with ns83820 and 802.1Q vlan support. It seems
> that incoming packets get dropped if the device is connected to a tagged
> switch port. Reducing the mtu solves the problem but is of course not nice.
> I remember some old docs where it says there can be problems because of the
> oversized tagged packets. Intel e100 seems to work flawlessly in same setup.

Regarding this problem I just did this incredibly complex patch, which seems to
work. Maintainer please beat me...

;-)
Regards,
Stephan


--- drivers/net/ns83820.c-orig  2003-12-08 17:33:14.000000000 +0100
+++ drivers/net/ns83820.c       2003-12-08 17:33:31.000000000 +0100
@@ -141,7 +141,7 @@
 #define NR_TX_DESC     128
 
 /* not tunable */
-#define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14)    /* rx/tx mac addr + type */
+#define REAL_RX_BUF_SIZE (RX_BUF_SIZE + 14 + 4)        /* rx/tx mac addr + type + vlan*/
 
 #define MIN_TX_DESC_FREE       8
 

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

end of thread, other threads:[~2003-12-08 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-08 13:56 Problem Report: ns83820 / 802.1Q vlan / 2.4.23 Stephan von Krawczynski
2003-12-08 16:40 ` Stephan von Krawczynski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).