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 2AE81A0C42 for ; Wed, 12 May 2021 18:03:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17473410E3; Wed, 12 May 2021 18:03:52 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 3801A4003E; Wed, 12 May 2021 18:03:50 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DC0FE5C0067; Wed, 12 May 2021 12:03:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 12 May 2021 12:03:49 -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= 96GU2ErZVysuMc82FiTPxZ4tHKmqSjkhso0UWl9kE1U=; b=t3z6XeivQ7n8PCuo /rnR0oeUBmq2TAb/GrW01w1hGCyIfQhzdxrNxUdfqVil1/tyfd6FvmmGi/0nW4Sy Cc4K23/6d+rXNKGtKb5HMwqqZI41Jxo5moLzAy7jbkQfdBJHzg6SCRS6SWydNvbl MCVBM2mXBzP+9TSh4MaDHDMQJYIf+u2MBhIR3veherv8jTU2+h/X7wieRGHJg85N btA4me+q5QkACL4ZE54Gr1cRK2P1kLH/q9pGkkONptD/CIjlutziKulCX9eV0Zzv srY2homu1aJgdQPPHh3XciEhxCxP0wHR3+drBQ/FOA66/G9ovLU8vxQG28YK8lii bcITtg== 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=96GU2ErZVysuMc82FiTPxZ4tHKmqSjkhso0UWl9kE 1U=; b=TzndB5l9wL/iP5AHfHRUL3X2G2md3O73bAPUthlc8BJSveITXD20Ytoqa EPy7rMCn08gMVs+rUNmqEB02oOBhH2N9XPqrKa6vM6PKyNijl1sI+oRSKp6l2RRO /QVSBwntXn95wqvisfjuqtJ8NbwVA5KCcg3HCFLuJAOAHnqk+nrFN06yODmPhl20 MqofnyNbMpIZHmatdDfT03IOfg4WJww+EA6yAF4ccgNZ/fYdj8bN0+ibcbgATbza g6MnJFXSpBaEoFXwGd9yB8SWZU/LG62f6+EYjJQU5opoZsapjXCIhHtfgOEZ6yZX hxb2n14EYRomILMd9W/n5KNsvJW8g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddgleefucetufdoteggodetrfdotf 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 12:03:48 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao , Slava Ovsiienko Cc: Matan Azrad , "dev@dpdk.org" , Ori Kam , Raslan Darawsheh , "stable@dpdk.org" Date: Wed, 12 May 2021 18:03:47 +0200 Message-ID: <1775628.LvkAriOW2H@thomas> In-Reply-To: References: <20210512143607.3982046-1-bingz@nvidia.com> <3137360.tEDzu0CzRi@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix loopback for DV queue X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 12/05/2021 17:48, Slava Ovsiienko: > Hi, Thomas > > > How do we switch? > > Historically mlx5 created Queues and other HW objects with Verbs. > Now we are migrating ("switched") to DevX - queues are being created with DevX calls. > If there is no E-Switch - the new DevX approach is engaged, > for E-Switch configurations we still use Verbs. OK this is what I thought, but it is not clear in the commit message. We could think it is the user switching a queue :) Please reword by comparing Verbs and DevX without saying "switch". > From: Thomas Monjalon > > 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. > > > > > > > > > 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.