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 C8FBDA0A03; Tue, 19 Jan 2021 08:53:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B684C140D06; Tue, 19 Jan 2021 08:53:16 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 7B74A140CEC for ; Tue, 19 Jan 2021 08:53:15 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 2EA8E7F56C; Tue, 19 Jan 2021 10:53:15 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 2EA8E7F56C DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1611042795; bh=Q0OJklKuKCs97WfWeP9mB3qi5v5WkvOkDqKm6j5QMFw=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=ti+etjK9ywDG7S3FP8felxK3QQu6fesmp50Zgb+EdVAIXYDLpZsxaA82jADeNQyAp jcK6oKxyUhM/gPY7lzv/kR3dSrQqsUSTr3/u++QTQrabI6TImYtjYPeoAJlPlj5oHI 0cPiG+rZS5zZEokGq2epGz7A9pAucCEd+4HERQkI= To: Xueming Li Cc: dev@dpdk.org, Viacheslav Ovsiienko , Asaf Penso , Thomas Monjalon , Ferruh Yigit References: <1611040501-11666-1-git-send-email-xuemingl@nvidia.com> <1611040501-11666-4-git-send-email-xuemingl@nvidia.com> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: Date: Tue, 19 Jan 2021 10:53:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <1611040501-11666-4-git-send-email-xuemingl@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 4/9] ethdev: support sub function 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" On 1/19/21 10:14 AM, Xueming Li wrote: > SubFunction is a portion of the PCI device, created on demand, a SF > netdev has its own dedicated queues(txq, rxq). A SF netdev supports > eswitch representation offload similar to existing PF and VF > representors. > > To support SF representor, this patch introduces new devargs syntax, > examples: > representor=sf0 - single SubFunction representor > representor=sf[1,3,5] - single list > representor=sf[0-3], - single range > representor=sf[0,2-6,8,10-12] - list with singles and ranges > > Signed-off-by: Xueming Li > Acked-by: Viacheslav Ovsiienko > Acked-by: Thomas Monjalon Acked-by: Andrew Rybchenko