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 99BECA052A; Wed, 27 Jan 2021 18:43:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8801314100E; Wed, 27 Jan 2021 18:43:40 +0100 (CET) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by mails.dpdk.org (Postfix) with ESMTP id 6BC75141018 for ; Wed, 27 Jan 2021 18:43:39 +0100 (CET) Received: by mail-qt1-f175.google.com with SMTP id e15so1997179qte.9 for ; Wed, 27 Jan 2021 09:43:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QPkumR783gu+ch6RB8ezS4mb7qQgnzGXHI/xpS5OJXk=; b=EsxmHOAGMDukRQQgGzM98fopmsQQlX5As1EA9rqH2eDbfY+zF5VuQsVFCoD6HQSmla k7TxG7tHTH4PXyIV6V6Irq6PrkfmInLHarUAPkUAcIELYU6WqKZAdH+aSeJErTe75gqc 0RIC8InsveL/9JDpONOBS6I9AGR2X1m+hzeqo= 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=QPkumR783gu+ch6RB8ezS4mb7qQgnzGXHI/xpS5OJXk=; b=Hs6xji7u5MjBcgk++TDpywjO3HzueUc+9wNfabuT6aBBRaUjXp8eUrhpZ/nASfP9Bi DKxxeN0NOPDkqprBgdTjqTMD2HMwpu7t7wTDVbQohwNVuu/WJek+ag3D+/fuiwnOCmMl V9gAVFNYvvhMWGPWI+Sh4gCW6BDTxHx7OtpXedzrS2xETEKmKRXIS/67MOudGRWJpuvE opbpVyO/bqV0p9omjSLgTTxFkQX/DI6eLJA2o50tp+dH9FVM//CQiRq43fNp0aSpXbjq +U7feNbhpATOoUNzj9k6/PTe5thCoeuGB1lu6N3vo7zuwgcNbe8Hffksrs7oJ1Ey2muj 4SzQ== X-Gm-Message-State: AOAM532gFNk+ktn6+G25lrwfacKo0rjys0gFrwL+qQ/Z7WNU/qE097gq +culSEHrjI3Bd/yxVnKXUNulfuxAm0rQnpQuWdcZNWN0U1Q= X-Google-Smtp-Source: ABdhPJzmqnglzsYkn6/Gy2RFIHm8rRrgEEVxRi5Oyjf2wtsetpc5IochCE5GgaN5tSbi3oatOW4AAg1719MrA7CE/a8= X-Received: by 2002:ac8:ecc:: with SMTP id w12mr10703309qti.371.1611769418636; Wed, 27 Jan 2021 09:43:38 -0800 (PST) MIME-Version: 1.0 References: <1608303356-13089-2-git-send-email-xuemingl@nvidia.com> <1611040409-11548-1-git-send-email-xuemingl@nvidia.com> <27ae1146-50a9-7a56-bce8-b93740927389@oktetlabs.ru> <8afffbdd-c822-bf63-8c74-a77fe78002f8@oktetlabs.ru> In-Reply-To: From: Ajit Khaparde Date: Wed, 27 Jan 2021 09:43:21 -0800 Message-ID: To: "Xueming(Steven) Li" Cc: Andrew Rybchenko , "dev@dpdk.org" , Slava Ovsiienko , Asaf Penso Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000af0c7505b9e54f88" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v5 0/9] ethdev: support SubFunction representor 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" --000000000000af0c7505b9e54f88 Content-Type: text/plain; charset="UTF-8" On Tue, Jan 26, 2021 at 7:05 PM Xueming(Steven) Li wrote: > ::::[snip]:::: > The patch of device SF capability, but seems I misunderstood your suggestion. > Let me explain process to create a SF: > 1. SF can be created on the fly with scripts, unlike VF which is statically pre-created. > 2. SF is created on a PF with a SF number. SF number is named per PF, different PF may have same SF number. > 3. For standalone PF, hot plug to DPDK using "PF#_BDF,representor=sf#", no need to use pf#sf# here. > 4. For bonding netdev, hot plug to DPDK using "PF0_BDF,representor=pf#sf#" > If using new api to return all representor IDs, need some way locate the new created SF by PF and SF number, > that's why "pf#sf#" is used in this patch set. > > In the future, I think representor could be processed by PMD, so PMD could have enough flexibility > to support more device expressions and types. But that will introduce a fundamental change of devargs and > device management, need a full plan. Do you mean all changes will be contained within the PMD? The fundamental changes will be in the PMD? More types of what? > > > > >Andrew. > --000000000000af0c7505b9e54f88--