Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 16:04:13 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Current <current@freebsd.org>, menny@mellanox.com, FreeBSD Net <net@freebsd.org>
Subject:   Re: mlx5(4) jumbo receive
Message-ID:  <CAFMmRNwKXCxGbz7zmOsiCMWbY3%2BrBzGwJJo_HHkAbbhEz2UfLQ@mail.gmail.com>
In-Reply-To: <20180424085553.GA6887@kib.kiev.ua>
References:  <20180424085553.GA6887@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 24, 2018 at 4:55 AM, Konstantin Belousov
<kostikbel@gmail.com> wrote:
> +#ifndef MLX5E_MAX_RX_BYTES
> +#define        MLX5E_MAX_RX_BYTES MCLBYTES
> +#endif

Why do you use a 2KB buffer rather than a PAGE_SIZE'd buffer?
MJUMPAGESIZE should offer significantly better performance for jumbo
frames without increasing the risk of memory fragmentation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNwKXCxGbz7zmOsiCMWbY3%2BrBzGwJJo_HHkAbbhEz2UfLQ>