From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 14:20:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906C91065673; Thu, 14 Apr 2011 14:20:20 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 54E7A8FC1F; Thu, 14 Apr 2011 14:20:20 +0000 (UTC) Received: by pwj8 with SMTP id 8so836227pwj.13 for ; Thu, 14 Apr 2011 07:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hajk+2E2nDeXCisdLWiAAHCjKHYzH+dql0cuucu1gBY=; b=rt7UlsfgTk5cx6uqsKVOj9X9MZbbmLuThseEooCn4DbwLyKEzDz2ARWYDWvwxdVUvu 6fMZ9xdmAXv3raHMKJ6kD2SG8NFG4yTPIdtjvhSrq9op0y1nypcPMoaIijiI95Di+w4m l0JoT+AX3+gB5D1+WrjUkxx5uzyQBCQ0s5dOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=bFJWTpK2GsjfCHzuBehzralzT7/DHHJU4HV18ATUjG97kijVcLy+VufYKGqkXQpl2t mUf2wUABvf+Bup+9Wq+atx9rqFWlSD2EMIEtOHSz4ifSPMhTbaLi3Nmg+Lbk+8jbg0BD ViVHCjYpHYxYqhCDfAhY2gaSIy8p8Vm7fzBV0= MIME-Version: 1.0 Received: by 10.68.52.227 with SMTP id w3mr481806pbo.312.1302790819933; Thu, 14 Apr 2011 07:20:19 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 07:20:19 -0700 (PDT) In-Reply-To: <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de> References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 16:20:19 +0200 X-Google-Sender-Auth: zp3kRZGnfgfHsISzvcSEGc3cWcY Message-ID: From: "K. Macy" To: "K. Macy" , freebsd-stable@freebsd.org, =?ISO-8859-1?Q?Leon_Me=DFner?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ixgbe(4) and "Could not setup receive structures" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 14:20:20 -0000 That should be plenty, but how large are your receive queues? \Kip On Thu, Apr 14, 2011 at 4:18 PM, Leon Me=DFner wrote: > On Thu, Apr 14, 2011 at 03:44:23PM +0200, K. Macy wrote: >> How many 9k jumbo clusters are available? > > Does this output suffice as information ? > > # netstat -m > 8194/1031/9225 mbufs in use (current/cache/total) > 8192/518/8710/25600 mbuf clusters in use (current/cache/total/max) > 8192/512 mbuf+clusters out of packet secondary zone in use > (current/cache) > 0/5/5/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > 18432K/1313K/19746K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > >> On Thu, Apr 14, 2011 at 3:05 PM, Leon Me=DFner >> wrote: >> > Hi, >> > >> > i tried setting the mtu on one of my ixgbe(4) intel NICs to support >> > jumbo frames. This is on a box with RELENG_8 from today. >> > >> > # ifconfig ix0 mtu 9198 >> > >> > I then get the following error: >> > >> > # tail -n 1 /var/log/messages >> > Apr 14 12:48:43 siloneu kernel: ix0: Could not setup receive structure= s >> > >> > I already tried the following patch because of Jack Vogel's advice giv= en >> > in the following thread on -stable in Oct. last year, which still >> > produces the same error message and leaves the box unpingable: >> > >> > http://lists.freebsd.org/pipermail/freebsd-stable/2010-October/059541.= html >> > >> > # cat ~/patches/ixgbe.num_queues_to_4.patch >> > --- /root/.vimbackup/ixgbe.c~ =A0 2011-04-12 22:14:27.000000000 +0000 >> > +++ sys/dev/ixgbe/ixgbe.c =A0 =A0 =A0 2011-04-12 22:14:27.000000000 +0= 000 >> > @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe >> > =A0* number of cpus. Each queue is a pair >> > =A0 =A0* of RX and TX rings with a msix vector >> > =A0 =A0 =A0*/ >> > =A0 =A0 =A0-static int ixgbe_num_queues =3D 0; >> > =A0 =A0 =A0+static int ixgbe_num_queues =3D 4; >> > =A0 =A0 =A0 TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); >> > >> > =A0 =A0 =A0 =A0 /* >> > >> > _______________________________________________ >> > freebsd-stable@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o= rg" >> > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >