From patchwork Fri Jul 15 03:46:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 12918704 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 73BF1C433EF for ; Fri, 15 Jul 2022 03:46:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231608AbiGODqp (ORCPT ); Thu, 14 Jul 2022 23:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbiGODqo (ORCPT ); Thu, 14 Jul 2022 23:46:44 -0400 Received: from esa12.fujitsucc.c3s2.iphmx.com (esa12.fujitsucc.c3s2.iphmx.com [216.71.156.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6AAB774A8 for ; Thu, 14 Jul 2022 20:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1657856802; x=1689392802; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=vKq4ckJSstSfkI/yXjDtzPZTup+Tn+fU0LBMRa4/wNs=; b=JKf6nPxMIdxhK+OMuAhFA72Nq0ekEg9k1gNcTXMDLrP3kweGPhYPYPNz unTrppDfVY9UAW+LWe0JurXeGdkX3pqqW9W2oYKNcfaNcTVS3lnDEk6VM n7e9gfvMDVBWsB9u0RlFkm+QOQ1TKyYxsmrsXOMcJPHP9sE3wilDrQxEs F6B6xLfdbDdtH7jpDF67pK5RFmunMCKpLh5o9Yc1vMvp0kDea2IYbWlsI efY8kmL+MDy34ZXRHmuXTPKVHOrn5dp11VCdLIWyiUCg82GVq+Y3qCLKG JsNCugbpdWvCYQ3MPnjHYXKiWS9dW+gYgqKxLbqZHILbEQfgwlnECDJ+7 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10408"; a="60594113" X-IronPort-AV: E=Sophos;i="5.92,272,1650898800"; d="scan'208";a="60594113" Received: from mail-os0jpn01lp2104.outbound.protection.outlook.com (HELO JPN01-OS0-obe.outbound.protection.outlook.com) ([104.47.23.104]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2022 12:46:39 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i2kuL2xK+1FQHoqKOIDzlmDP+cIxeZh60+jHCOxWWvtBdJCYV3Jf1v/tnF38Qf5LaBCHZYfPmZp0SfmgE2WmZjhUBiAdPO38zoXmlqPri20/HxsyvJIjE+6n/XSRNfrYU7euoE8o7KNJwWIgPQbMMl5uz+F+POwJtrJa8XOcY6o+zyH4hB8iUOB4OGtZ3qMlqIz0megFT4TEnc98IPYgBxQyLkHKJFCVLmxpD/DWCcproLTlqlO0VS1TfUjChOHuTGlmJnl0IsCGEr9G4QmmoNy9+PkYUZjgIUygxZ1JsAOvs5dZ9UflmfQzLYHVk+Ic00xXAmF/nIyn52BxJXzyAw== 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=vKq4ckJSstSfkI/yXjDtzPZTup+Tn+fU0LBMRa4/wNs=; b=f9ZBKS3RBg/hqhrsZ6+A4bWpFgndKghSREpROn4oAILmV+7+cTrDyqMeoIrOPu6SRuaWFZ0wJg+mpVFKaxx9ezQ7M+x+S1Kp4j0BhT8MiM4FV8WWGNOG/6ShhCX22B5KbOFHKboRI4az06PgoKRn/p0vBMk0CHstp+cH1OXEp7BRCmb6wD6WMSX4qAu413h+jgYQZJEIRCyjPPBCbZ8myNpj4Yuy3151n/shsVjUbsh+NeLdHX+tJdF+TkcGoix/gKfpcOazC4qnq0XUzC8y72axMCLaGyg00uFrKFARkSzOXHCBpap4d7kJiOdyD0jJApRiHrr/MFjoZ94VGrUTfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vKq4ckJSstSfkI/yXjDtzPZTup+Tn+fU0LBMRa4/wNs=; b=JwP0MJGH/L1GiVX77RvE5AuKjaJxr1nFYZqMbWY7JGGcRKE2lVJar4nc7ulIRHNDFkt+eklhksk2dcyi9rvJg64Voo+X9GYifqw52/2c7tk0GOKcEnMgLnhHchFf7Tp9CjB6ZdvQqPnqMJkKgJm7xHzwFEM2OBQtKc3D2IuCZHY= Received: from TYCPR01MB9305.jpnprd01.prod.outlook.com (2603:1096:400:196::10) by TYWPR01MB9573.jpnprd01.prod.outlook.com (2603:1096:400:1a7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Fri, 15 Jul 2022 03:46:36 +0000 Received: from TYCPR01MB9305.jpnprd01.prod.outlook.com ([fe80::8d7a:baa8:3b18:cd93]) by TYCPR01MB9305.jpnprd01.prod.outlook.com ([fe80::8d7a:baa8:3b18:cd93%7]) with mapi id 15.20.5438.014; Fri, 15 Jul 2022 03:46:36 +0000 From: "lizhijian@fujitsu.com" To: Yanjun Zhu , Jason Gunthorpe , "linux-rdma@vger.kernel.org" CC: Bob Pearson , "lizhijian@fujitsu.com" Subject: [PATCH for-next v2] RDMA/rxe: Remove unused mask parameter Thread-Topic: [PATCH for-next v2] RDMA/rxe: Remove unused mask parameter Thread-Index: AQHYl/17r+sfayDH7kuDmDHnivSfgQ== Date: Fri, 15 Jul 2022 03:46:36 +0000 Message-ID: <20220715035340.1900168-1-lizhijian@fujitsu.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.31.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9b95d377-8ce0-4d82-fd90-08da66149e4d x-ms-traffictypediagnostic: TYWPR01MB9573:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8POp61L0BECFgAgU2Qae6un6dtbDCzcYfWrUSkdSaa0Mj0OtWAo1P/e6/3hFHNtxhasjziV/K7dWYxn+sW6ObduUwRLjVKgZrS/aE6jGQ+7YWolsuxw0KO4DxNTQu0lFDtCw62ZqxdmkYfGP4hB4pTc0qghdtMvbvohheyox79BCPsMb1BiKbSIJGGfpmTE8RRmEEWJ4VobnvDP/8m86ahf4xkfynX3zC1dwDUcluhj+rGaHiRPNz+uWLAE8XIZoDAfq/Ke+kdDTYxX2WiWrOQ1S9EMcv9GMfiDK2Ddy1UjsYwNZxgmejPbyu72/y7Pkz1L/4KWLVpA7WRhgEJZdEIbQimK+bFzOCmdS5UFDyFvL0DgxRBwvjo7hbnLxcbWgMVnDP577JvO3/bD7Mw49vz0KoxdRfm/Yvkbg1apNquHtlvExPvaoZnEUhQsgCpvFBZc5JHhFFOp+EOZZ/NUVdVCtYgIMAlIGuO7A4n+ZcTDviJm04Yob+HpuIzTpjt8ydgnUytRI1QLcesUkMVLmEWQidH+p0YjiF91L04IJIJD4D1aGkapNwnAeEk60SaYYSGyoG4OTYL46oSueTh37InXHIAkO0unhzQCLDJ7Uy5LtUupYnKXQm5YoorkAFdOtB0pmNlENUVC5NV2YwHne42oSsdYj2HgPf5a4axas0uxQU/+t+rTvG5qPuxdhBI//0UxlW9T+EyoTulKICWgvitbDyESAOIKgrtI80OCY6HK8WHPiygMzPAzORfW1EcbAsyVUhbieYzLlShCrQ96mG2yJ6x65gLg2e4aCM5LHfNSudia8s3yacdpqcMAFX9fD x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB9305.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(346002)(376002)(366004)(396003)(136003)(38070700005)(110136005)(122000001)(54906003)(2906002)(316002)(83380400001)(85182001)(6512007)(6506007)(66476007)(6486002)(71200400001)(76116006)(186003)(66946007)(66556008)(66446008)(64756008)(38100700002)(91956017)(26005)(8676002)(82960400001)(36756003)(4326008)(478600001)(1076003)(5660300002)(8936002)(2616005)(41300700001)(107886003)(86362001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?eucgb2312_cn?b?NHl5QnQxalQ1cjMyKzZuV0Jj?= =?eucgb2312_cn?b?dVlZR1lwejZJUzFxbGtXc2xpN0tCbnBtdTF3SjVRelp4MlVOR3ZYRzhZOHVKSWR0?= =?eucgb2312_cn?b?aXVPa0YvOFRocHFpN1l0V24xaUhGdldpWlVPdnVtckFwZ3dONkxWaVVkZElCWnc4?= =?eucgb2312_cn?b?TVZwdTBJaXJmL3V0aGpod1R5L3NFVENIdkx0WXhsOTg5cEszcDFUZG9tNytxRXVv?= =?eucgb2312_cn?b?YWRsZkdwQk5YZ3k5eERHdTVGaW05Z2hSTzBES1I2N3V2cDQ3NDd3STIrMStORGlH?= =?eucgb2312_cn?b?Qk9jN21XQnh3ZURNTzB4UVZWVUVyQlNNbWdrRk5ZY3YyV0xPL3YwT0ljWGYy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BEajNq?= =?eucgb2312_cn?b?dHpoaTJYWmE4QzgwK1huT0t6QVk0aDcweWNSQW5ncVVHakRYWnlNekx2aHBDSXNV?= =?eucgb2312_cn?b?QkkzcWswamlNYkJqU0hRMmx5bVhGZUhld0ZPRDU4WHV2WlliVXFVV1B1elo0bWtB?= =?eucgb2312_cn?b?T09DVVRESnN6bFBYczBvT3FKaGc9PQ==?= MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB9305.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b95d377-8ce0-4d82-fd90-08da66149e4d X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jul 2022 03:46:36.7480 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nI3pYje78gmI4quDktMcKmNcBq9oC2pznN2WoJcxvlLPeMiVeTUVYo23aqNN8fuP1AlrsSHuKNPDpYIui0zf6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB9573 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org This parameter had beed deprecated since below commit: 1a7085b34291 ("RDMA/rxe: Skip adjusting remote addr for write in retry operation") Signed-off-by: Li Zhijian Reviewed-by: Bob Pearson --- Feel free to add above commit to fixes tag if needed. V2: add commit log. --- drivers/infiniband/sw/rxe/rxe_req.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c index 69fc35485e60..35a249727435 100644 --- a/drivers/infiniband/sw/rxe/rxe_req.c +++ b/drivers/infiniband/sw/rxe/rxe_req.c @@ -15,8 +15,7 @@ static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe, u32 opcode); static inline void retry_first_write_send(struct rxe_qp *qp, - struct rxe_send_wqe *wqe, - unsigned int mask, int npsn) + struct rxe_send_wqe *wqe, int npsn) { int i; @@ -83,7 +82,7 @@ static void req_retry(struct rxe_qp *qp) if (mask & WR_WRITE_OR_SEND_MASK) { npsn = (qp->comp.psn - wqe->first_psn) & BTH_PSN_MASK; - retry_first_write_send(qp, wqe, mask, npsn); + retry_first_write_send(qp, wqe, npsn); } if (mask & WR_READ_MASK) {