Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 22:25:38 +0200
From:      "K. Macy" <kmacy@freebsd.org>
To:        Jack Vogel <jfvogel@gmail.com>
Cc:        =?ISO-8859-1?Q?Leon_Me=DFner?= <l.messner@physik.tu-berlin.de>, freebsd-stable@freebsd.org
Subject:   Re: ixgbe(4) and "Could not setup receive structures"
Message-ID:  <BANLkTikG_vb8bYFac=MCoX5FsO71BCWAYw@mail.gmail.com>
In-Reply-To: <BANLkTikKjfNrfoZVMjx9LjKkKMfrKvMXXg@mail.gmail.com>
References:  <20110414130540.GD9116@emmi.physik-pool.tu-berlin.de> <BANLkTikVVGPb3k74Xdty%2BH_tjjWD3SZ_Ng@mail.gmail.com> <BANLkTinw8PcTZ4A3VQXKQs7=zZWL6bt8dA@mail.gmail.com> <BANLkTikKjfNrfoZVMjx9LjKkKMfrKvMXXg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 14, 2011 at 10:18 PM, Jack Vogel <jfvogel@gmail.com> wrote:
> So, what do you have in mind as the real problem then?

The problem was the one that you provided the solution to. I was
simply observing that auto-tuning of mbuf jumbo cluster limits is in
need of improvement.

Kip
>
> Jack
>
>
> On Thu, Apr 14, 2011 at 11:55 AM, K. Macy <kmacy@freebsd.org> wrote:
>
>> That isn't guaranteed to work if he is KVA limited.
>>
>> On Thu, Apr 14, 2011 at 6:44 PM, Jack Vogel <jfvogel@gmail.com> wrote:
>> > If you get this message its only for one reason, you don't have enough
>> mbufs
>> > to
>> > fill your rings. You must do one of two things, either reduce the numb=
er
>> of
>> > queues,
>> > or increase the relevant mbuf pool.
>> >
>> > Increase the 9K mbuf cluster pool.
>> >
>> > Jack
>> >
>> >
>> > On Thu, Apr 14, 2011 at 6:05 AM, Leon Me=DFner
>> > <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 structur=
es
>> >>
>> >> I already tried the following patch because of Jack Vogel's advice gi=
ven
>> >> 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 +=
0000
>> >> @@ -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"
>> >>
>> > _______________________________________________
>> > 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"
>



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