Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1039509pxb; Wed, 6 Apr 2022 07:18:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzh6feap/Y37X5fxKPFEru2H4Z4IhIuD7F/XwLcu7l73r3hTR3uLBYxxwqo9RWUPJiaERXQ X-Received: by 2002:a17:902:c1c5:b0:156:a185:97ce with SMTP id c5-20020a170902c1c500b00156a18597cemr8760895plc.133.1649254690210; Wed, 06 Apr 2022 07:18:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649254690; cv=none; d=google.com; s=arc-20160816; b=IPwGALadDaVbml3NBeAUsV8njIIayy0dGEb+u8E+B2BduA6G+DZSaWQSpikYyfCOTE 6Hy/ibcIhjdHrtu1fqb1EBs0eoeYHnIcIVJiVG0Zq8zv83sWxwdp/oEma7IDtufLsall cfAl00PAvuiBgxmGDXMQx0lqKXmA0qH9gLCJeO5aY/4W7XYK8bpZiAFAuigchFLYCIV1 II9FlLpX7r52M3y40sHeRwXZi1JMM6PDCIk95am/V0mqZ1p21IQXFhQi1RJqIYejGAS9 3PU5ftm+GsuAEPT/igb8Ur7vWcHgrmRJ2QTY9XTm8E4sXgUahrfsNecWQXiJ2yiZ7sjz Z7lw== 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=rHNUBczSXax4aivRozPKkZh6SByXTqR81fKrmSVs+mM=; b=xRiDcxTk8s+WrOcD/bvSSPw69BCtJRfM86IirMICg7i2MiWOxTf0AfdMwwRfQS7Gp4 o7/b5hf2pbxaL9ugt6RcpMYTBOdlr+D24klt0n02JJxz3H3d9pOzEThfSmqK/jGZ0nMM vXK7Yutwq7JWrymdbBfjfeIGCy7fhYrh+nCfTkbFr7B9OkPBJaS3y/Nn2FQrahXnAoxY N6ZXUK4Eq81PFEfWht/zFIHTxLd0k723bxnmyvB03ezI7EWOhvI0pWGemR0NlYwscdG8 8YR/owXBAcmshxKOv6m1/41XoE9vVH8ONC0hRDf6TuCuvhkDuSOLFk1xYOqbu2FMGC48 Hc0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TLjPuOvE; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t27-20020a63461b000000b0039953e22327si6014097pga.862.2022.04.06.07.18.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:18:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TLjPuOvE; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 822DB474A3F; Wed, 6 Apr 2022 05:04:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229526AbiDFLgw (ORCPT + 99 others); Wed, 6 Apr 2022 07:36:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238395AbiDFLec (ORCPT ); Wed, 6 Apr 2022 07:34:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81C0355F367; Wed, 6 Apr 2022 01:26:02 -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 ams.source.kernel.org (Postfix) with ESMTPS id 227CCB8217A; Wed, 6 Apr 2022 08:25:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AC5AC385A1; Wed, 6 Apr 2022 08:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649233557; bh=Bfxjf4WvYY6KvwHW1ji2+YyT/mfjbCo5tCbTTJgJQf8=; h=From:To:Cc:Subject:Date:From; b=TLjPuOvEYlUJaoXO9pIkz+mz62q2gsdSai0vRxWrwxJX8NvMBbvYLhYMDQzuYXp5C rSRNyOwoUrtqIvD2UKLgxX8Vl8Fr8+3kLP+wb1d2MRdiRtnrkOtJOjVqMlb9r1N2UZ 6tG9IhMLAvvvuHj5on8o++QDXKW8jtI9WIjHiS2REmAsht27ezg5FyjLvd1tgo3fZN aOfUP9mJ03qJ9vVnezbM0Dcz51nrzAxrxRbPaSfr/JUBiF9hQJROuvmKBseEipHp5s /uP5JYqhtrNgW3d+NhfG32HucwxzsaLcu5ulC2PpATcg0VfXaQoWBsHtYK0UpE1HTv sZFiPO4/OgeAw== From: Leon Romanovsky To: Jason Gunthorpe , Jakub Kicinski , Paolo Abeni , Saeed Mahameed Cc: Leon Romanovsky , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Raed Salem Subject: [PATCH mlx5-next 00/17] Drop Mellanox FPGA IPsec support from the kernel Date: Wed, 6 Apr 2022 11:25:35 +0300 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Together with FPGA TLS, the IPsec went to EOL state in the November of 2019 [1]. Exactly like FPGA TLS, no active customers exist for this upstream code and all the complexity around that area can be deleted. [1] https://network.nvidia.com/related-docs/eol/LCR-000535.pdf Thanks Leon Romanovsky (17): net/mlx5_fpga: Drop INNOVA IPsec support net/mlx5: Delete metadata handling logic net/mlx5: Remove not-used IDA field from IPsec struct net/mlx5: Remove XFRM no_trailer flag net/mlx5: Remove FPGA ipsec specific statistics RDMA/mlx5: Delete never supported IPsec flow action RDMA/mlx5: Drop crypto flow steering API RDMA/core: Delete IPsec flow action logic from the core net/mlx5: Remove ipsec vs. ipsec offload file separation net/mlx5: Remove useless IPsec device checks net/mlx5: Unify device IPsec capabilities check net/mlx5: Align flow steering allocation namespace to common style net/mlx5: Remove not-needed IPsec config net/mlx5: Move IPsec file to relevant directory net/mlx5: Reduce kconfig complexity while building crypto support net/mlx5: Remove ipsec_ops function table net/mlx5: Remove not-implemented IPsec capabilities drivers/infiniband/core/device.c | 2 - .../core/uverbs_std_types_flow_action.c | 383 +--- drivers/infiniband/hw/mlx5/fs.c | 223 +-- drivers/infiniband/hw/mlx5/main.c | 31 - .../net/ethernet/mellanox/mlx5/core/Kconfig | 33 +- .../net/ethernet/mellanox/mlx5/core/Makefile | 9 +- .../ethernet/mellanox/mlx5/core/accel/accel.h | 36 - .../ethernet/mellanox/mlx5/core/accel/ipsec.c | 179 -- .../ethernet/mellanox/mlx5/core/accel/ipsec.h | 96 - .../mellanox/mlx5/core/accel/ipsec_offload.h | 38 - .../ethernet/mellanox/mlx5/core/en/params.c | 13 +- .../mellanox/mlx5/core/en_accel/ipsec.c | 30 +- .../mellanox/mlx5/core/en_accel/ipsec.h | 31 +- .../mellanox/mlx5/core/en_accel/ipsec_fs.c | 5 +- .../mellanox/mlx5/core/en_accel/ipsec_fs.h | 7 +- .../core/{accel => en_accel}/ipsec_offload.c | 95 +- .../mlx5/core/en_accel/ipsec_offload.h | 14 + .../mellanox/mlx5/core/en_accel/ipsec_rxtx.c | 245 +-- .../mellanox/mlx5/core/en_accel/ipsec_rxtx.h | 3 - .../mellanox/mlx5/core/en_accel/ipsec_stats.c | 63 +- .../net/ethernet/mellanox/mlx5/core/en_main.c | 12 +- .../net/ethernet/mellanox/mlx5/core/en_rep.c | 1 - .../net/ethernet/mellanox/mlx5/core/en_rx.c | 56 +- .../ethernet/mellanox/mlx5/core/en_stats.c | 1 - .../ethernet/mellanox/mlx5/core/en_stats.h | 1 - .../ethernet/mellanox/mlx5/core/fpga/core.h | 2 - .../ethernet/mellanox/mlx5/core/fpga/ipsec.c | 1582 ----------------- .../ethernet/mellanox/mlx5/core/fpga/ipsec.h | 62 - .../net/ethernet/mellanox/mlx5/core/fs_cmd.c | 2 - .../net/ethernet/mellanox/mlx5/core/fs_core.c | 15 +- .../net/ethernet/mellanox/mlx5/core/main.c | 8 +- include/linux/mlx5/accel.h | 35 +- include/linux/mlx5/driver.h | 3 - include/linux/mlx5/mlx5_ifc_fpga.h | 148 -- include/rdma/ib_verbs.h | 8 - 35 files changed, 143 insertions(+), 3329 deletions(-) delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/accel/accel.h delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.h delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec_offload.h rename drivers/net/ethernet/mellanox/mlx5/core/{accel => en_accel}/ipsec_offload.c (84%) create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.h delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.h -- 2.35.1