Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp53896rdb; Mon, 14 Aug 2023 09:15:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtxYXKMZDQN3btT/V/474aK0leoQWZ7Mqmh08vBw2bAtpXO36hzlz+DWbPX8lLwrsZGfpB X-Received: by 2002:a05:6a20:bf02:b0:135:4388:3978 with SMTP id gc2-20020a056a20bf0200b0013543883978mr7934795pzb.29.1692029757875; Mon, 14 Aug 2023 09:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692029757; cv=none; d=google.com; s=arc-20160816; b=lvj+L2j83Ae3l0rvVFMKDPbp5LrZcX5G038/LozrayIqNZajccmUce+zWprqpbqXAU 8C020KXqhabQbJwk6uRZWARm7fmLTUMT1FVJJDvPG+5f7vKUqCZp22Y+zzYtEpP2FXsc F7y9pGD2VtP6LjHGo0U/IYzBqUZTa2+egJJVxIr9MwWy7rHqfU0NHO368cy1AlgxwZPc NAWymK+Ul6xCbzcysZIafM2025eoe/6P4hlkHADcRYXrPKdFFVtvZTO3p+7DCi2rBss8 f06KwC9miCXhvFl6YcIbn63YFbtP60I7QbxFL5a3E98rHwf4Qfgio8UbONER3YF8jGcA eSng== 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; bh=hkXuSBAYyGQhVk0PDrBZqvxryXnabZv+CQxDYgl9AtI=; fh=NyxP9ZerOpoA6ko8yhggOFbxZD8YbpIHXlXFfGW8Uls=; b=kNEJdcPgzVGfuvrZoFvlsMyszEo15QGKMhI88v0nHjOnLEruNqT1GQ0ct6/f+VlfuY IwUqRtJyQKeDwHgyN1Osj6mwG28gdUyELTwqbrKvr65bOk+XIbhnTSV3ZL9RgBCzTtuS 4z/s5BCqsGGKA2/E73fjogJFbmrbVP4RvJJUetzkBp0rT7iC6y+UHo2Pa25zqoxU1yO+ OZbK63/oKjN6y2SWaVdWfbKDv3lypfq0OW60gQinAC5zuXzxcz6ymqHAFDPPXLfYpUwE /XO3iBDW7yT4+nbOBFPBLDFlu0BUL7nDag7DcQFM/XuiPLL8LZxjogK4PDaWUH7qA5Zx Perg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j63-20020a638b42000000b0055391572218si8129811pge.26.2023.08.14.09.15.14; Mon, 14 Aug 2023 09:15:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbjHNPf7 (ORCPT + 99 others); Mon, 14 Aug 2023 11:35:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232152AbjHNPfm (ORCPT ); Mon, 14 Aug 2023 11:35:42 -0400 Received: from us-smtp-delivery-44.mimecast.com (us-smtp-delivery-44.mimecast.com [205.139.111.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F06130 for ; Mon, 14 Aug 2023 08:35:42 -0700 (PDT) Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-668-0QcCinrKNLmPciCBeNQiZw-1; Mon, 14 Aug 2023 11:35:37 -0400 X-MC-Unique: 0QcCinrKNLmPciCBeNQiZw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AE7A81C07583; Mon, 14 Aug 2023 15:35:36 +0000 (UTC) Received: from hog (unknown [10.39.192.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EA80C4021B9; Mon, 14 Aug 2023 15:35:34 +0000 (UTC) Date: Mon, 14 Aug 2023 17:35:33 +0200 From: Sabrina Dubroca To: Andrew Lunn Cc: "Radu Pirea (NXP OSS)" , hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC net-next v1 2/5] net: phy: remove MACSEC guard Message-ID: References: <20230811153249.283984-1-radu-nicolae.pirea@oss.nxp.com> <20230811153249.283984-3-radu-nicolae.pirea@oss.nxp.com> <056a153c-19d7-41bb-ac26-04410a2d0dc4@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <056a153c-19d7-41bb-ac26-04410a2d0dc4@lunn.ch> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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 2023-08-11, 18:59:57 +0200, Andrew Lunn wrote: > On Fri, Aug 11, 2023 at 06:32:46PM +0300, Radu Pirea (NXP OSS) wrote: > > Allow the phy driver to build the MACSEC support even if > > CONFIG_MACSEC=N. > > What is missing from this commit message is an answer to the question > 'Why?' The same question applies to patch #1. Why would we need a dummy implementation of macsec_pn_wrapped when !CONFIG_MACSEC? I guess it's to avoid conditional compilation of drivers/net/phy/nxp-c45-tja11xx-macsec.c and a few ifdefs in the main driver. -- Sabrina