From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C3DC6A0548; Mon, 14 Jun 2021 05:33:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E5E94003F; Mon, 14 Jun 2021 05:33:03 +0200 (CEST) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by mails.dpdk.org (Postfix) with ESMTP id 9D7D04003E for ; Mon, 14 Jun 2021 05:33:02 +0200 (CEST) Received: by mail-io1-f47.google.com with SMTP id k16so38086359ios.10 for ; Sun, 13 Jun 2021 20:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y8lqKSWWhd6zHHMurBxX7m3jaramiwPhM5euFG6p4yk=; b=pqZOSzrWF2UJReMvcnHLa214ydVxCE8baWvoVNyB1Rmptxn3TVUWdBi/ViXnz23JrJ jOVeCHYEjIcnwNGPuu+yWpEVT7cqlUf/jJrfPhCJNuZNdzAIJbOuYx5JrF0gDlDNJICP vdQSrYF7mqc0T/RCEUQNnnA5vqRjPV5IETU/rtyNryrz2YsYuNkWMsCmgtu5UwpRmvu8 vL+zdBbIRtAgKZYNQWaWTNsSlzSus7yQgwE7fd6bdY3oaDsyJhofVL60PwM29GI4vWST Ey3xqa/M+ZfO3v1Uzg0gs1VhdMaTYcGkmf4K8YjGcyNi9TCnkK7hDo/C6sKcT10nI6SQ 1jAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y8lqKSWWhd6zHHMurBxX7m3jaramiwPhM5euFG6p4yk=; b=CuMTlbkmnh4YZ0bbX5BiNTcq2HJU3ghWvM3pgZ7zxYOtUz2qGlL8uu+Ds/jO+S36rp ahRoH4kACEYoL/xGD3KV6P5+gx4hiSfxJd+JXhJGMBxACwzjkSCCZzfu98XKHdMuikpy Q4SvG3pK2oQylNUSKNHtIfPYElLlvm93B1rM8WfXKkbixltJ1caUbz7h7hJlkGhEtpnp 4fkK8wsPikk9GguqXDW6hEj6sdiU2nY/B7CyLqZC98cdaUO0AwnJ3bQ0jqaxaQdjopff FM4ceFhEm8FaI10OdzsQDNIrI3+BDDT+0eLxxnAVn2ivxvMPWhCq2d9D0kO51O4QtZkt TgCw== X-Gm-Message-State: AOAM530XQZqFaGh0c8np18XEs9JOrp2Dtxdb1fiSLrCWQbep/rvXV6Ea DzwLfV8jOJdP28rF8U6icdcNusGKG0RRc2d6MD0= X-Google-Smtp-Source: ABdhPJwzo+ALiMIJ3gV2VUi9GSWYuc8+C4Lvw495J8FhubaWOzgNFkKbVZjxaDLJoIj3Bitfg/tgqBdG9DDS1TOy7ow= X-Received: by 2002:a05:6638:33a2:: with SMTP id h34mr14782893jav.60.1623641581944; Sun, 13 Jun 2021 20:33:01 -0700 (PDT) MIME-Version: 1.0 References: <20210306153404.10781-1-ndabilpuram@marvell.com> <20210607175943.31690-1-ndabilpuram@marvell.com> <20210607175943.31690-7-ndabilpuram@marvell.com> In-Reply-To: <20210607175943.31690-7-ndabilpuram@marvell.com> From: Jerin Jacob Date: Mon, 14 Jun 2021 09:02:46 +0530 Message-ID: To: Nithin Dabilpuram Cc: dpdk-dev , Jerin Jacob , Sunil Kumar Kori , Satha Koteswara Rao Kottidi , Pavan Nikhilesh , Kiran Kumar K , Satheesh Paul , Ashwin Sekhar Thalakalath Kottilveetil , Harman Kalra Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 06/62] common/cnxk: allocate lmt region in userspace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Jun 7, 2021 at 11:33 PM Nithin Dabilpuram wrote: > > From: Harman Kalra > > As per the new LMTST design, userspace shall allocate lmt region, > setup the DMA translation and share the IOVA with kernel via MBOX. > Kernel will convert this IOVA to physical memory and update the > LMT table entry with the same. > With this new design also shared mode (i.e. all pci funcs sharing > the LMT region allocated by primary/base pci func) is intact. > > Signed-off-by: Harman Kalra Reviewed-by: Jerin Jacob