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 7836EA0C41; Wed, 12 May 2021 17:30:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F8174003F; Wed, 12 May 2021 17:30:46 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id ECB584003E; Wed, 12 May 2021 17:30:44 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5D8895C017E; Wed, 12 May 2021 11:30:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 12 May 2021 11:30:44 -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= LCkGbsXOb2C8W15aX322PxycxY08jcKhip+g0dExAAk=; b=44CuCQoCRsVtIvnE DDE5dAQILvi8L1bEY5KyLxMiVYd9/zg98wpXCe1NyMTA9ggCVGr+WKMbHkF2ZsYq gBXSVSMSv40OmRLZHPKJboxYd63bAwAGktXfhFm2DzcNPp4Au6EFiFel5qKnEJD0 tgPU0fAkAfqMx7KqAhRRqS6zOMERxn/+j1wEFEKPnWopjy1akMtPd2Epe/jWGxQ2 HtREgNls8J5bezF3pkkDxSwvty9JzWYmxNU1/LpEZA7/XnDCK4a5nkb7IHwRfUZG YdH3g9adHrPKlWzdSWvUAsUZ9nY73GIWkenwcMXwGyr44JgKPSNW5FV/m09dRnDn 8pgsAw== 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=fm2; bh=LCkGbsXOb2C8W15aX322PxycxY08jcKhip+g0dExA Ak=; b=EjfWOcnhvaAZLJS9GZiQtTLoJRgHMClEwX/maD82v83nh3ZlamCPaeDwl cbFy0nWMRSr3UIYh+rKQZRB4uQvgMVqbSUFcxmjGu5mPLBBQxcPDI5oWieilStQX CS++KEdyr6jzVRnWZdo37xN23WLyTQGCuA7XLIPodbH5tjSt3Ew5XJQLa7Ez2Pbp Rea+Aco/r/2vOlMURimooUiIlWqDcidJkfoN74IkZhqKGqu7eq4PZlLNc+ZXI1PV XxSjZ+QOo2iUIKDqBL+dPyx+4Q845YdfgYBKAcVhGzNBErIL13jKvFakI783SbyY qXZB3F7RtqjEM0MTSSHNh6GxUU8kA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 May 2021 11:30:43 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: Slava Ovsiienko , Matan Azrad , "dev@dpdk.org" , Ori Kam , Raslan Darawsheh , "stable@dpdk.org" Date: Wed, 12 May 2021 17:30:41 +0200 Message-ID: <3137360.tEDzu0CzRi@thomas> In-Reply-To: References: <20210512143607.3982046-1-bingz@nvidia.com> <8026201.zdneIxqaXz@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix loopback for DV queue 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" 12/05/2021 16:51, Bing Zhao: > From: Thomas Monjalon > > 12/05/2021 16:36, Bing Zhao: > > > When switching to the Devx interface, the kernel driver behavior > > may > > > > What do you mean by "switching"? > > I mean when changing the Rxq from Verbs API to Devx API. How do we switch? > > > be different from using Verbs. The Tx loopback cannot work > > properly > > > even if the Tx and Rx queues are configured with loopback > > attribute. > > > To support self loopback for Tx, a Verbs dummy queue pair needs to > > be > > > created to trigger the kernel to enable the loopback. > > > > > > This is only required when TIR is created for Rx and loopback is > > > needed. Only CQ and QP are needed for this case, no WQ(RQ) needs > > to be > > > created.