Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp177951rwo; Fri, 21 Jul 2023 10:07:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlFx/nzTksK/9AU7gv634Sh1+NgFSvQVbj3IdMe6zAMvt28WnZ6yRIwtSN65ZiBnSbNVf6z7 X-Received: by 2002:a17:902:a515:b0:1b9:d38d:efb1 with SMTP id s21-20020a170902a51500b001b9d38defb1mr3064413plq.8.1689959273534; Fri, 21 Jul 2023 10:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689959273; cv=none; d=google.com; s=arc-20160816; b=S7nItQMoQOOUAqbsUnZvDDHKW3oq8IwKwM06X6UTRYe9YAY9R8mp5arNUypAi+9puH DQjpaVoECDDw14LphYR35Jr5H3bIgqP6MMJ0UQScG5WiGZ9wBVQGbCBIO/Hbn/DLJFt0 Wc+/FkKkPnwEHonAZWJS3oTSWWrrglh5IDvv9FuSA7qsMQhkyvn6QyNRhC3Be6zuurRP cptukxeMV0M27EH2ApXJSpWpxyFOVrduWsP0eg3CdaPwvuFKE6KSDvWugjoGnt9hQxrT H/oUvEhxLNH52MplHroME7q5P+kvFMNnUoCIN5eL8L6OaW8ZBlMXpHKicz7lnVblmpYk 3asQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ICkydv6RJskXn890IA67PGx4hzelThsrH56ALNcu/ss=; fh=Wc4Wq3JXMGzR6kTa4pvtls6JoJm0BBzhaCoLzoUvUFo=; b=mwNdGKIzNC7sCsgBh9rOvwpfF8cTphpCJ/qwt7hcA+gZx4OOV/06kq87w3BeHwZLU8 Ea0xN322QS294or/lUlnB87dNOg1K6bkYiO0dMLIvQLp5Mhnjk45Vo26ykApNpqryOnP FQyC8v001z6f4vAznjKJVy1B+xxMUO7TLPWRfrvR7zZqfrTe3U5Ov6ae2LZ4cOatTiAL 3uJqMeaJ8RqeNCA51k4egSjoMDOwFrzP9VesPopTmXOk4Q0xDslxN+iNb1llevHuoh5/ ZyYTbyrH8SAevCbadZz/BRo/a1xSyiIxaJBMEjTlOtyOBpmU7Wf6RcmQRHpbfiDIq01v 5fMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b+pTEQVY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id km16-20020a17090327d000b001b8a770ee62si3210827plb.70.2023.07.21.10.07.38; Fri, 21 Jul 2023 10:07:53 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b+pTEQVY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231675AbjGUQ1A (ORCPT + 99 others); Fri, 21 Jul 2023 12:27:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjGUQ0h (ORCPT ); Fri, 21 Jul 2023 12:26:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1AAE618C for ; Fri, 21 Jul 2023 09:23:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A037961D44 for ; Fri, 21 Jul 2023 16:22:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AA8DC433C9; Fri, 21 Jul 2023 16:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689956548; bh=9LpmD5uO93V8k4qPmv5QFl14qrmyvndUuSFfp2XhlnU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=b+pTEQVY8tlhkGJFSfrK9njudzpErbDYj9xNVxU5I5+IdVYoO27AXO+5bkE7XnrrJ 88Cz3DwunJM+UC6AE8RS8VUKbXgTK2wbnQlbLGzOKGvbn6stS93nVm/fzpZc08jrd/ 5aR9ChloCGqYCUNidkoteNg81EDhzc/pNUb77SWXUKw+EA2oMGOoH6ym4YplTOdG7l L+Mu99v7f6fYsklq840Nk0QwU/QfD1AbQG/VvdMBtIIgC4YUNs+fPDdUWnMOkM+Fk3 eBaLpok6kZuirpVRkfzSjyRQ/oNGeFcquln5PNtrt0ISByk92b/i9k3dam0upfe4hY TjuKisLNOmzkw== Message-ID: <0f997467-c5c4-6d25-080d-94422127d51d@kernel.org> Date: Fri, 21 Jul 2023 18:22:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [Enable Designware XGMAC VLAN Stripping Feature 2/2] net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping Content-Language: en-US To: "Ng, Boon Khai" , "Boon@ecsmtp.png.intel.com" , "Khai@ecsmtp.png.intel.com" , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , "netdev@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Cc: "Shevchenko, Andriy" , "Tham, Mun Yew" , "Swee, Leong Ching" , "G Thomas, Rohan" , Shevchenko Andriy References: <20230721062617.9810-1-boon.khai.ng@intel.com> <20230721062617.9810-3-boon.khai.ng@intel.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 21/07/2023 17:30, Ng, Boon Khai wrote: >> git >>> a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c >>> b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c >>> index 23d53ea04b24..bd7f3326a44c 100644 >>> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c >>> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c >>> @@ -543,6 +543,12 @@ stmmac_probe_config_dt(struct platform_device >> *pdev, u8 *mac) >>> plat->flags |= STMMAC_FLAG_TSO_EN; >>> } >>> >>> + /* Rx VLAN HW Stripping */ >>> + if (of_property_read_bool(np, "snps,rx-vlan-offload")) { >>> + dev_info(&pdev->dev, "RX VLAN HW Stripping\n"); >> >> Why? Drop. >> > > This is an dts option export to dts for user to choose whether or not they > Want a Hardware stripping or a software stripping. > > May I know what is the reason to drop this? Because we do not print simple confirmation of DT properties parsing. It's usually useless and obvious from DT. To be clear - we talk about dev_info. Best regards, Krzysztof