Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5437684rwd; Mon, 5 Jun 2023 03:47:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7RuLREl3SLgnslpi+tSZZWHQIktswRzF6JeyxA0kF0MurtqYpjlCe+SYp8DEjNyO6hBWKE X-Received: by 2002:a05:6870:d245:b0:19f:65db:4d7b with SMTP id h5-20020a056870d24500b0019f65db4d7bmr7789020oac.18.1685962068169; Mon, 05 Jun 2023 03:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685962068; cv=none; d=google.com; s=arc-20160816; b=dE5egYHHYgw3njrMP044xXFy2bJA2OFTMOBj1EDF2wbAtGTY0qAZwzobfd6ftiY5RX 3duCFklnxisYLkjOkqbHBUXh7o3NFD30yVhPLJV5gNFri0QpcPm6vtnWKEWGkr2eOU/e 2KJyMRdk71BvCj2PdQNQdlnJa0p5vGorderWE6DplCmuKozOaJM264XlFb2RmtPufKnO L933vghUjhXFlgeGc8HURXRVQfcL13uaA3xUmAHwJw0XcRlthTOiUrfq+pa2gnVey+Ub YlKpDkhWRwu2G2mCyrCfSf/Fe3UuzQphplYvMuxNdU4K8/+utsKwOwkPZqcY006AWsSE lxOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CBT/RWta3pRgRLaOWD1hDbvc/lD3fsoUznZ0wIKhZuI=; b=BvracGCKiAOY9lsFJ+pl+47raLkf9qvt+Av5JQ/+nPsJ3AC+7rqt0Knb3tDDXfJGuD GlIr55gP9J7sOYgNvF7A8yyXKPSSdEaAxtRdw3ibODiBvz5PhjHsfyU0/oXmBB/W4MAi 0mpcL/QtabDtiT5pPV32ifaW6dPGFoZbpE6yVKXh7YwLrc2+EiJDY0ht+hZVurcqep/E yUTDWmmn7cqs4QN4UxKbLxIWVIn5pZEVUBonDtwfsT4F2cVTklppcc4pOENvUbELP0ms zrkOezunL+m6b2LbY/FqfduchvgE/6KjnI4iZIFw1DJowi75v0NpUL/6YdEukty+nIXA dj6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XSO0HxdF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b22-20020a637156000000b0053422305c20si5518675pgn.14.2023.06.05.03.47.35; Mon, 05 Jun 2023 03:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XSO0HxdF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjFEKOU (ORCPT + 99 others); Mon, 5 Jun 2023 06:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbjFEKOR (ORCPT ); Mon, 5 Jun 2023 06:14:17 -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 1D20DEE; Mon, 5 Jun 2023 03:14:13 -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 A60236123F; Mon, 5 Jun 2023 10:14:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0CC4C433EF; Mon, 5 Jun 2023 10:14:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685960052; bh=Zy7F8g5Z2TeY0mKknBJU4ExG8y5dcguFh9LlLAlh+Pk=; h=From:To:Cc:Subject:Date:From; b=XSO0HxdFSe0laVAjCG6+Bc+fRWM38yXCxIYJtou5sPcLKjdPnj6OjbwftGpmIXezL wHJN3eQln4Zg+3ZP68eLM5jQrd2hKdhmW4jHKAsM7kQicrKorXcItrj0S6EBp1Ljs8 0Z3opamSxw6u2X9DW2MJwrfeu0rLYa1vv1xio+Cv0zRtU5/HNR6jBgZu32ZGYqocIo j/5tSqgjXlteQEVbalAF7W4gfm18rc3I096RqhzP0ZmaEQy3HMEpMdRjIPm/KZqNrl 5olqyoDRByLUy9+CGBZoBs2bPVNJsVFAC/D//5sIKTQBkkpZStzZJ0b7x+iOqrYYtF jEvLJVr5N1jzA== From: Leon Romanovsky To: Jason Gunthorpe Cc: Leon Romanovsky , Eric Dumazet , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Paolo Abeni , Patrisious Haddad , Saeed Mahameed Subject: [PATCH rdma-next v2 0/4] Handle FW failures to destroy QP/RQ objects Date: Mon, 5 Jun 2023 13:14:03 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leon Romanovsky Changelog: v2: * Reworked DCT patch v1: https://lore.kernel.org/all/cover.1678973858.git.leon@kernel.org * Dropped EQ changes v0: https://lore.kernel.org/all/cover.1649139915.git.leonro@nvidia.com ----------------------------------------------------------------------- Hi, This series from Patrisious extends mlx5 driver to convey FW failures back to the upper layers and allow retry to delete these hardware resources. Thanks Leon Romanovsky (1): RDMA/mlx5: Reduce QP table exposure Patrisious Haddad (3): net/mlx5: Nullify qp->dbg pointer post destruction RDMA/mlx5: Handle DCT QP logic separately from low level QP interface RDMA/mlx5: Return the firmware result upon destroying QP/RQ drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 + drivers/infiniband/hw/mlx5/qp.h | 12 ++- drivers/infiniband/hw/mlx5/qpc.c | 93 +++++++++++-------- .../net/ethernet/mellanox/mlx5/core/debugfs.c | 6 +- include/linux/mlx5/driver.h | 10 -- 5 files changed, 69 insertions(+), 53 deletions(-) -- 2.40.1