Greetings,
In response to a couple of emails on the bridging mailing list
* Beat Rubischon <[EMAIL PROTECTED]>
e1000 bridging issue.
I've found a similar issue with the Broadcom network card.
The IP checksum is calculated incorrectly by the firmware
as the packets pass through the bridging host. We think it's
because it assumes that the source IP address is the IP address
of the host sending the packets, which is incorrent when
bridging. This lookk slike a similar issue.
I would be interested to know exactly what rev your
network cards are. (Intel 82540EM) eg. What does the following
report:
# cat /proc/pci
# lspci
# lspci -n
* "Martin Hillier" <[EMAIL PROTECTED]>
Can you send me your nework card details as well.
What model of Broadcom are they?
See below for a patch for the Broadcom driver which fixed
the problem for us.
Paul
- --
Paul Schulz - Software Engineer [codito, ergo sum]
Foursticks Pty Ltd - Level 16, 33 King William St, Adelaide 5000
Phone: +61 8 8111 4300 Fax: +61 8 8111 4399 Mobile: +61 401 981
301
Email: [EMAIL PROTECTED] Web: www.foursticks.com
The following comes from Sarah Bolderoff's patch, which was sent to the
kernel list for the 'tg3' broadcom driver.
-
--------------------------------------------------------------------------
The BCM95703A30 rev 1002 has issues with the hardware checksumming.
The following patch for the tg3 (linux-2.4.20-ac2/drivers/net/tg3.c)
driver, fixes the problem.
Note: I've tested this on the 2.4.20-ac2, but it should work OK with
2.4.20 too.
diff -u linux-2.4.20/drivers/net/tg3.c
linux-2.4.20-ac2/drivers/net/tg3.c
- --- linux-2.4.20/drivers/net/tg3.c Fri Nov 29 10:23:14 2002
+++ linux-2.4.20-ac2/drivers/net/tg3.c Wed Jan 8 14:34:44 2003
@@ -6161,6 +6161,10 @@
if (tp->pci_chip_rev_id == CHIPREV_ID_5700_B0)
tp->tg3_flags |= TG3_FLAG_BROKEN_CHECKSUMS;
+ /* 5703 A2 have issues with checksumming too. (sarah) */
+ if (tp->pci_chip_rev_id == CHIPREV_ID_5703_A2)
+ tp->tg3_flags |= TG3_FLAG_BROKEN_CHECKSUMS;
+
/* Regardless of whether checksums work or not, we configure
* the StrongARM chips to not compute the pseudo header checksums
* in either direction. Because of the way Linux checksum support
-
---------------------------------------------------------------------------
--
Paul Schulz - Software Engineer [codito, ergo sum]
Foursticks Pty Ltd - Level 16, 33 King William St, Adelaide 5000
Phone: +61 8 8111 4300 Fax: +61 8 8111 4399 Mobile: +61 401 981
301
Email: [EMAIL PROTECTED] Web: www.foursticks.com
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge