Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757299AbXJCBfR (ORCPT ); Tue, 2 Oct 2007 21:35:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756807AbXJCBeu (ORCPT ); Tue, 2 Oct 2007 21:34:50 -0400 Received: from proxy3.bredband.net ([195.54.101.73]:50156 "EHLO proxy3.bredband.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756627AbXJCBes (ORCPT ); Tue, 2 Oct 2007 21:34:48 -0400 Subject: Re: [PATCH] sky2: jumbo frame regression fix From: Ian Kumlien Reply-To: pomac@vapor.com To: Stephen Hemminger Cc: Jeff Garzik , Linux-kernel@vger.kernel.org, netdev@vger.kernel.org In-Reply-To: <20071002180209.47c350a3@freepuppy.rosehill> References: <1191372129.26233.12.camel@localhost> <20071002180209.47c350a3@freepuppy.rosehill> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nM+280Pv6eZit1SAcsnS" Date: Wed, 03 Oct 2007 03:34:34 +0200 Message-Id: <1191375274.26233.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2098 Lines: 61 --=-nM+280Pv6eZit1SAcsnS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On tis, 2007-10-02 at 18:02 -0700, Stephen Hemminger wrote: > Remove unneeded check that caused problems with jumbo frame sizes. > The check was recently added and is wrong. > When using jumbo frames the sky2 driver does fragmentation, so > rx_data_size is less than mtu. Confirmed working. Now running with 9k mtu with no errors, =3D) It also seems that the FIFO bug was the one that affected me before, damn odd race that one. > Signed-off-by: Stephen Hemminger Tested-by: Ian Kumlien (if that tag exists now) Btw, Sorry but all mail directly to you will be blocked. I have yet to fix the relaying properly with isp:s blocking port 25 etc so for some of you this mail will only show up on the ML. > --- a/drivers/net/sky2.c 2007-10-02 17:56:31.000000000 -0700 > +++ b/drivers/net/sky2.c 2007-10-02 17:58:56.000000000 -0700 > @@ -2163,9 +2163,6 @@ static struct sk_buff *sky2_receive(stru > sky2->rx_next =3D (sky2->rx_next + 1) % sky2->rx_pending; > prefetch(sky2->rx_ring + sky2->rx_next); > =20 > - if (length < ETH_ZLEN || length > sky2->rx_data_size) > - goto len_error; > - > /* This chip has hardware problems that generates bogus status. > * So do only marginal checking and expect higher level protocols > * to handle crap frames. --=20 Ian Kumlien -- http://pomac.netswarm.net --=-nM+280Pv6eZit1SAcsnS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) iD8DBQBHAvGq7F3Euyc51N8RAlTkAJ9c3Ed1FAB1zSNH+e3YzO4gfWul5wCePAU/ GqxZqXFL0c3bCZZKHM7FCXo= =YnCL -----END PGP SIGNATURE----- --=-nM+280Pv6eZit1SAcsnS-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/