DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yongseok Koh <yskoh@mellanox.com>
To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com
Cc: dev@dpdk.org, Yongseok Koh <yskoh@mellanox.com>
Subject: [dpdk-dev] [PATCH v2 0/4] net/mlx: add new Memory Region support
Date: Wed,  9 May 2018 04:09:02 -0700	[thread overview]
Message-ID: <20180509110906.19462-1-yskoh@mellanox.com> (raw)
In-Reply-To: <20180502231654.7596-1-yskoh@mellanox.com>

This is the new design of Memory Region (MR) for mlx PMD, in order to:
- Accommodate the new memory hotplug model.
- Support non-contiguous Mempool.

This patchset should be applied after:
 net/mlx5: change device reference for secondary process
 mem: add argument to memory event callback

v2:
* drop 'net/mlx5: trim debug messages for reference counters'.
* remove unused functions - mlx5_mr_free() and mlx4_mr_free().
* add documentation for performance tuning.
* replace IS_SINGLE_MR() with mlx5_mr_btree_len().
* fix a typo.

Yongseok Koh (4):
  net/mlx5: remove Memory Region support
  net/mlx5: add new Memory Region support
  net/mlx4: remove Memory Region support
  net/mlx4: add new Memory Region support

 config/common_base               |    2 -
 doc/guides/nics/mlx4.rst         |   14 +-
 doc/guides/nics/mlx5.rst         |   14 +-
 drivers/net/mlx4/Makefile        |    4 -
 drivers/net/mlx4/mlx4.c          |   26 +
 drivers/net/mlx4/mlx4.h          |   45 +-
 drivers/net/mlx4/mlx4_mr.c       | 1236 +++++++++++++++++++++++++++++++-----
 drivers/net/mlx4/mlx4_mr.h       |  122 ++++
 drivers/net/mlx4/mlx4_rxq.c      |   19 +-
 drivers/net/mlx4/mlx4_rxtx.c     |   35 +-
 drivers/net/mlx4/mlx4_rxtx.h     |   85 ++-
 drivers/net/mlx4/mlx4_txq.c      |   74 +--
 drivers/net/mlx5/Makefile        |    4 -
 drivers/net/mlx5/mlx5.c          |   49 +-
 drivers/net/mlx5/mlx5.h          |   32 +-
 drivers/net/mlx5/mlx5_defs.h     |   15 +-
 drivers/net/mlx5/mlx5_ethdev.c   |   16 +
 drivers/net/mlx5/mlx5_mr.c       | 1305 +++++++++++++++++++++++++++++++-------
 drivers/net/mlx5/mlx5_mr.h       |  117 ++++
 drivers/net/mlx5/mlx5_rxq.c      |   27 +-
 drivers/net/mlx5/mlx5_rxtx.c     |    3 +
 drivers/net/mlx5/mlx5_rxtx.h     |  123 ++--
 drivers/net/mlx5/mlx5_rxtx_vec.h |    6 +-
 drivers/net/mlx5/mlx5_trigger.c  |   25 +-
 drivers/net/mlx5/mlx5_txq.c      |   28 +-
 25 files changed, 2694 insertions(+), 732 deletions(-)
 create mode 100644 drivers/net/mlx4/mlx4_mr.h
 create mode 100644 drivers/net/mlx5/mlx5_mr.h

-- 
2.11.0

  parent reply	other threads:[~2018-05-09 11:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 23:16 [dpdk-dev] [PATCH 0/5] " Yongseok Koh
2018-05-02 23:16 ` [dpdk-dev] [PATCH 1/5] net/mlx5: trim debug messages for reference counters Yongseok Koh
2018-05-06  6:37   ` Shahaf Shuler
2018-05-07 21:37     ` Yongseok Koh
2018-05-02 23:16 ` [dpdk-dev] [PATCH 2/5] net/mlx5: remove Memory Region support Yongseok Koh
2018-05-06  6:41   ` Shahaf Shuler
2018-05-02 23:16 ` [dpdk-dev] [PATCH 3/5] net/mlx5: add new " Yongseok Koh
2018-05-03  8:21   ` Burakov, Anatoly
2018-05-06 12:53   ` Shahaf Shuler
2018-05-08  1:52     ` Yongseok Koh
2018-05-02 23:16 ` [dpdk-dev] [PATCH 4/5] net/mlx4: remove " Yongseok Koh
2018-05-02 23:16 ` [dpdk-dev] [PATCH 5/5] net/mlx4: add new " Yongseok Koh
2018-05-09 11:09 ` Yongseok Koh [this message]
2018-05-09 11:09   ` [dpdk-dev] [PATCH v2 1/4] net/mlx5: remove " Yongseok Koh
2018-05-09 12:03     ` Shahaf Shuler
2018-05-09 11:09   ` [dpdk-dev] [PATCH v2 2/4] net/mlx5: add new " Yongseok Koh
2018-05-09 11:09   ` [dpdk-dev] [PATCH v2 3/4] net/mlx4: remove " Yongseok Koh
2018-05-09 11:09   ` [dpdk-dev] [PATCH v2 4/4] net/mlx4: add new " Yongseok Koh
2018-05-09 23:12     ` Ferruh Yigit
2018-05-10  3:00       ` Yongseok Koh
2018-05-10  6:01         ` Yongseok Koh
2018-05-10 19:29           ` Ferruh Yigit
2018-05-15  9:00             ` Nélio Laranjeiro

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=20180509110906.19462-1-yskoh@mellanox.com \
    --to=yskoh@mellanox.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=nelio.laranjeiro@6wind.com \
    /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).