DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yongseok Koh <yskoh@mellanox.com>
To: shahafs@mellanox.com
Cc: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v5 0/4] net/mlx: remove device register remap
Date: Wed, 10 Apr 2019 11:41:14 -0700	[thread overview]
Message-ID: <20190410184118.39727-1-yskoh@mellanox.com> (raw)
Message-ID: <20190410184114.NHs4WDolOwHNnkQbwBJyLfg_55K686h6JVeDfdmyL2I@z> (raw)
In-Reply-To: <20190325193627.19726-1-yskoh@mellanox.com>

This patchset lifts the requirement of reserving huge virtual address space
and remapping device UAR register on to it in order to use the same address
between primary and secondary process.

v5:
* fix 32-bit build issue
* remove MLX[4|5]_UAR_SIZE and MLX[4|5]_UAR_OFFSET

v4:
* add mlx4_proc_priv_[init|uninit]() to avoid duplicate code
* remove the number of Rx queues from the ppriv size calculation
* move freeing ppriv to mlx4_dev_close() from mlx4_dev_stop()
* rebase on top of "net/mlx4: fix Tx doorbell register unmap" [1]

v3:
* move UAR table to per-process storage

v2:
* rebase on the latest branch tip
* fix a bug

[1] http://patches.dpdk.org/patch/52435/

Yongseok Koh (4):
  net/mlx5: fix recursive inclusion of header file
  net/mlx5: remove redundant queue index
  net/mlx5: remove device register remap
  net/mlx4: remove device register remap

 drivers/net/mlx4/mlx4.c            | 255 +++++++++----------------------------
 drivers/net/mlx4/mlx4.h            |  25 ++--
 drivers/net/mlx4/mlx4_prm.h        |   3 +-
 drivers/net/mlx4/mlx4_rxtx.c       |   2 +-
 drivers/net/mlx4/mlx4_rxtx.h       |   6 +-
 drivers/net/mlx4/mlx4_txq.c        | 170 +++++++++++++++----------
 drivers/net/mlx5/mlx5.c            | 228 ++++++++-------------------------
 drivers/net/mlx5/mlx5.h            |  17 ++-
 drivers/net/mlx5/mlx5_defs.h       |  10 --
 drivers/net/mlx5/mlx5_ethdev.c     |   3 +
 drivers/net/mlx5/mlx5_flow.c       |   5 +-
 drivers/net/mlx5/mlx5_flow_dv.c    |   4 +-
 drivers/net/mlx5/mlx5_flow_verbs.c |   5 +-
 drivers/net/mlx5/mlx5_rxq.c        |  29 ++---
 drivers/net/mlx5/mlx5_rxtx.h       |  21 +--
 drivers/net/mlx5/mlx5_stats.c      |  15 +--
 drivers/net/mlx5/mlx5_trigger.c    |   8 +-
 drivers/net/mlx5/mlx5_txq.c        | 200 +++++++++++++++++------------
 drivers/net/mlx5/mlx5_vlan.c       |   3 +-
 19 files changed, 414 insertions(+), 595 deletions(-)

