DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: thomas@monjalon.net, dev@dpdk.org
Cc: hemant.agrawal@nxp.com, akhil.goyal@nxp.com,
	anatoly.burakov@intel.com,
	Shreyansh Jain <shreyansh.jain@nxp.com>
Subject: [dpdk-dev] [PATCH v2 0/3] Optimization for DPAA/DPAA2 for PA/VA Addressing
Date: Fri, 27 Apr 2018 22:50:55 +0530	[thread overview]
Message-ID: <20180427172058.26850-1-shreyansh.jain@nxp.com> (raw)
In-Reply-To: <20180427162556.22781-1-shreyansh.jain@nxp.com>

Once the hotplugging (6b42f7563) patchset were merged, DPAA2 Physical
Addressing mode and DPAA observed drastic performance drop (~95%)
This was because of an inherent assumption while doing some memory
translation that memsegs would be physically contiguous

This series attempts to add a workaround for that - a intermediary
one while complete solution is integrated

This work around creates a linked list of referenced buffers and
attempts to search through it during physical to virtual translations.

:Change history:

v2:
 - fixed spelling mistakes in patch as commit

Shreyansh Jain (3):
  crypto/dpaa_sec: remove ctx based offset for PA-VA conversion
  bus/fslmc: optimize physical to virtual address searching
  bus/dpaa: optimize physical to virtual address searching

 drivers/bus/dpaa/rte_dpaa_bus.h          | 27 +++++++++++++++++-
 drivers/bus/fslmc/portal/dpaa2_hw_pvt.h  | 23 +++++++++++++++
 drivers/crypto/dpaa_sec/dpaa_sec.c       | 49 +++++++++++++-------------------
 drivers/mempool/dpaa/dpaa_mempool.c      | 33 ++++++++++++++++++++-
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 43 ++++++++++++++++++++++++++++
 5 files changed, 144 insertions(+), 31 deletions(-)

-- 
2.14.1

  parent reply	other threads:[~2018-04-27 17:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27 16:25 [dpdk-dev] [PATCH " Shreyansh Jain
2018-04-27 16:25 ` [dpdk-dev] [PATCH 1/3] crypto/dpaa_sec: remove ctx based offset for PA-VA conversion Shreyansh Jain
2018-04-27 16:25 ` [dpdk-dev] [PATCH 2/3] bus/fslmc: optimize physical to virtual address searching Shreyansh Jain
2018-04-27 16:25 ` [dpdk-dev] [PATCH 3/3] bus/dpaa: " Shreyansh Jain
2018-04-27 17:20 ` Shreyansh Jain [this message]
2018-04-27 17:20   ` [dpdk-dev] [PATCH v2 1/3] crypto/dpaa_sec: remove ctx based offset for PA-VA conversion Shreyansh Jain
2018-04-27 17:20   ` [dpdk-dev] [PATCH v2 2/3] bus/fslmc: optimize physical to virtual address searching Shreyansh Jain
2018-04-27 18:49     ` Thomas Monjalon
2018-04-27 19:24       ` Thomas Monjalon
2018-04-27 17:20   ` [dpdk-dev] [PATCH v2 3/3] bus/dpaa: " Shreyansh Jain
2018-04-27 19:32     ` Thomas Monjalon
2018-04-27 19:38   ` [dpdk-dev] [PATCH v2 0/3] Optimization for DPAA/DPAA2 for PA/VA Addressing Thomas Monjalon

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=20180427172058.26850-1-shreyansh.jain@nxp.com \
    --to=shreyansh.jain@nxp.com \
    --cc=akhil.goyal@nxp.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=thomas@monjalon.net \
    /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).