From patchwork Wed Aug 31 16:30:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Talpey X-Patchwork-Id: 12961040 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 A7308ECAAD3 for ; Wed, 31 Aug 2022 16:30:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232047AbiHaQaz (ORCPT ); Wed, 31 Aug 2022 12:30:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232042AbiHaQay (ORCPT ); Wed, 31 Aug 2022 12:30:54 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D06A64C6 for ; Wed, 31 Aug 2022 09:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q49FkXSU3u3sdkFfYtvBvpEKVgUk16Up9BJ6lTofQZML0+juKiVVuAJEfdeuqXk+rOeg0pR+gm4WNnhfVg4TmP77lI1yPlttUmYH1RaBtsD6+8muVhAy7+eGEDz2r0ye9YkGDw7EeG4BgKv1DvUSQnkUxF28A2BQoef8xHChYo0icM31k2L5b/xa4Quor4dBcXUP/1WO/r76AWRLvbz5xT9+GCz14c+c1nUrR+5FBh17IWX10o8BsuLxqksJl+rC75NSFSpufVcm7+hSRpXmq0edS9EeWymbLUb5eyQPCcP1eZ1syRzYRe6wb2QivxDz0wnYAXqNHURMAYhkBZ3unA== 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=fBC9d+Gd/gX5WOeZZ665AQkJliFTx+g8PNWNkj2m3t8=; b=kKvVFMeijEmhTxshyEFfy+HQGFAROJylXA24G7VK+VnN9oE3YGispoZUk1PxqgTW+bWL2BP7kZyZ1/fUOBqhPI8F8BBMD5cOHFd/+b8BCg7tfZNDDLvvGmi8tkPEUpCgCGTO7uOoyg9ZmoF6e1jOFZ2FtajUKeR93ADav6f/tCxgX8/LmaYy+SyUMAy7QqnCbjyTn0G4xO2oEmy0dPSMsXRgt6gCi1aXHVyb8SZ7NQ8YBomWgTA0dYw4x1YXO37Ix5yA66rkruB1FiKpkH8sc93Bu1RdvUK0/ddTrTbszaFSgFnaVIdhYHOePFYkffMafILkvRw9OPOjxUECIKmf/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=talpey.com; dmarc=pass action=none header.from=talpey.com; dkim=pass header.d=talpey.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=talpey.com; Received: from SN6PR01MB4445.prod.exchangelabs.com (2603:10b6:805:e2::33) by SA0PR01MB6236.prod.exchangelabs.com (2603:10b6:806:d8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Wed, 31 Aug 2022 16:30:51 +0000 Received: from SN6PR01MB4445.prod.exchangelabs.com ([fe80::701d:e406:dcfa:118b]) by SN6PR01MB4445.prod.exchangelabs.com ([fe80::701d:e406:dcfa:118b%4]) with mapi id 15.20.5566.021; Wed, 31 Aug 2022 16:30:50 +0000 Message-ID: Date: Wed, 31 Aug 2022 12:30:48 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Content-Language: en-US To: Jason Gunthorpe , Leon Romanovsky , "linux-rdma@vger.kernel.org" , Bernard Metzler From: Tom Talpey Subject: [PATCH] RDMA/siw: Add missing Kconfig selections X-ClientProxiedBy: MN2PR20CA0013.namprd20.prod.outlook.com (2603:10b6:208:e8::26) To SN6PR01MB4445.prod.exchangelabs.com (2603:10b6:805:e2::33) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c3ce9604-f84d-44e3-187f-08da8b6e2ac3 X-MS-TrafficTypeDiagnostic: SA0PR01MB6236:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V0FGlKNnfA5Db7PGrKKbnJJodRlJD9OvhGjVb5dHJvRB+8FQtnfMr7us1zNyczn5FtC+csBmvOKBsnlU51oQx1+bSaAUQxh5WAsRMYsvRxAIzUEAfBYNExKQVDGsy9XGx4iHIxmBdLatJxBGLyQgXz0GceSZ2K7Vl+zzQo9stgSUxA53U+kJtuoGfz6YMpdvmkaAg3fjaSYWu9WciiW+ZLP6uQ257iOSBQo5xDqPEbnEQ50RP0qjEVew/EMAauP1Lj9/Z4b1keKVgBjmIoLEzGtnR5RfN0odgJpX5p7anS4wBfX7ZjD4UMWWFAQb+FFV0UsO7c6lb/IPeNVtOI1PSv1jnmr4pNOMfO1+cfrQYw3yGT2/srKUUju4DeRwaMsNl4uHNKyge9UDHUGyd84L+prz3F0TzlA2TuMea1VS50mqKCQV9nzxECxk53MeCR3WKeaS8B17V+2snVlLj3bzPD7NcVbryQnT2m7p0MXwEHZUloqim5CunbE21goT+RwGRm7RSoGlD/qMuqGKhk9lOv3Iv9x8qD3PK3Vu0xHV6K1tPd0GMiT5S4m6BxR182nSk+tutRN+ZBInCzcdEi8ZzjLC91MpuyAAXxKGZPaOJXGYhNXGzmZIuZQiaR2AsLKSG7chmHk2xDKbhd9t6z+HJCWwL7Yu8APgumXodcQscM4LeBORFSDEiZPcc091CQzdq4a0Byv/kd7MrbPxTL7IUbWMIW6baG5Fl0iOi/IXckEiiHT2sZ+cMZfED2G/h8LQTPpiM/N/JQROHBUbZY5zR49ALvyZgteySA4O9IBmP9I= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR01MB4445.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230016)(39830400003)(376002)(346002)(136003)(396003)(366004)(8676002)(478600001)(66476007)(6486002)(66556008)(66946007)(2616005)(52116002)(86362001)(2906002)(6512007)(31696002)(26005)(6506007)(8936002)(41300700001)(4744005)(5660300002)(83380400001)(36756003)(186003)(316002)(38350700002)(38100700002)(31686004)(110136005)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?F8qOPxIfB9liYYpoWRmdY8TEJNmK?= =?utf-8?q?aWZ/hvZ5EpjjY79v9yCeKyv0wY/SiYcE+NPxC5c8M9cpHSC+ZSyS9Mxv/CIsaJbnj?= =?utf-8?q?RGxpwZ3upbnrT4ZnLHIm5iz3AsW4jzO0EXDPsn3ddMc7q4xxEbgmWkOGqFGTf3aYU?= =?utf-8?q?4mbE7pdTbXTU2dWarSPmcyUqLEui1d/i0yRe9QSz+fcGf2+ZhuPra9UQ0SvdlfiB+?= =?utf-8?q?cOzYw4osrB/pKkc4W5+SXThusV9UIvYYJcjrEbjNxWobINRkkjaiMA/UUwMclByin?= =?utf-8?q?w4LbjOmb8yjyFnJMw906sW6e8T61Q+QW+c0slgM6hJ7uVlFm2OsK8DchWVnRS2JQS?= =?utf-8?q?h1qL8PHcv/+oJ9fdh/ziMoLo8HFnr4CMOJOn+Tr3CrBBCCmUc9D8hREykv9U+Da21?= =?utf-8?q?kL5oQA9a+7Howg2diWOpYVRx+MavCS/sqArAgIttZ7W8OZC1aLf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vdf+nE7tpU3QlOM?= =?utf-8?q?rixBYL9nUFVFloy9JcCbLsQAr6T6Yi6fVnKQ25NJZIv4g9ekMkfuPr8v7wnNi/zQv?= =?utf-8?q?QLHvbqgVrgOIYaLAtdrjXmBqzqtiffvuGaHK+3sx3WitGFwxaDqWmrHcfk5W2bVax?= =?utf-8?q?9x6xyYQiC8JnGT/M0u9cuW+G83WiFe+Xq0sTD0tTmjkxCwrhO/G6kN35XoU1Vz4U4?= =?utf-8?q?vlQjTuSaCdXm?= X-OriginatorOrg: talpey.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3ce9604-f84d-44e3-187f-08da8b6e2ac3 X-MS-Exchange-CrossTenant-AuthSource: SN6PR01MB4445.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2022 16:30:50.8157 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2b2dcae7-2555-4add-bc80-48756da031d5 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9GrD+nidgl6NIgKB2Gr7afylofs1l8v5Cv0WziTfvh9+WUP4ImHYAoRJIcdZ5Lai X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR01MB6236 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org The SoftiWARP Kconfig is missing "select" for CRYPTO and CRYPTO_CRC32C. In addition, it improperly "depends on" LIBCRC32C, this should be a "select", similar to net/sctp and others. As a dependency, SIW fails to appear in generic configurations. Signed-off-by: Tom Talpey Acked-by: Bernard Metzler --- drivers/infiniband/sw/siw/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig index 1b5105cbabae..81b70a3eeb87 100644 --- a/drivers/infiniband/sw/siw/Kconfig +++ b/drivers/infiniband/sw/siw/Kconfig @@ -1,7 +1,10 @@ config RDMA_SIW tristate "Software RDMA over TCP/IP (iWARP) driver" - depends on INET && INFINIBAND && LIBCRC32C + depends on INET && INFINIBAND depends on INFINIBAND_VIRT_DMA + select LIBCRC32C + select CRYPTO + select CRYPTO_CRC32C help This driver implements the iWARP RDMA transport over the Linux TCP/IP network stack. It enables a system with a