-- 
2.11.0


  parent reply	other threads:[~2019-04-10 18:41 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-25 19:36 [dpdk-dev] [PATCH 0/3] " Yongseok Koh
2019-03-25 19:36 ` Yongseok Koh
2019-03-25 19:36 ` [dpdk-dev] [PATCH 1/3] net/mlx5: fix recursive inclusion of header file Yongseok Koh
2019-03-25 19:36   ` Yongseok Koh
2019-03-25 19:36 ` [dpdk-dev] [PATCH 2/3] net/mlx5: remove device register remap Yongseok Koh
2019-03-25 19:36   ` Yongseok Koh
2019-03-25 19:36 ` [dpdk-dev] [PATCH 3/3] net/mlx4: " Yongseok Koh
2019-03-25 19:36   ` Yongseok Koh
2019-04-01 21:22 ` [dpdk-dev] [PATCH v2 0/3] net/mlx: " Yongseok Koh
2019-04-01 21:22   ` Yongseok Koh
2019-04-01 21:22   ` [dpdk-dev] [PATCH v2 1/3] net/mlx5: fix recursive inclusion of header file Yongseok Koh
2019-04-01 21:22     ` Yongseok Koh
2019-04-02  5:39     ` Shahaf Shuler
2019-04-02  5:39       ` Shahaf Shuler
2019-04-01 21:22   ` [dpdk-dev] [PATCH v2 2/3] net/mlx5: remove device register remap Yongseok Koh
2019-04-01 21:22     ` Yongseok Koh
2019-04-02  6:50     ` Shahaf Shuler
2019-04-02  6:50       ` Shahaf Shuler
2019-04-01 21:22   ` [dpdk-dev] [PATCH v2 3/3] net/mlx4: " Yongseok Koh
2019-04-01 21:22     ` Yongseok Koh
2019-04-05  1:33 ` [dpdk-dev] [PATCH v3 0/4] net/mlx: " Yongseok Koh
2019-04-05  1:33   ` Yongseok Koh
2019-04-05  1:33   ` [dpdk-dev] [PATCH v3 1/4] net/mlx5: fix recursive inclusion of header file Yongseok Koh
2019-04-05  1:33     ` Yongseok Koh
2019-04-05  1:33   ` [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue index Yongseok Koh
2019-04-05  1:33     ` Yongseok Koh
2019-04-08  5:24     ` Shahaf Shuler
2019-04-08  5:24       ` Shahaf Shuler
2019-04-05  1:33   ` [dpdk-dev] [PATCH v3 3/4] net/mlx5: remove device register remap Yongseok Koh
2019-04-05  1:33     ` Yongseok Koh
2019-04-08  5:48     ` Shahaf Shuler
2019-04-08  5:48       ` Shahaf Shuler
2019-04-09 19:36       ` Yongseok Koh
2019-04-09 19:36         ` Yongseok Koh
2019-04-05  1:33   ` [dpdk-dev] [PATCH v3 4/4] net/mlx4: " Yongseok Koh
2019-04-05  1:33     ` Yongseok Koh
2019-04-09 23:13 ` [dpdk-dev] [PATCH v4 0/4] net/mlx: " Yongseok Koh
2019-04-09 23:13   ` Yongseok Koh
2019-04-09 23:13   ` [dpdk-dev] [PATCH v4 1/4] net/mlx5: fix recursive inclusion of header file Yongseok Koh
2019-04-09 23:13     ` Yongseok Koh
2019-04-09 23:13   ` [dpdk-dev] [PATCH v4 2/4] net/mlx5: remove redundant queue index Yongseok Koh
2019-04-09 23:13     ` Yongseok Koh
2019-04-09 23:13   ` [dpdk-dev] [PATCH v4 3/4] net/mlx5: remove device register remap Yongseok Koh
2019-04-09 23:13     ` Yongseok Koh
2019-04-10 17:50     ` Ferruh Yigit
2019-04-10 17:50       ` Ferruh Yigit
2019-04-10 19:12       ` Yongseok Koh
2019-04-10 19:12         ` Yongseok Koh
2019-04-09 23:13   ` [dpdk-dev] [PATCH v4 4/4] net/mlx4: " Yongseok Koh
2019-04-09 23:13     ` Yongseok Koh
2019-04-10  6:58   ` [dpdk-dev] [PATCH v4 0/4] net/mlx: " Shahaf Shuler
2019-04-10  6:58     ` Shahaf Shuler
2019-04-10 17:50     ` Ferruh Yigit
2019-04-10 17:50       ` Ferruh Yigit
2019-04-10 18:41 ` Yongseok Koh [this message]
2019-04-10 18:41   ` [dpdk-dev] [PATCH v5 " Yongseok Koh
2019-04-10 18:41   ` [dpdk-dev] [PATCH v5 1/4] net/mlx5: fix recursive inclusion of header file Yongseok Koh
2019-04-10 18:41     ` Yongseok Koh
2019-04-10 18:41   ` [dpdk-dev] [PATCH v5 2/4] net/mlx5: remove redundant queue index Yongseok Koh
2019-04-10 18:41     ` Yongseok Koh
2019-04-10 18:41   ` [dpdk-dev] [PATCH v5 3/4] net/mlx5: remove device register remap Yongseok Koh
2019-04-10 18:41     ` Yongseok Koh
2019-04-10 18:41   ` [dpdk-dev] [PATCH v5 4/4] net/mlx4: " Yongseok Koh
2019-04-10 18:41     ` Yongseok Koh
2019-04-11  8:40   ` [dpdk-dev] [PATCH v5 0/4] net/mlx: " Shahaf Shuler
2019-04-11  8:40     ` Shahaf Shuler

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=20190410184118.39727-1-yskoh@mellanox.com \
    --to=yskoh@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=shahafs@mellanox.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).