From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B7202A0353; Mon, 18 Nov 2019 15:05:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 75E87B62; Mon, 18 Nov 2019 15:05:15 +0100 (CET) Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) by dpdk.org (Postfix) with ESMTP id A11D59E4 for ; Mon, 18 Nov 2019 15:05:14 +0100 (CET) Received: by mail-il1-f195.google.com with SMTP id m5so16110465ilq.0 for ; Mon, 18 Nov 2019 06:05:14 -0800 (PST) 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=Xg5JAmCsvRoVzUWhw1dUh0IJfPl09iSJ49f56ygFah4=; b=rp27SHyVQooWmf6iej9npCO19WCbqCW+VlJ80Pq5m5pX4+bkm4KXAjpHp8DaWWT/ut 5Hqa5g637wXDT02VaO1Fv8MlKSfiIok0w6d3rBJJBir+Dn1POQFjKTqjpp6qULJeTfVG gvbP7b8VT8yGdLODgQbixxTXO+zwsAaQTIXWdgQeCDpV9S4/nSbeZxFl2w7WdvWW/upB zGplWMcRb2gNj72CBUPPO5vJZmRjyA+VBziu03EtgzmSgjM7RqP+74KJSdbZMUfMabjY HLiLIZr23IRGEsKo8zdw9tF2joxWiIq40S9ySfygZfMgGHAq/fAqd5LzWfonsgL03xzN 9EEw== 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=Xg5JAmCsvRoVzUWhw1dUh0IJfPl09iSJ49f56ygFah4=; b=La1P6uub3yP/glOD0x256P1NkR+GlspveYuWQcmFdMxXokDzUMhJn5apd0wiIMwVkp rTIvyF9LjKePJ6pmfc0u0zpS40cctxCHFxYyt72J0fSzGYQ7pVaG8lWP9EFOcRAexGLj kAmBVXkimXayTw584nXXUJGGEAEI69ubBjZUA2TzyFNrQE2ysqxeCRJBMG43Fv9oLHps JIIR8Aw/E78QSCV2y6rpFlcYQ28kFeQNFq7dtMrWuOCfw8/jOA52RitsuyCOfLZgiiyq BPXUSDzVJ22FGZG/dC44YlKSk5cg3fqUoDjxj7DozclqGAkgJ1hXz0uYzPRxF3lLYQkx TlUA== X-Gm-Message-State: APjAAAWwKg3S7BnBcf1hs1RBiZmEbZSoALQVFSLyZw6m6VYXc3qCu+xp oVxt+1FHTMR0qtqKA+/v+f8UVLctYMdZ/4r/Dr0= X-Google-Smtp-Source: APXvYqyWdL4QL8H5WfRJFbPJe06OidzT9YBcieE3YRl2jIV4qxNXzDGQzDr10YefCgLURv9T016L3Jj7d5BdN1lJTHM= X-Received: by 2002:a92:5e49:: with SMTP id s70mr16920403ilb.130.1574085913637; Mon, 18 Nov 2019 06:05:13 -0800 (PST) MIME-Version: 1.0 References: <20191117151244.3854-1-david.marchand@redhat.com> <20191117151244.3854-3-david.marchand@redhat.com> In-Reply-To: <20191117151244.3854-3-david.marchand@redhat.com> From: Jerin Jacob Date: Mon, 18 Nov 2019 19:34:57 +0530 Message-ID: To: David Marchand Cc: dpdk-dev , Thomas Monjalon , Kiran Kumar K , Olivier Matz , Ferruh Yigit , Anatoly Burakov , Andrew Rybchenko , Stephen Hemminger , Vamsi Attunuru Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v15 2/2] eal/linux: remove KNI restriction on IOVA X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Sun, Nov 17, 2019 at 8:43 PM David Marchand wrote: > > From: Vamsi Attunuru > > Now that KNI supports VA (with kernel versions starting 4.6.0), we can > accept IOVA as VA, but KNI must be configured for this. > Pass iova_mode when creating KNI netdevs. > > So far, IOVA detection policy forced IOVA as PA when KNI is loaded, > whatever the buses IOVA requirements were. > > We can now use IOVA as VA, but this comes with a cost in KNI. > When no constraint is expressed by the buses, keep the current behavior > of choosing PA. > > Note: this change supposes that dpdk is built on the same kernel than > the target system kernel; no objection has been expressed on this topic. > > Signed-off-by: Vamsi Attunuru > Signed-off-by: Kiran Kumar K > Signed-off-by: David Marchand Reviewed-by: Jerin Jacob