From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 15:46:13 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 EF935106564A for ; Thu, 14 Apr 2011 15:46:12 +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 C10B18FC17 for ; Thu, 14 Apr 2011 15:46:12 +0000 (UTC) Received: by pwj8 with SMTP id 8so883052pwj.13 for ; Thu, 14 Apr 2011 08:46:12 -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:cc:content-type :content-transfer-encoding; bh=6hBA3Utfa6sirNm4C09455b0JgVyrjPoAZTT5SeklwY=; b=cbt8IipfS9pyjjNLpUEj7I1OK2VNle26XZelpBLGTrf6tixx+1aNjoV0CYkcTcDkCq usAcEe6HWBeeTnU9CXhCogqa+/HE4Eswx4xK318ZJ+wO5ghjnC4fuOsGO+YBPTDVgAWY HeKQd56NMIlrquFHT6Xji3fzBuoTv5Foo7V+o= 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:cc:content-type :content-transfer-encoding; b=cvcl0wZ4VlcBDbYY26Zhduk0WQYwvS+9kD+E1PcMe5gZSkRJTnPqduo+DLpzm/4dzk FzP3Ng49Wd6jAPesMvwIdoaus9qXF7PADphDV4TWFz8wDu0PKA1cduil2UpOHWGvBlMH HkDHusnyeR4Xn1x0bez85akkBuuyHL3mt1jC8= MIME-Version: 1.0 Received: by 10.68.22.9 with SMTP id z9mr568200pbe.44.1302795972217; Thu, 14 Apr 2011 08:46:12 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.41.101 with HTTP; Thu, 14 Apr 2011 08:46:12 -0700 (PDT) In-Reply-To: References: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Date: Thu, 14 Apr 2011 17:46:12 +0200 X-Google-Sender-Auth: esWLpXUV-5KgT60i1Bo54d-zD1Q Message-ID: From: "K. Macy" To: Nikolay Denev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Leon_Me=DFner?= , freebsd-stable@freebsd.org 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 15:46:13 -0000 Also, how much memory do you have and what architecture? On Thu, Apr 14, 2011 at 4:14 PM, Nikolay Denev wrote: > On Apr 14, 2011, at 2: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 structures >> >> I already tried the following patch because of Jack Vogel's advice given >> 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.ht= ml >> >> # 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 +000= 0 >> @@ -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.org= " > > Hi, > > Have you tried increasing the following sysctls ? : > > =A0 =A0kern.ipc.nmbjumbo16 > =A0 =A0kern.ipc.nmbjumbo9 > =A0 =A0kern.ipc.nmbclusters > > Regards, > Nikolay > > _______________________________________________ > 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" >