Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932557AbWHCPJA (ORCPT ); Thu, 3 Aug 2006 11:09:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932566AbWHCPJA (ORCPT ); Thu, 3 Aug 2006 11:09:00 -0400 Received: from bizon.gios.gov.pl ([212.244.124.8]:8592 "EHLO bizon.gios.gov.pl") by vger.kernel.org with ESMTP id S932565AbWHCPI7 (ORCPT ); Thu, 3 Aug 2006 11:08:59 -0400 Date: Thu, 3 Aug 2006 17:08:51 +0200 (CEST) From: Krzysztof Oledzki X-X-Sender: olel@bizon.gios.gov.pl To: Evgeniy Polyakov cc: Arnd Hannemann , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: problems with e1000 and jumboframes In-Reply-To: <20060803150330.GB12915@2ka.mipt.ru> Message-ID: References: <44D1FEB7.2050703@arndnet.de> <20060803135925.GA28348@2ka.mipt.ru> <44D20A2F.3090005@arndnet.de> <20060803150330.GB12915@2ka.mipt.ru> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-187430788-1639719408-1154617731=:8443" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1318 Lines: 38 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---187430788-1639719408-1154617731=:8443 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 3 Aug 2006, Evgeniy Polyakov wrote: >> Why? After your explanation that makes sense for me. The driver needs >> one contiguous chunk for those 9k packet buffer and thus requests a >> 3-order page of 16k. Or do i still do not understand this? > > Correct, except that it wants 32k. > e1000 logic is following: > align frame size to power-of-two, 16K? > then skb_alloc adds a little > (sizeof(struct skb_shared_info)) at the end, and this ends up > in 32k request just for 9k jumbo frame. Strange, why this skb_shared_info cannon be added before first alignment?= =20 And what about smaller frames like 1500, does this driver behave similar=20 (first align then add)? Best regards, =09=09=09=09Krzysztof Ol=EAdzki ---187430788-1639719408-1154617731=:8443-- - 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/