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 5E406A0C45; Thu, 10 Jun 2021 15:23:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D60234067C; Thu, 10 Jun 2021 15:23:17 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 93C5B4003C for ; Thu, 10 Jun 2021 15:23:16 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 222685C012F; Thu, 10 Jun 2021 09:23:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 10 Jun 2021 09:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= VQ7Ns09sdWJt97gfSkkdhGFBaeyVLSb2tbinFdasZlw=; b=pqOY1YClnjuPotgT jjl9mLMwUJewXk2R5dB6R+bkvPDdGMc3y2khJoaOHRFDl1KGu4aKD0Cbf6ZVDPT4 wWV4/sAMCU4BnGOQHztAO6ULhgM4nuOXCUC13PoO7E9hC9inwLMHRo1c7jT5BvgR YvynhW83cvqG39tU5+J1nYif7OHdhWnCvAbgoAGwrxpIBADOEvccppqciYImyOSg +tfgkQCz/r3Wql2VR9Z70UQis4jvMhgZ3zb74e9fxZbUSWURV+6ebYIHOa8oMsag IpihkxYvqwbrxFYu0Ar4YVnCHKBZma1irZTvLuEvNIlF2mNp999RAJXBbmYzyuNm nRhbug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=VQ7Ns09sdWJt97gfSkkdhGFBaeyVLSb2tbinFdasZ lw=; b=H+vRgUl1gCGcsxMEoRLUe+3TVwgzWNOTp5s4jdCXXuFzQPLeG837EQJq+ FkPic5d9VQm2frLHBapfTzbiMKX6XSfH9tXwuR4zCzqmP1LGFIbNw6SPX6HeOUZ2 gK+nlJZQ3uwcv/2kBfa4Un5en2Q+uW/hTlLrTMkYVFVKLPCKiD7wf66WugOlWtA/ VaOrP9/46/Cy7odldYZN+B5uHmMwEYC39qHUNJuQN2EO/qUg3aLo6NY2/Li1MMRX fQ1MILi5ce6nofr5uXJXMkip9SNLTSbdr92TKTheMTix0n63E8sSgStTU0rXUuao lurVpgwhbATiHUVU97KSN7RsfxEjQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedufedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Jun 2021 09:23:12 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit Cc: Xueming Li , Viacheslav Ovsiienko , dev@dpdk.org, Chenbo Xia Date: Thu, 10 Jun 2021 15:23:10 +0200 Message-ID: <3858146.r4qRVYXuaD@thomas> In-Reply-To: References: <20210527133759.17401-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [RFC 00/14] mlx5: support SubFunction 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" 10/06/2021 12:33, Ferruh Yigit: > On 5/27/2021 2:37 PM, Xueming Li wrote: > > SubFunction [1] is a portion of the PCI device, a SF netdev has its own > > dedicated queues(txq, rxq). A SF shares PCI level resources with other > > SFs and/or with its parent PCI function. Auxiliary bus is the > > fundamental of SF. > > > > This patch set introduces SubFunction support for mlx5 PMD driver > > including class net, regex, vdpa and compress. > > > > There is already an mdev patch, originated from long ago. Aren't subfunctions > presented as mdev device? If so can't we use mdev for it? No unfortunately that's different. mlx5 SF is based on top of auxiliary bus in the kernel/sysfs.