Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 16:18:17 +0200
From:      Leon =?iso-8859-15?Q?Me=DFner?= <l.messner@physik.tu-berlin.de>
To:        "K. Macy" <kmacy@freebsd.org>
Cc:        Leon =?iso-8859-15?Q?Me=DFner?= <l.messner@physik.tu-berlin.de>, freebsd-stable@freebsd.org
Subject:   Re: ixgbe(4) and "Could not setup receive structures"
Message-ID:  <20110414141817.GE9116@emmi.physik-pool.tu-berlin.de>
In-Reply-To: <BANLkTikRGpa4=Ghh3Hcnne6AV6TKiKNKdA@mail.gmail.com>
References:  <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <BANLkTikRGpa4=Ghh3Hcnne6AV6TKiKNKdA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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ßner
> <l.messner@physik.tu-berlin.de> 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.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);
> >
> >         /*
> >
> > _______________________________________________
> > 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"
> >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110414141817.GE9116>