patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Yongseok Koh <yskoh@mellanox.com>
To: Shahaf Shuler <shahafs@mellanox.com>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH 17.11] net/mlx5: fix multi-chunk mempool	support
Date: Thu, 13 Dec 2018 19:35:32 +0000	[thread overview]
Message-ID: <FD123FBD-A3F4-4D49-BF82-57D051CEBC22@mellanox.com> (raw)
In-Reply-To: <20181213013136.28703-1-yskoh@mellanox.com>


> On Dec 12, 2018, at 5:31 PM, Yongseok Koh <yskoh@mellanox.com> wrote:
> 
> Mempool having multiple chunks isn't supported by mlx5 PMD. If system
> memory is much fragmented, it usually happens and mlx5 PMD fails to
> initialize. In such a case, application can't be launched or restarted.
> 
> This patch enables non-contiguous mempool support by registering entire
> memseg[] in the beginning. For MR search, there are 3 layers.
> 
> - L1 searches the last-hit entry of each Rx/Tx queue.
> - L2 linearly searches per-queue cache table, which is an array having 8
> entries by default.
> - L3 searches per-queue lookup table by binary search.
> 
> On Rx, as mempool is statically registered when setting up Rx queue, lookup
> table is built when queue is created.
> 
> On Tx, registration is done on demand in runtime.
> 
> Fixes: 491770fafcfb ("net/mlx5: split memory registration function")
> 
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>

Applied to stable/17.11

Thanks,
Yongseok

      reply	other threads:[~2018-12-13 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-13  1:31 Yongseok Koh
2018-12-13 19:35 ` Yongseok Koh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FD123FBD-A3F4-4D49-BF82-57D051CEBC22@mellanox.com \
    --to=yskoh@mellanox.com \
    --cc=shahafs@mellanox.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).