From: Oza Oza <oza.oza at broadcom.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] restricting SPDK/DPDK memory allcoation
Date: Thu, 27 Apr 2017 01:31:38 +0530 [thread overview]
Message-ID: <2df418ca70934352b90b542ecc5da2fa@mail.gmail.com> (raw)
In-Reply-To: 589f84d7e49799c7faa41d6cb111fceb@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]
I see that rte_eal_get_physmem_layout is the one gets physical memory
layout.
But not sure where does it get it from and if it depends on say 64bit
architecture or just some config !
*From:* Oza Oza [mailto:oza.oza(a)broadcom.com]
*Sent:* Thursday, April 27, 2017 1:29 AM
*To:* 'Storage Performance Development Kit'
*Subject:* restricting SPDK/DPDK memory allcoation
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: 2977 bytes --]
next reply other threads:[~2017-04-26 20:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-26 20:01 Oza Oza [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-04-26 19:59 [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=2df418ca70934352b90b542ecc5da2fa@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.