Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 14:50:54 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        Andrew Vylegzhanin <avv314@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>,  Ryan Stone <rysto32@gmail.com>
Subject:   Re: Is netmap jumbo frames broken in STABLE?
Message-ID:  <CA%2BhQ2%2Bjtd9FGuaJfJ6N1yt2%2BjSkez8Bj1usjpO%2BBCt-3Yvx2ww@mail.gmail.com>
In-Reply-To: <5756C17D.1090409@yandex.ru>
References:  <CA%2BBi_YhqCnt5pQ_hC5zWdBp24=Zn3Rcj29AwtMrguPhSoJZSdQ@mail.gmail.com> <CA%2BhQ2%2BjcT_E4osrTB00%2Bf0gwSCoG_Zy%2BVdU8LXndqsjnmxPQ3Q@mail.gmail.com> <CAFMmRNy=PEFOxM4tGM7TQqpMnhTba17ACiaOcfuG8fkDET0RZw@mail.gmail.com> <CA%2BBi_YiqcOTw7T_dDzjis8yFu7oGd8G-av2BEaStXFiU7ovUCw@mail.gmail.com> <5756C17D.1090409@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 7, 2016 at 2:43 PM, Andrey V. Elsukov <bu7cher@yandex.ru> wrote=
:

> On 07.06.16 15:22, Andrew Vylegzhanin wrote:
> > Just for support Luigi assumption.
> >
> > I've tested on 11.0-ALPHA1 (r301204).
> > Same situation with frame size 5166 and works _well_ with frame size
> 4032.
>
> This was changed in
>         https://svnweb.freebsd.org/base?view=3Drevision&revision=3D283883
>
> In the ixgbe_init_locked() initialization of adapter->rx_mbuf_sz was
> limited to MJUMPAGESIZE. But I'm agree with Ryan, with this
> configuration it works more reliable.
>

=E2=80=8BNothing prevents modifying the configuration while the card
is in netmap mode, and reverting to the previous one
in regular mode. netmap allocates its own buffers and
if it fails the NIC just reverts back to regular mode.

This said, we can make netmap work with multiple buffers
also on NICs;
it is already supported in VALE. Just makes
the user code a bit less convenient.

cheers
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2Bjtd9FGuaJfJ6N1yt2%2BjSkez8Bj1usjpO%2BBCt-3Yvx2ww>