From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF2D4C433EF for ; Tue, 24 May 2022 19:08:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240714AbiEXTIg (ORCPT ); Tue, 24 May 2022 15:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241035AbiEXTIc (ORCPT ); Tue, 24 May 2022 15:08:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B23DF37AB9 for ; Tue, 24 May 2022 12:08:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FD4E615CA for ; Tue, 24 May 2022 19:08:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39D79C34100; Tue, 24 May 2022 19:08:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653419304; bh=1x0vjZbu9k1vEgkUxM8Y0LIZUsxy5Fmjrcim68Q+2c4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s5G4aUBmLzX5rIsR2u1O1ucVpRtulBYrj7lrb9RaFh2MsyO7egCUaDZXEwXiFzeIW ej1FxaXUl2YOufB9x+EN5I3nEKhP+HfG2zEaIijEDY2xi0yImhBBZdgkJH4GWrE6kp F1yVtRAfsbh+kQtKSZFfMHRRcr+ilrSTDdrjUIp6QSFhw6sh+jMzQOoZnltc+Vvvll 4nvoViNYTcs67Le/PYRpvpanDEgjFYPoeZ+lb6vKX+lfjL9RhBXkSxXVCbelbO33Sm vjAxhXjjJBIiaOoUIdbFVY688BHZ6cXkTFzShkQMNKGtLNLAxMLbBIBnTJy/b0gG+1 sfrgbR8tE5KPw== Date: Tue, 24 May 2022 22:08:20 +0300 From: Leon Romanovsky To: Ryan Stone Cc: linux-rdma@vger.kernel.org Subject: Re: Possible bug in ipoib_reap_dead_ahs in datagram mode Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Tue, May 24, 2022 at 09:33:52AM -0400, Ryan Stone wrote: > On Tue, May 24, 2022 at 3:07 AM Leon Romanovsky wrote: > > IPoIB in mlx5 is HW offloaded version of ulp/ipoib one. AFAIK, it doesn't > > change "tx_tail" and we won't enter into this if (...). > > > > Thanks > > I don't quite follow this response. Is this the if statement that you > mean that we won't fall into? > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/ulp/ipoib/ipoib_ib.c#n682 Yes, I think so, maybe wrong here.