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 2327AA0A02 for ; Fri, 21 May 2021 00:35:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A423240143; Fri, 21 May 2021 00:34:59 +0200 (CEST) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id 5E62A40041 for ; Fri, 21 May 2021 00:34:58 +0200 (CEST) Received: by mail-pj1-f49.google.com with SMTP id gb21-20020a17090b0615b029015d1a863a91so6255221pjb.2 for ; Thu, 20 May 2021 15:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DPTrs/oCK2E6459sPhzRMRAEick62JiztKonhSvQYNs=; b=Ff2LSXoXN9g03eQWp4ygl6UB4t2VjWax5KGAmPgytSUBtF4RHtx2GcnWcL9qVOGew0 8YoQefxo+ow2lx7z4sYpWL105kYfzxMqgIHh9VHCjFLOLv794lRwkLgcQ5N05Xj4ur6m N7IDBWjtAIkC90wkRuCF9xMyAGdd+pa3wvce/fqUmYjSMkm5gyeIQ5wgSXHO9J2S1hnm 9aNylXMFu0ekCBmjpkZlo7Wo9aXx3lYVsy5MluSNMKs3KLoKzjnKQgezbtDjDT32ohh2 15mQP0jJazfv/zfzMTxgfDRLthODlfICHfCcNjGoOvv8x48UbWoD7cVpP2Y8tnwJvzfo +ftA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DPTrs/oCK2E6459sPhzRMRAEick62JiztKonhSvQYNs=; b=erOOHRkyDEMk/L12HBFDPUZI1J5pxeKWdEtuusADewXSH81jYEqRrlupTFH4jWkIkU d+5BgOSzs27DU4Uvb/18UA3P/9DX2huP53JohOgRPrHJVO8qXpo/0xOO11d9y+tZ5ED9 HKEAgRxa/i7S8UDzKG92cQ3VFOZnJ9PvtJBHpqFOy0YH3PLhpdza6lTcznG9twF6L8U3 8kV9rrlPmHfCQLo3JWl9dRu+mo/QDHHOnFYplB1fkqeXe2feLDNkrH9MeSvZA0A1hdiz yMzhHvCG8n4pv7LeRF/28MwSpUzyCBmcr6OorKCLm8PFvSIc69UW8dleYZtgg7bAOhzu /RZw== X-Gm-Message-State: AOAM533hOE/Su3HNmQLbO+3CiF4Damk/I/aRE4HAW04eAIxpP7FesE9/ s6sBIR69YeupHp5g685s53BQrw== X-Google-Smtp-Source: ABdhPJznTo5YxgVejkWF/H8RScdHxD7U0oMiKRowUQduQKtFGWgnKj9Fv3yM1ZgV5XiF6QeQPDvjRw== X-Received: by 2002:a17:90a:fe84:: with SMTP id co4mr7145666pjb.0.1621550097316; Thu, 20 May 2021 15:34:57 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id q18sm2844683pfj.131.2021.05.20.15.34.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 15:34:57 -0700 (PDT) Date: Thu, 20 May 2021 15:34:49 -0700 From: Stephen Hemminger To: Sudharshan Krishnakumar Cc: users@dpdk.org Message-ID: <20210520153449.1970527b@hermes.local> In-Reply-To: References: <20210520135418.21ee4d11@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] access to different ports on the same NIC by 2 DPDK applications X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Thu, 20 May 2021 14:19:13 -0700 Sudharshan Krishnakumar wrote: > Thanks for your inputs. So, does this mean, when ports are bound to VFIO > driver(which uses IOMMU), we can > run 2 DPDK apps concurrently, only if the 2 apps are accessing ports on 2 > different Network cards. > In other words, when ports are bound to VFIO driver, if 2 DPDK apps are > running concurrently on the same system, > then we need 2 Network cards installed on that system. > So, I am guessing with 2 Network cards, under /dev, they would enumerate as > 2 distinct paths, for example-> /dev/vfio/1 and /dev/vfio/2. > Is this a correct understanding, please let me know. Groups are explained here. https://www.kernel.org/doc/Documentation/vfio.txt The VFIO is about isolation and if two processes are trying to use the same group they are not isolated.