Skip to contentSkip to conversation

New: Vlan MTU Fragmentation

Bugme-new Andrew Morton 2 participants 6 messages May 5, 2006 – May 6, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Thu, 4 May 2006 23:15:56 -0700
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 6495] New: Vlan MTU Fragmentation

http://bugzilla.kernel.org/show_bug.cgi?id=6495

Summary: Vlan MTU Fragmentation
Kernel Version: 2.6.16.12
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]

Steps to reproduce:

ifconfing eth0 mtu 1500
ifconfing eth0.100 mtu 1500

ping www.ru -s 2000
-- BAD --

----------------

ifconfing eth0 mtu 1500
ifconfing eth0.100 mtu 1496

ping www.ru -s 2000
--NORMAL--

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

#1 lore raw
Quoted 27 lines · Andrew Morton

Begin forwarded message:

Date: Thu, 4 May 2006 23:15:56 -0700
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 6495] New: Vlan MTU Fragmentation

http://bugzilla.kernel.org/show_bug.cgi?id=6495

Summary: Vlan MTU Fragmentation
Kernel Version: 2.6.16.12
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]

Steps to reproduce:

ifconfing eth0 mtu 1500
ifconfing eth0.100 mtu 1500

ping www.ru -s 2000
-- BAD --

Quoted 7 lines

----------------

ifconfing eth0 mtu 1500
ifconfing eth0.100 mtu 1496

ping www.ru -s 2000
--NORMAL--

This is almost definately a bug in the ethernet driver. The driver needs to be modified so that it can send/receive pkts that are MTU + 4 bytes for the VLAN header.

We need to know what NIC/driver this user is using...

Ben

Quoted 8 lines

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is. -
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#2 lore raw
Quoted 36 lines · On Fri, 05 May 2006 08:57:06 -0700 Ben Greear <[email protected]> wrote:
Quoted 27 lines · Andrew Morton

Begin forwarded message:

Date: Thu, 4 May 2006 23:15:56 -0700
From: [email protected]
To: [email protected]
Subject: [Bugme-new] [Bug 6495] New: Vlan MTU Fragmentation

http://bugzilla.kernel.org/show_bug.cgi?id=6495

Summary: Vlan MTU Fragmentation
Kernel Version: 2.6.16.12
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]

Steps to reproduce:

ifconfing eth0 mtu 1500
ifconfing eth0.100 mtu 1500

ping www.ru -s 2000
-- BAD --

Quoted 7 lines

----------------

ifconfing eth0 mtu 1500
ifconfing eth0.100 mtu 1496

ping www.ru -s 2000
--NORMAL--

Quoted 8 lines

This is almost definately a bug in the ethernet driver. The driver needs to be modified so that it can send/receive pkts that are MTU + 4 bytes for the VLAN header.

We need to know what NIC/driver this user is using...

Ben

Sorry, I should have added Badalian to Cc:. He's using 3c905C (3c59x.c, allegedly maintained by myself).

(Badalian, please use emailed reply-to-all rather than the bugzilla interface for the remainder of this discussion, thanks).

#3 lore raw
Quoted 6 lines · Andrew Morton

Sorry, I should have added Badalian to Cc:. He's using 3c905C (3c59x.c, allegedly maintained by myself).

(Badalian, please use emailed reply-to-all rather than the bugzilla interface for the remainder of this discussion, thanks).

There is an ancient patch on this page:

http://www.bewley.net/linux/vlan/patches/

I have no idea if this would apply or if it has already been put into the kernel. I also don't have any 3com nics to test with, but there are probably folks on the vlan mailing list that could try patches...

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#4 lore raw
Quoted 9 lines · On Fri, 05 May 2006 21:39:14 -0700 Ben Greear <[email protected]> wrote:
Quoted 6 lines · Andrew Morton

Sorry, I should have added Badalian to Cc:. He's using 3c905C (3c59x.c, allegedly maintained by myself).

(Badalian, please use emailed reply-to-all rather than the bugzilla interface for the remainder of this discussion, thanks).

Quoted 8 lines

There is an ancient patch on this page:

http://www.bewley.net/linux/vlan/patches/

I have no idea if this would apply or if it has already been put into the kernel. I also don't have any 3com nics to test with, but there are probably folks on the vlan mailing list that could try patches...

Yeah, that was merged ages ago.

I guess I can type simple commands and add printks. Do you have time to take a look at the driver and suggest what I should be looking for?

#5 lore raw
Quoted 2 lines · Andrew Morton

I guess I can type simple commands and add printks. Do you have time to take a look at the driver and suggest what I should be looking for?

I can only offer vague hints:

TX usually works, but RX often has isues. There is usually a bit or two that needs setting to enable the larger than MTU pkt RX.

It seems some older chipsets had issues with doing checksum offload for VLAN packets, so could try disabling the UDP/TCP checksum logic and see if that helps.

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com