Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp776764pxb; Tue, 5 Apr 2022 22:53:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKDxm4NgEC1jNRqS005QCWzTYoYREKgnfcduT0EidTftgqhKXY/Fg9VB26FSL4J8k57/xF X-Received: by 2002:a63:6809:0:b0:37c:68d3:1224 with SMTP id d9-20020a636809000000b0037c68d31224mr5657636pgc.287.1649224381889; Tue, 05 Apr 2022 22:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649224381; cv=none; d=google.com; s=arc-20160816; b=paOW585Lj0Q/TJg4ZPGJmSeGvqvhT6RhFW7vYZLA0/D21yfav6JnY8cBvGvENqZ2EN Q4U/mGe1D9DtGJIDrqeKH35xdU2akow2cc7xect00xt8aD1WesBlGOaPHLIxHXo3znSn EABfPrayP5/j+OAEIqCN1UXwehZqdp2ETd8gjQNV0CrWxF4ERaROsWoq9wZH2xKk1Svp bcfdwR7zY9rT5INo/GG8qAV8JA6FcVBN/EJrmOo9rUjrA0lkXd4GWZnr8PD+8RO+U0U0 lwxxbHFw9X/J32BgxwHMXjk+++IM64MeZN27juRIZSzeKvZXs7LQl61RUPdZ3xY1upnx 3ygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YZsDubBk95nu3x04zmH9B6wkAN+uWc38CMrzjI/URwo=; b=fLxnMKe+IMpWrVFI/QTQqeAHhYf5vfCnJsZJ0CeB++2LUGCjrC6LrHvl3TOH0HWdim l72dmtbqFYae0odgLyNA1ekV+fb6QSefz1A4u1Q+GiTCXTq+/eFQxHlNZS4uIxTOSpHh wS3gjxcw8HI+brWh1zXUEFPtNw0MfO1aR365AMN0M2Ibu6DFUQ4H3KsmPuMh2Gj+WZPo x+m6hnf7T8kkGvvpJvkjjJDcom+JLpjHCcmzb2CTQSU1eZCFVRuo7pt/A7EX+85dM2ef nnlKGLvLkMvZ0Vylwq5hMoYDFwIf1E9Rak2Xcd1zEl0GQURjl2YLupSKeftqoLx3oze1 ZJMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KLe5zgl1; 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 o2-20020a170902bcc200b00153b2d1641csi13757722pls.36.2022.04.05.22.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 22:53:01 -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=KLe5zgl1; 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 1ABA222EB16; Tue, 5 Apr 2022 21:53:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1837122AbiDFAot (ORCPT + 99 others); Tue, 5 Apr 2022 20:44:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1572944AbiDERWt (ORCPT ); Tue, 5 Apr 2022 13:22:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 716BA14012; Tue, 5 Apr 2022 10:20:51 -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 060AE618AC; Tue, 5 Apr 2022 17:20:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41A8EC385A0; Tue, 5 Apr 2022 17:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649179250; bh=YZsDubBk95nu3x04zmH9B6wkAN+uWc38CMrzjI/URwo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KLe5zgl1jn3/c4ZIruCMaO136A64eBcLm5MtWPZC5gKsaFML8XL5Qi/qHPHGunbPu Cn8MAg+bYIIerAENAO5CthwJdbxgxY+JcPPv4dVyDz+8Gg7Lq8nJ8U2qhQJckYp5/I 8LVvPIeKrguyAUUzrF2cs0KvpoJRHxAnHmVLSP+dK4TTgnuRG+2y8vms+tDW2akJeY MyB0qBwaj662d6Ir3juQcKyHhkbEKASlApUUa2Qp5cQfBpFjfZIBOpwotaaMeLoacP F1Zyd4PQllzcMItH1uB2cRecYBbnUYYrNrqW9PY+Dw2KKmenqYfIQIBME36MLFZ1aq 5xVovTJYeXidQ== Date: Tue, 5 Apr 2022 10:20:49 -0700 From: Saeed Mahameed To: Leon Romanovsky Cc: Jakub Kicinski , Paolo Abeni , Jason Gunthorpe , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Saeed Mahameed , Tariq Toukan Subject: Re: [PATCH mlx5-next 4/5] net/mlx5: Remove tls vs. ktls separation as it is the same Message-ID: <20220405172049.slomqla4pmnyczbj@sx1> References: <67e596599edcffb0de43f26551208dfd34ac777e.1649073691.git.leonro@nvidia.com> <20220405003322.afko7uo527w5j3zu@sx1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: 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 On 05 Apr 08:43, Leon Romanovsky wrote: >On Mon, Apr 04, 2022 at 05:33:22PM -0700, Saeed Mahameed wrote: >> On 04 Apr 15:08, Leon Romanovsky wrote: >> > From: Leon Romanovsky >> > >> > After removal FPGA TLS, we can remove tls->ktls indirection too, >> > as it is the same thing. [...] > > rename drivers/net/ethernet/mellanox/mlx5/core/en_accel/{tls_stats.c => ktls_stats.c} (76%) >> >> Why not ktls_*.c => tls_*.c ? > >Mostly because other drivers use _ktls_ name for this type of functionality. >Plus internally, Tariq suggested to squash everything into ktls. > >> >> Since we now have one TLS implementation, it would've been easier to maybe >> repurpose TLS to be KTLS only and avoid renaming every TLS to KTLS in all >> functions and files. >> >> So just keep tls.c and all mlx5_tls_xyz functions and implement ktls >> directly in them, the renaming will be done only on the ktls implementation >> part of the code rather than in every caller. > >Should I do it or keep this patch as is? > Keep it, i don't have any strong feeling about this, I just wanted to reduce the patch size.