Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9086640rwp; Wed, 19 Jul 2023 22:23:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlEsMCzaEQaBWkkSmIeP/IngW82UAMP2JcdVIrvWmUaA0ygN4te+ja28HoSCj1m9IqhNess8 X-Received: by 2002:a05:6808:1789:b0:3a3:642e:8130 with SMTP id bg9-20020a056808178900b003a3642e8130mr925477oib.20.1689830601023; Wed, 19 Jul 2023 22:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689830600; cv=none; d=google.com; s=arc-20160816; b=QN2b2T4DMrmmKsIHi8/CEhG1ARYZKShbp147gOy5g0fE4IAgYG+MBdMYNjIOjYW+Hd eMNzqXZjIvkuNMps5nsHrYo+Fkw3R3hoflh+i0FUvrfsg1esKV/W6C/cXGD/DmbzqCjr TGN5yySL4PZDicMPKAyP3B9Q7FQnhN4fR/PZQqm6YDPqaZTvoiHDbJP3Cw7wlp2i5GME 7CNlu0LKhZFK/E9wEb2CbtS4pLx1nZ+F1UtFmyetAksDNHdklAx1PESmgPjcKDV4PfZz PXskX6506u/9qVxcQHRwtNiaxB+nCYl0+xDja3YJ8s31OrTaVH6JqixseDZP7IV6y5VM +m0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wfepGS6d1yWn7FCD4oZtIjo/jN8+DxOaoiRbBcRs+lo=; fh=gz4ObIMc4NeQCHdZ3rWVwlgFHb+bHuhROoav4WyE1M4=; b=jJsqpqfgn8Kh2+R0f6lRlx9IV+62DxVxFDdhFyjbYWDpgqODhaAtZjL9Rk818put1u Gyt21hInlCbIwtIQcGZXefB+O1ThzD85Xn0BfjBkcvbqCqs9oonvoxOJoJ2QtDJAC56A YCCktkUOVGWomPxlrzK7X8GxTo8aWWk+2FEGJMDGXmIBH830Cwlmh8ZppacIIgpOtlOI TYKznnuEYBvcXsn1g3EHGgJv8xfuntu6P6KuhwJaWd50lUK7TVO2teCt4TODmmkWoE7u aI0j/CWFUVbzI+zMNIFNf6FPVDzf/9S/OX1WdYF39D+Zz8Xmp+TtmkmlDovJEWb4lbQv 2F7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tdUV0RbG; 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 e123-20020a636981000000b0055bce775e6fsi72810pgc.455.2023.07.19.22.23.09; Wed, 19 Jul 2023 22:23:20 -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=tdUV0RbG; 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 S229699AbjGTEfs (ORCPT + 99 others); Thu, 20 Jul 2023 00:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjGTEfr (ORCPT ); Thu, 20 Jul 2023 00:35:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649CF1FD5; Wed, 19 Jul 2023 21:35:46 -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 01C5A61711; Thu, 20 Jul 2023 04:35:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DA84C433C7; Thu, 20 Jul 2023 04:35:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689827745; bh=d9AKXeTNlZzlG6Phg9AfyhYmnmjPYT0tp1CULN8PnW0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tdUV0RbGmzIwaSAjaKh1P8L51/7NeYy5KHuzTpZOA8DKcu95ZMO98l2AIdF8ssFLk +hVY7sxUBU/CPgVDRlj7bhcDWQYwSu/XTdzZsWv/KpW+U6zSZeTsp/odnEpgJdJy3m Flr51URsP0sXic6+U+vwqDFj66/q5UwK5ABjyJJw+97lIBIT7cDvifPW8b0mqXUltF c6+YbvPcUBNLp2j1AlRGARLJwSBrUC/2pL4IMfUbkkhqCnAsdNT41rT0DKRb5DHCYM 4OEypzDEWCnyRuqkLiy550qt/hqle4rqyVOq8AM9GP3IL+LLyMw0u81HBR3bQCkcaF 5oQssBwS6uE2A== Date: Wed, 19 Jul 2023 21:35:43 -0700 From: Jakub Kicinski To: MD Danish Anwar Cc: Randy Dunlap , Roger Quadros , Simon Horman , Vignesh Raghavendra , Andrew Lunn , Richard Cochran , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Eric Dumazet , "David S. Miller" , , , , , , , Subject: Re: [PATCH v10 2/2] net: ti: icssg-prueth: Add ICSSG ethernet driver Message-ID: <20230719213543.0380e13e@kernel.org> In-Reply-To: <20230719082755.3399424-3-danishanwar@ti.com> References: <20230719082755.3399424-1-danishanwar@ti.com> <20230719082755.3399424-3-danishanwar@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 The patch is too big to review. Please break it apart separating into individual features, targeting around 10 patches in the series. That will make it easier for reviewers to take a look at the features in which they have expertise. See two things which jumped out at me immediately below: On Wed, 19 Jul 2023 13:57:55 +0530 MD Danish Anwar wrote: > + ICSSG_STATS(rx_crc_error_frames), > + ICSSG_STATS(rx_max_size_error_frames), > + ICSSG_STATS(rx_frame_min_size), > + ICSSG_STATS(rx_min_size_error_frames), > + ICSSG_STATS(rx_overrun_frames), > + ICSSG_STATS(rx_64B_frames), > + ICSSG_STATS(rx_bucket1_frames), > + ICSSG_STATS(rx_bucket2_frames), > + ICSSG_STATS(rx_bucket3_frames), > + ICSSG_STATS(rx_bucket4_frames), > + ICSSG_STATS(rx_bucket5_frames), > + ICSSG_STATS(rx_total_bytes), > + ICSSG_STATS(rx_tx_total_bytes), > + /* Tx */ > + ICSSG_STATS(tx_good_frames), > + ICSSG_STATS(tx_broadcast_frames), > + ICSSG_STATS(tx_multicast_frames), > + ICSSG_STATS(tx_odd_nibble_frames), > + ICSSG_STATS(tx_underflow_errors), > + ICSSG_STATS(tx_frame_max_size), > + ICSSG_STATS(tx_max_size_error_frames), > + ICSSG_STATS(tx_frame_min_size), > + ICSSG_STATS(tx_min_size_error_frames), > + ICSSG_STATS(tx_bucket1_size), > + ICSSG_STATS(tx_bucket2_size), > + ICSSG_STATS(tx_bucket3_size), > + ICSSG_STATS(tx_bucket4_size), > + ICSSG_STATS(tx_64B_frames), > + ICSSG_STATS(tx_bucket1_frames), > + ICSSG_STATS(tx_bucket2_frames), > + ICSSG_STATS(tx_bucket3_frames), > + ICSSG_STATS(tx_bucket4_frames), > + ICSSG_STATS(tx_bucket5_frames), > + ICSSG_STATS(tx_total_bytes), Please use standard stats: https://docs.kernel.org/next/networking/statistics.html And do not duplicate those stats in the ethool -S output. > +static const char emac_ethtool_priv_flags[][ETH_GSTRING_LEN] = { > + "iet-frame-preemption", > + "iet-mac-verify", > +}; What are these? We have a proper ethtool API for frame preemption. -- pw-bot: cr