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 10FCAA00BE; Wed, 30 Oct 2019 10:24:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 962F51BF55; Wed, 30 Oct 2019 10:24:34 +0100 (CET) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by dpdk.org (Postfix) with ESMTP id 33F361BEF7 for ; Wed, 30 Oct 2019 10:24:33 +0100 (CET) Received: by mail-io1-f68.google.com with SMTP id w12so1666592iol.11 for ; Wed, 30 Oct 2019 02:24:33 -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=ceSWFQhYHNbcuBjCSnqCNRrT9z9hTdhx2QnBcPwCyIM=; b=mvhy6p1Vn3fEoqVUCVvavo/9d4sLaOGiZ2MaUhW5oRIWdL0mcl26DqZ76ttWsX7mal n0PoHVJ8PUBoKxNZ8DfB6xby444IoFyNhnZ4DDHYGCHbcGCFL49ik9ZO7oa0TkvC+Ewf JvtEjh7YfGO3xhYA9WMyBlvdHjNLS3RxwGuEoTI6Dm3X+TDeaKnYQJ8pO99/2cBZf9vm Q8EcRNScX7o1tUI5NVJ8sKhVT/iVjVSHU9r5G3lhm/tHJLv4chK2oU5TecV84QReRxJ3 iQrBAtfM/cO268EcYbr1P6ujtrI0zykis2YaM6Ha+YRLWoMHgPD9MC6weYCZnm9IB/38 XXYw== 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=ceSWFQhYHNbcuBjCSnqCNRrT9z9hTdhx2QnBcPwCyIM=; b=hFsPuBOFQrWHSEMa1B7DjSOZJYdlPhYKP5tmVx1mAdzp9IckBN4njGdL4I5ei1F1rd 5sAWk2EyTZvMFKxEa/8QAB+7Xr2JTIPLVheAmXHHP1SDXeUN6WRB8pK8Zzir74vM8W7A Hwh6aWzunsfcYi9kvOTPA+XUPSqwFdSeuN9QAuDM0KWvCl1r3mADELiKsZVdnj5RlV4w XYM8yiGH5HMN2O+oJE6q8eFAEaLfVT6G3EZbf37i28ayUFUZVVZHME8cYiIxreH4UPh9 0Rbw5YBdKkYHn94Is6nr2w3OtkyaxyOmjUGScvanoTG333deg6OyXgTdMFFiVfzloIMq Uq3Q== X-Gm-Message-State: APjAAAU3Up0euQZT4BereJpLybJy1JSVKLwmdJTiX3AZ0ZSkkSNobhJP +RHkoVRxU+eZDxvZzq0O7VVViyzFA+yNFNr5Afs= X-Google-Smtp-Source: APXvYqxxdw/45Ofbr/LzbCn8ljjaf+3ASOjAKGYYqojYcGoMa4V5Tgu0/ExCcbpWDwFC2W3RMeGGb6b7OU2APTIDkWM= X-Received: by 2002:a6b:7609:: with SMTP id g9mr8597575iom.130.1572427472307; Wed, 30 Oct 2019 02:24:32 -0700 (PDT) MIME-Version: 1.0 References: <4165509.5enYigmRGf@xps> <20191029185051.32203-1-thomas@monjalon.net> In-Reply-To: From: Jerin Jacob Date: Wed, 30 Oct 2019 14:54:16 +0530 Message-ID: To: Shahaf Shuler Cc: Thomas Monjalon , Stephen Hemminger , Andrew Rybchenko , Ferruh Yigit , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 0/3] ethdev: configure SR-IOV VF from host 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 Wed, Oct 30, 2019 at 12:52 PM Shahaf Shuler wrote: > > Wednesday, October 30, 2019 6:09 AM, Jerin Jacob: > > Subject: Re: [dpdk-dev] [PATCH v2 0/3] ethdev: configure SR-IOV VF from > > host > > > > On Wed, Oct 30, 2019 at 12:21 AM Thomas Monjalon > > wrote: > > > > > > In a virtual environment, the network controller may have to configure > > > some SR-IOV VF parameters for security reasons. > > > > Just to understand, Could you explain more details/examples for security > > reasons? > > > > > > > > When the PF (host port) is driven by DPDK (OVS-DPDK case), we face two > > > different cases: > > > - driver is bifurcated (Mellanox case), > > > so the VF can be configured via the kernel. > > > - driver is on top of UIO or VFIO, so DPDK API is required, > > > > Not true. Both UIO and VFIO are NOT allowed to create SRIOV VF from the > > PF device. > > It is only allowed through igb-uio out of tree driver without iommu support. > > Per my understanding Thomas proposal is not to create the VFs from the PF device. it is to configure their network attributes from the PF after they have been created. Yes. My question is without creating the VF, How do you control them?