Re: Call for re(4) checksum offload testers.

From: Sepherosa Ziehau <sepherosa_at_gmail.com>
Date: Mon, 22 Jan 2007 17:24:54 +0800
On 1/22/07, Pyun YongHyeon <pyunyh_at_gmail.com> wrote:
> Hi,
>
> It seems that some revisions of re(4) hardwares(PCIe variants?) still
> have Tx checksum offload issues. One user reported the issue said
> the attached patch fixed the issue on his box.

-#define RL_MIN_FRAMELEN		60
+/*
+ * re(4) hardware IPv4 Tx checksum offload could be mangled with 28 bytes
+ * or less IP packets.
+ */
+#define RL_TXCSUM_MINLEN	28
+#define RL_MIN_FRAMELEN		(ETHER_HDR_LEN + RL_TXCSUM_MINLEN)

Does you patch mean a buggy PCIe re(4) will trash small packets padded
to 60bytes but will not trash small packets padded to 42bytes?  If
"yes" is the answer, then why normal packets whose size is 60bytes
will not be trashed by a buggy PCIe re(4)?

IMHO, "fixing buggy PCIe re(4) txcsum" is not NetBSD's original
intention to narrow down the size of packets that will trigger the
re(4) txcsum bug.

Best Regards,
sephe

-- 
Live Free or Die
Received on Mon Jan 22 2007 - 08:50:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC