All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oza Oza <oza.oza at broadcom.com>
To: spdk@lists.01.org
Subject: [SPDK] restricting SPDK/DPDK memory allcoation
Date: Thu, 27 Apr 2017 01:29:27 +0530	[thread overview]
Message-ID: <589f84d7e49799c7faa41d6cb111fceb@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Hi,



How do I ask SPDK/DPDK to restrict the iova and phys_addr allocation to
first 128 GB of its address space ?



In short I want to restrict



Function: vfio_type1_dma_map

dma_map.vaddr = ms[i].addr_64;

dma_map.iova = ms[i].phys_addr;



iova address which gets programmed in iommu restricted to first 128 GB of
space ?



I am using ARM64 port, but it should not have anything to do with
architecture anyway.



Regards,

Oza.

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1873 bytes --]

             reply	other threads:[~2017-04-26 19:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26 19:59 Oza Oza [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-26 20:01 [SPDK] restricting SPDK/DPDK memory allcoation Oza Oza

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=589f84d7e49799c7faa41d6cb111fceb@mail.gmail.com \
    --to=spdk@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.