From owner-freebsd-stable@FreeBSD.ORG Thu Apr 14 13:20:21 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 084441065687 for ; Thu, 14 Apr 2011 13:20:21 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 8ACB68FC14 for ; Thu, 14 Apr 2011 13:20:20 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p3ED5eQS069943 for ; Thu, 14 Apr 2011 15:05:40 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p3ED5e9m069942 for freebsd-stable@freebsd.org; Thu, 14 Apr 2011 15:05:40 +0200 (CEST) (envelope-from elon) Date: Thu, 14 Apr 2011 15:05:40 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: freebsd-stable@freebsd.org Message-ID: <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: 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 13:20:21 -0000 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.html # cat ~/patches/ixgbe.num_queues_to_4.patch --- /root/.vimbackup/ixgbe.c~ 2011-04-12 22:14:27.000000000 +0000 +++ sys/dev/ixgbe/ixgbe.c 2011-04-12 22:14:27.000000000 +0000 @@ -273,7 +273,7 @@ TUNABLE_INT("hw.ixgbe.hdr_split", &ixgbe * number of cpus. Each queue is a pair * of RX and TX rings with a msix vector */ -static int ixgbe_num_queues = 0; +static int ixgbe_num_queues = 4; TUNABLE_INT("hw.ixgbe.num_queues", &ixgbe_num_queues); /*