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 62277A0A0E; Wed, 12 May 2021 16:48:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFEED4003F; Wed, 12 May 2021 16:48:45 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 862CB4003E; Wed, 12 May 2021 16:48:44 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 341A15C00F9; Wed, 12 May 2021 10:48:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 12 May 2021 10:48: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= QaMD8QHRR4ReF1e+QiVvb9qcs4orMdLZXdmVb6tvQyo=; b=w9rLHU3XIBImT+qO 03lSjwh0MPNfaAY40+Ds4kRNpVBg+cDd5lBvjofF4HLgXc9Q/qsqYdUFG63dD3/g XVtAie7R7LmPFat4I4+Hx+YJgF6mALGESM+K884Nk4cDLLUfN9/dfzWTG8skN/pv oIHm5QH+EMZDwsvJjsAQ4prLAvC8jH1IJrdyOYlDRbqHmhrCNevaHdxhSN3ZuwBA 2UVG0DwoEPOrlIOkRRHHNV/id0vDanUMO7FmQWGI3vty4hR2pdtjk9CXTOCfiN5A lX01+apTHPXdxus6O0pRgWBNeiLQ635qNCEUsXStpYfS0DbZhexFa4uOdEBYJw5P wVaa8w== 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=QaMD8QHRR4ReF1e+QiVvb9qcs4orMdLZXdmVb6tvQ yo=; b=q1zrxfEx8l3UfqMCj7gecQqupMDel/7wL5mLSjztGTDoJDaCrIuzW/p/Q JTx+lTB26ake8XVrGjyoAozTZN8VeHDCE/DIz8CCh/wjGRmfpGZw9UQ+3wSB+M+8 QWjH6/g0eFkx5ccNkgipSHNbVslU1m0zNvpNgDJ3dy8sU5vBlrXsK6+v5cHE3J8U JPcEVhgCfXpgP2HghYAWaXAEEGddlK0cUl1PMCbE1IovPIrbCFdl3vUf/q2lEZ7g zXKrRh8NfYwts+2mZWp1ywpBxKgUSpIso5yDlBGHmCr9sI+WUAB2W8Zr+Yk0bf1C +qc4t96j5S992kAK0CsXw0LbzVepw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 10:48:42 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: viacheslavo@nvidia.com, matan@nvidia.com, dev@dpdk.org, orika@nvidia.com, rasland@nvidia.com, stable@dpdk.org Date: Wed, 12 May 2021 16:48:41 +0200 Message-ID: <8026201.zdneIxqaXz@thomas> In-Reply-To: <20210512143607.3982046-1-bingz@nvidia.com> References: <20210512143607.3982046-1-bingz@nvidia.com> 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:36, Bing Zhao: > When switching to the Devx interface, the kernel driver behavior may What do you mean by "switching"? > 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. > > This requirement comes from bugzilla 312, more details can refer to: It is not 312. > https://bugs.dpdk.org/show_bug.cgi?id=645 You can remove above lines, because the tag below is enough. > > Bugzilla ID: 645 > > Fixes: 6deb19e1b2d2 ("net/mlx5: separate Rx queue object creations") > Cc: stable@dpdk.org > > Signed-off-by: Bing Zhao > Acked-by: Viacheslav Ovsiienko