From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by dpdk.org (Postfix) with ESMTP id A49D4B36D for ; Sun, 31 Aug 2014 10:22:44 +0200 (CEST) Received: by mail-la0-f54.google.com with SMTP id b17so4715841lan.27 for ; Sun, 31 Aug 2014 01:27:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oXtnNpRTDxKuIQ/R1KXEe6Ykva9IDV+HfnANz/Uc010=; b=E3fX4fSw1RLOkCij1bcMtcyl+3QTCvMBiLR0QfYNxhM5gdqTnVOL+U2a7xUEtz2s1d 3o1t2FnDrEg+XNrubul/pwS/gpVMiDFJN5kv76apxY4CoNPAuNicI4C7+/blxxODm3vw h4KH7h2KM92Of6bM80wJMHIg9zhJi2ug5aI5bpcgd4zII7l4N+jgt2Ku0NY8Qi7mNSws jQRrdPq/4w5lJSusmpijqeJQCJVBqwYaj50Hu0zvGsP70WtaPg8PE9iGhz1vWqHOZIqi 3qmfo4SlYkSCqBRidpp9RhKk8s6VGvtspwAHaUvTIWCJ3hZheE5vlJAlyxC3lMKF56/1 Ju5Q== X-Gm-Message-State: ALoCoQkP7zutcXvZdEc2LTFfGdjMd0xq/YhRVfTitFIzPRswFgQ7slMQ7e5Eg+b+9KKVDb6pPIeU MIME-Version: 1.0 X-Received: by 10.152.205.5 with SMTP id lc5mr3181006lac.45.1409473625761; Sun, 31 Aug 2014 01:27:05 -0700 (PDT) Received: by 10.25.80.208 with HTTP; Sun, 31 Aug 2014 01:27:05 -0700 (PDT) In-Reply-To: <1971750.bXvAyT2929@xps13> References: <1971750.bXvAyT2929@xps13> Date: Sun, 31 Aug 2014 11:27:05 +0300 Message-ID: From: Alex Markuze To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" , "Saygin, Artur" Subject: Re: [dpdk-dev] DPDK and custom memory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 08:22:44 -0000 Artur, I don't have the details of what you are trying to achieve, but it sounds like something that is covered by IOMMU, SW or HW. The IOMMU creates an iova (I/O Virtual address) the nic can access the range is controlled with flags passed to the dma_map functions. So I understand your question this way, How does the DPDK work with IOMMU enabled system and can you influence the mapping? On Sat, Aug 30, 2014 at 4:03 PM, Thomas Monjalon wrote: > Hello, > > 2014-08-29 18:40, Saygin, Artur: >> Imagine a PMD for an FPGA-based NIC that is limited to accessing certain >> memory regions . > > Does it mean Intel is making an FPGA-based NIC? > >> Is there a way to make DPDK use that exact memory? > > Maybe I don't understand the question well, because it doesn't seem really > different of what other PMDs do. > Assuming your NIC is PCI, you can access it via uio (igb_uio) or VFIO. > >> Perhaps this is more of a hugetlbfs question than DPDK but I thought I'd >> start here. > > It's a pleasure to receive new drivers. > Welcome here :) > > -- > Thomas