Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp2402067rdb; Mon, 28 Aug 2023 03:23:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEslWjlMoMRGXiIaZx+am/Rf1TDCTTf8zirwyzlDyGdvdwPn3PrVKxjheirQqCFI4W1qrH/ X-Received: by 2002:a05:6a00:cc9:b0:68a:4e72:943c with SMTP id b9-20020a056a000cc900b0068a4e72943cmr20793845pfv.11.1693218222927; Mon, 28 Aug 2023 03:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693218222; cv=none; d=google.com; s=arc-20160816; b=cW5RHZXXpaprSGLTCnB83kPQRuGK0lXKY0ayYyjmoEtyixI6O471UHWGtq6eRcXPqu OH13vbe+kCyPPsvGJkuUpqpworQKmWpQ9rWqzCpWTgCWn8f9YxFBsMTzttIbxL3j0D7n Hddy7cmnAqivHGlWqcAz7hi6osJTd0NtJ2GLpNHJcsSfB1H7/FwTDSE8oyny0l9rP5X2 N5si/0i5hFPs9/NLtjcFNTBLPp6ymHgWGf0DquYg/8pzIe3L3sNGosPy4ran07sn+r+m b2CPwuaAKBnMfDacYdoUkp5OOo/4gji3LgfUg5Lh4BrmyW06UTO8UcffWZAQaeTx3nOX cj2Q== 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=1pnjqBLSqwMbbGFcfvSnRuWyxTbAaaILIiCoUTweL2Q=; fh=Axl73ikopTJh+UOFy0kuo1zBlrABUIV8BPZRE7ktFCc=; b=h6RiYU4Al4GtmZ1IZstc+ScA4Bs7y29TREa4ParSWVW+lZKLlsBIva6wrppzrlzfi6 UloPkD6GtvUWWIcNKRFMjHn7G71TCTEwa7ZudmGZBOmZJ/ogqnIrvG4JugUWyZ3JZ1sD dKoWMdQ5EIWIKXnT2CPxrxHy+etGnYU1XO1GJ7iR5Nrc9a4Edx8qMdg6QhnUd5DP3brH 85lSStDxHsKXQyVLbm7wbsGm7wEhsIP9T3jMZi/p7dj9Nkaimvba/HH1vKSCqOtC175A wehPWzqzjsV5rRXfLlf3G/7II2Qm67pBQZUzE77q+7MYdm45sGzYRmgrjjPUGpoZtVYx 6xaQ== 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 e3-20020aa78243000000b00688702b4158si6855387pfn.73.2023.08.28.03.23.15; Mon, 28 Aug 2023 03:23:42 -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 S229567AbjH1KS2 (ORCPT + 99 others); Mon, 28 Aug 2023 06:18:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbjH1KRy (ORCPT ); Mon, 28 Aug 2023 06:17:54 -0400 Received: from us-smtp-delivery-44.mimecast.com (unknown [207.211.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE6A3195 for ; Mon, 28 Aug 2023 03:17: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-75-lK0TCRb5PQ2j4Fl9s7mA7Q-1; Mon, 28 Aug 2023 06:17:23 -0400 X-MC-Unique: lK0TCRb5PQ2j4Fl9s7mA7Q-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B1FBF3C11C60; Mon, 28 Aug 2023 10:17:22 +0000 (UTC) Received: from hog (unknown [10.45.224.12]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B7324C1602B; Mon, 28 Aug 2023 10:17:20 +0000 (UTC) Date: Mon, 28 Aug 2023 12:17:19 +0200 From: Sabrina Dubroca To: "Radu Pirea (NXP OSS)" Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, sebastian.tobuschat@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC net-next v2 5/5] net: phy: nxp-c45-tja11xx: implement mdo_insert_tx_tag Message-ID: References: <20230824091615.191379-1-radu-nicolae.pirea@oss.nxp.com> <20230824091615.191379-6-radu-nicolae.pirea@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230824091615.191379-6-radu-nicolae.pirea@oss.nxp.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_NONE,SPF_NONE autolearn=no 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-24, 12:16:15 +0300, Radu Pirea (NXP OSS) wrote: > Implement mdo_insert_tx_tag to insert the TLV header in the ethernet > frame. > > If extscs parameter is set to 1, then the TLV header will contain the > TX SC that will be used to encrypt the frame, otherwise the TX SC will > be selected using the MAC source address. In which case would a user choose not to use the SCI? Using the MAC address is probably fine in basic setups, but having to fiddle with a module parameter (so unloading and reloading the module, which means losing network connectivity) to make things work when the setup evolves is really not convenient. Is there a drawback to always using the SCI? -- Sabrina