From: Stephan von Krawczynski <skraw@ithnet.com>
To: linux-ns83820@kvack.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem Report: ns83820 / 802.1Q vlan / 2.4.23
Date: Mon, 8 Dec 2003 17:40:08 +0100 [thread overview]
Message-ID: <20031208174008.04bf0014.skraw@ithnet.com> (raw)
In-Reply-To: <20031208145622.52d4ea11.skraw@ithnet.com>
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
prev parent reply other threads:[~2003-12-08 16:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031208174008.04bf0014.skraw@ithnet.com \
--to=skraw@ithnet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-ns83820@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).