From patchwork Tue Jun 18 00:10:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Gurtovoy X-Patchwork-Id: 13701561 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2043.outbound.protection.outlook.com [40.107.92.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4274217F8 for ; Tue, 18 Jun 2024 00:11:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.92.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718669479; cv=fail; b=LsdZZVIFSLT5axptdpyjR9ItjlUkWurRZwdu92Id4cD8MwQ2jWSaBrSPB26YfRpdZlCXcCDv8WPZlkss0zV8++HvyS42eZEA3dHXY/RIq66unR+mCwDYck9Gzm9l7Ktfoweay8t/7IZuSx3RvCCv1jbf7yWRMvsW7xIjGhD9UGM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718669479; c=relaxed/simple; bh=OY4T3ExSiPTe6A7goU1liTz/xG1uo2f3YORBLM30ynw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d42nm9BnFZBnFUZXX6Zw3KXDgiJVyyV1H88u2/xuWcdxIdBTusbuOl1vZM6ZGi9c1gq9CsYSIMsMqDlvyA6t7fGzcv4p2U1txETNVpVIzmhY5WwvqZY9fsg7Ie5+RCmLjPakNDyGjlfV/JmOoYOgJAHgw+iYdJK4ZmdTiJmBpXc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=HrIPvIpj; arc=fail smtp.client-ip=40.107.92.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="HrIPvIpj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GgTyQfy7Ep8hG+5DfLhlJPkDrUUhw58MF9JcPEB/CMP/rvA0nr2ODHignF+0e7yXNtOBCL+1en7kvNct1jak3Y19/SANCHwnvkQLmT3CwynP8b9b7R4sRnSUjjGpUu4poyrwNKbQkj1CneMGoX7WxthDAFaSJgBCYAHkYgIfTp7nDBzIm9xIRwqG3ddStX87BR3cDSKnUFEF+63eDXdB7CR4Xj4gCLps/cLj8TNpZ9MURyBcRem3yVR7o29M/Xl0vhRRGikq3KouS8sB95jyjT+N6ffU039zYgJnfcBtBEr2YoxX12n741l181Y8uSRHQAndpKDWs3vDEcDmKVhyhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BuHzdaejW+5/5z4bCGKOnLS08iIq08U0+dDHF5Hjmo8=; b=LR6gtcIV/NzQq4UeVP/vASuLQ6n/kSD7GLa1Q4Wsw4112wu8Cx5yDPKdBZJoincctqjX8484odJiahF8zVVLaYZVpEuasXNYrfEPNJLW+92vCUZoYj7ihp22qJjW2e8wB3RZSi4r8+IGk3Vclq2Npz39h+pyiIxogic57srF1/1SZHAtuBs8lNpW23A79NLunYBRXQZLVdTnbLz6EL4Kbw1AbaftDLlJ3fQGKPqRItz0Bp2j1+cNjzx2NhKLzJRDkvyaG6lkPLYGnUR1h07+lOlNR/f8WH3FIA9DxKD6pYlsd3awHInXv08xFgiIiwoFKMBYPo43VlJb7yrGaZ3MvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BuHzdaejW+5/5z4bCGKOnLS08iIq08U0+dDHF5Hjmo8=; b=HrIPvIpjTYaN+3vYEQYRYxp13UdpcIx79Noh6xU5D1YzCmqNmeEaO57m2TBx1lm6xkX/IHgDtY/hBwlSDJvnGrYYcZ5gykGvZdWcKtlrlO04dv7Esfvj0NHgx3phzD1MjbRwBxWfegyKQoBYSsmyvBvqqfve3vjqyDLvraFuIT3LXlGHo5hdtixcNMrBz5HO7kP8TOQN0huvOR3zomhRY8OEWc8sHMwIrse3pjoD/mvpocngUpEBxZOpVKwe6o+y4Jw1MvOBdtRVCmj2Eo7moP17EwWR1wAGbPE7r/Gn042dJGBXVh/dG1Z0sDd9um/pE2MWnhiDEibbPDSz+f+1Qw== Received: from SA1PR04CA0014.namprd04.prod.outlook.com (2603:10b6:806:2ce::20) by SN7PR12MB8436.namprd12.prod.outlook.com (2603:10b6:806:2e3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.24; Tue, 18 Jun 2024 00:11:15 +0000 Received: from SA2PEPF00003F61.namprd04.prod.outlook.com (2603:10b6:806:2ce:cafe::ac) by SA1PR04CA0014.outlook.office365.com (2603:10b6:806:2ce::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30 via Frontend Transport; Tue, 18 Jun 2024 00:11:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SA2PEPF00003F61.mail.protection.outlook.com (10.167.248.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.15 via Frontend Transport; Tue, 18 Jun 2024 00:11:15 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 17 Jun 2024 17:11:00 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 17 Jun 2024 17:10:59 -0700 Received: from r-arch-stor03.mtr.labs.mlnx (10.127.8.14) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 17 Jun 2024 17:10:56 -0700 From: Max Gurtovoy To: , , , , CC: , , , , , , , , Max Gurtovoy Subject: [PATCH 5/6] svcrdma: remove the handling of last WQE reached event Date: Tue, 18 Jun 2024 03:10:33 +0300 Message-ID: <20240618001034.22681-6-mgurtovoy@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20240618001034.22681-1-mgurtovoy@nvidia.com> References: <20240618001034.22681-1-mgurtovoy@nvidia.com> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA2PEPF00003F61:EE_|SN7PR12MB8436:EE_ X-MS-Office365-Filtering-Correlation-Id: 82353845-5ed5-4a9d-a30f-08dc8f2b2b7a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|36860700010|1800799021|82310400023; X-Microsoft-Antispam-Message-Info: hQam8QpImz7ubivw2pUn4eU+RH5b9GXtk8IaH/aEFnxAhxoke+fKC7n1Qitb72GN4DC0LqCoC0W7QFBnI+BPWS+1T1z4v6ARKZhJ+09W3t/FWAmRuKCHN5bqzobYSedeDRbRHqTQqswFkog45UDv232u+vlojRRjV1NCNGcXLebgfaRmuD1Nu3GaMZi7kcM7qXg+4duz2IQlU59W38COTC4IDj8MnkoSY7aBQRwzMQPyIt7yUW8yz8OntBwYdmlxMjrIbWkjmEBOLuB0VJGgUMi3hJ7V1KcmfX/9u2oWv8p5enzPEhzAj6vOY3KiweYaLUpso08tfqFNbhLhD0EFQqVAeOumpRTBbuIG1eneHeGOHi12rjCs8QaUaOA1/C2DBkNh4fENr2j0Zvy6AeSVrxopR+g3kPaI25794/yD4wbCtg/u2e3TQNMvETkubAgPXhOfTH+kr7Ntj1yFofy5jKVxkdebbdocRONnP3+gQyiXAZrahsD1GGRl4+mBdL/ojucmvT2p2M1biYgK9L6atauXqw1oCxbaKBFH66HFNeoYCuakaE5Qdbn2w5AY+ZQiF9LgK8LriPFGZ2RzbDS0lz0ua4i3t5fK10FcwD7Lx3SUIOVYaxxy+nul0COnCA7wF2jPXuqGxKMug1PjuKY0eiAz/hTYq+5EOhSyCERke4K5GEwA1K2d+b8oJQu9neGrIoTuN+H0EBtWFtTECJu2dB+SG5TSdWZ+onUSUnZub1hoOyTBCWHi37+PfUNNMOYo4Or014Ca9uUTusqa9qlOXxHFUOcCxogIblPTGHx9Tg7nfCAn0hhReaXtAx5jXEE/GyXFZ8Dk4/BDTOHa4jp3QKzWZMQykowf4ZULUI0md5NxV4PU/tYr1Bi6HRus+BLBKNIJvCbSSitUxo6lTBA5ets/SmjN+fBi4IlJeUrThMwJqfAhZVM9fu7CiYGaFYYIIc/fNMOLCjSBmCIzTPeVRCLP45Luah0BrmHvn76PEJeklSFP6MEKF6Sb4PbZ16o//pimA/4BLBJSvS285D0OpilEVwz3Z9fo/3knMHspi6AfTMF0Yv4kIirWXUyfUZ1vGmKlqK/CtN9yxMDnEqLPIHnOQ9g92gkQQ5JQTTAgpqjSvjQ2MrpaL26fnomwPsN1cf6bDW8lj5hKvhV8gb+pU3NwZzFeg4DPAiRQO8jOrzGSb8uOdgebxowe442IpUQ0VOIXPF3FUrcT/ICUHdcBPg3jRGuASfM1eoDOCEg9XE1/Y70BKkWslTb1CRs884cA47aFhkslekkLIZ/sIuTu/tWczFtTSvz6WUaosZCLlv8Zlq8c/nHmbmF16c3lje8W62W34H88F6ykdFJot0H5OrTYi8UueAZiUnh5DhSfDbtVkc5GS+q/ie/iNE+R8jX0k2HT/qArfxExWN92zSnw1g== X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230037)(376011)(36860700010)(1800799021)(82310400023);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 00:11:15.3872 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82353845-5ed5-4a9d-a30f-08dc8f2b2b7a X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SA2PEPF00003F61.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8436 This event is handled by the RDMA core layer. Signed-off-by: Max Gurtovoy Acked-by: Chuck Lever --- net/sunrpc/xprtrdma/svc_rdma_transport.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index 2b1c16b9547d..4bb94b02c34c 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c @@ -107,7 +107,6 @@ static void qp_event_handler(struct ib_event *event, void *context) case IB_EVENT_PATH_MIG: case IB_EVENT_COMM_EST: case IB_EVENT_SQ_DRAINED: - case IB_EVENT_QP_LAST_WQE_REACHED: break; /* These are considered fatal events */