Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6658073yba; Tue, 14 May 2019 11:10:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVLEqVvS5tkn/B8kQ2FotAN1O7MTh+j8iu/gzjt2vK+rRCmFsGYCJi1plIwku/86wX0o8F X-Received: by 2002:aa7:95bb:: with SMTP id a27mr30830851pfk.30.1557857447524; Tue, 14 May 2019 11:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557857447; cv=none; d=google.com; s=arc-20160816; b=jxQThv2zHvUd/dn8ja8xPzvXlvbYME5MZ/SzbaX2HjCViZcOYwLQh91dTGbEqOepmJ 7igkS3RkR2VkW1ye8qXlB+uscESx3MUC+BtPteBS0M93dL3UtP63EzxbHx2stnmPcaNK bc0S8CrGG6TZ/yqO+g0ptJfmchJiD1wnikJH1cmsKX7oIkDHPyTlpDvxjahL5mr0TVfr RhiZc7iZZmsPBvuec6S5C4noZgt6yYCidMUMOolxynxNTBi5x1kzQpWVLWRtWDxgO+Rr f7JL1mSPMeCKVnHfd0Ov2bKlpkHhcqhk1zd9HRiogN/Jjq5ru5UEn405KNWzqIITwadg lnHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=lik5Kxi5znAbJQJ7ZjUPBbysy67yipBhbUfWgIRZSm4=; b=DiGf9XqU9AI3gCXQHbTIyEiMIuKgbMHvexWR9koIeAt4cS8fEpEbt6XSszAYC/Gcph XqzCePHhV6Y87MnTBJOyb0XYRxMWEbQXfi3utuOLLWeiFLQyHAlaGd/xWdIYRh54izvI QEHy31kbkb5s5RzHRTUZx+OuhK0Hyp6wPqgVgSJrncRG8lXfdCHhpXshZXG0uYXa7B8Q RH2q7y9e3EDWTJS5gp4u/QnwBmNFkg6fxd+1UstijvBz6mIIMz6FzuWWaQfGjzfa9hiA UdsMxmGCFY7EBYVwCwd8kEMcQrEWwmybFMk8cVhgciymzXcq0VwPfMbE9LPj9ypQKajG b7/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r77si20015923pgr.140.2019.05.14.11.10.32; Tue, 14 May 2019 11:10:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727503AbfENSJX (ORCPT + 99 others); Tue, 14 May 2019 14:09:23 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56536 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbfENSJX (ORCPT ); Tue, 14 May 2019 14:09:23 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d8]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 5049E14ACC55E; Tue, 14 May 2019 11:09:22 -0700 (PDT) Date: Tue, 14 May 2019 11:09:19 -0700 (PDT) Message-Id: <20190514.110919.1280826013505735007.davem@davemloft.net> To: Jose.Abreu@synopsys.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Joao.Pinto@synopsys.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, clabbe.montjoie@gmail.com, andrew@lunn.ch Subject: Re: [RFC net-next v2 00/14] net: stmmac: Selftests From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 14 May 2019 11:09:22 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jose Abreu Date: Tue, 14 May 2019 17:45:22 +0200 > [ Submitting with net-next closed for proper review and testing. ] > > This introduces selftests support in stmmac driver. We add 9 basic sanity > checks and MAC loopback support for all cores within the driver. This way > more tests can easily be added in the future and can be run in virtually > any MAC/GMAC/QoS/XGMAC platform. > > Having this we can find regressions and missing features in the driver > while at the same time we can check if the IP is correctly working. > > We have been using this for some time now and I do have more tests to > submit in the feature. My experience is that although writing the tests > adds more development time, the gain results are obvious. > > I let this feature optional within the driver under a Kconfig option. Generally, this series looks fine to me.