Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1345863pxk; Thu, 10 Sep 2020 13:06:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu7Rm1gTgpyD8FI0psSAM2+NH4GNhU7kJLDTrlmriN7IqhLEFA5vjZPyygOFnekybMBD8u X-Received: by 2002:a17:906:d11a:: with SMTP id b26mr10183610ejz.191.1599768399041; Thu, 10 Sep 2020 13:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599768399; cv=none; d=google.com; s=arc-20160816; b=NVeeyuEyvnKWhOPmxLwEtzKAMNiRsqcHqUFPysHsOggEtpdDEYgSaVRu7Rm482XRDQ j0P5kJC/9LliRIOeUa3KPgJDXMFYUcwyENGxMVLIFR/6xV+4Tb4QUsHKw+uinhZINVBQ sRhwHxOpNuBPqNkLNxuyVaoHThbBeLUpbl4jGZygtxTGcJ0WWBC8BGX36gh2aMMiTwt/ 8HZDmetKnK59SdFqN4vs9KBS3uQtY/1ZFBF/65RtDEqLsq6wq5G928isyVXSvW4nJJP4 KU4qu9VxYdKsIOUEB3l/gxMRBz06FuLS3Q3U5n5Vc6q/BvIif18WozGtYALXxfGdSnN1 bIjw== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=ZRdZm+hBhLnvrSnJCqxmwDR/IjRexDnbXPFSoMnQujk=; b=mCD1WKej5eKxudmUGk+N4rTLOLjPdOmGI9lOtc7ajyuCb976nAm4S79g/j5cc+Kqvk sqF7C29Vl+ufNdkZ6+0C/lR6++eEVpt73lnQyfNyREkUwTSU0B/Yl1WScn8cpUKp3xXF TGjn10fMsVO/mHQqlPx5IyEf8dqqy2vKquLyVWSqMkZok6vWNaMysBfO79C8ZPiiMAjD 9IJCP6DE/gkfPF2nBAAHoG6ttJJ5MEJj1+JmTp8o3xfZ70QJ1XO3ZOV+2H8qUH5Fv5y5 Jya79r1FuDBgGpNWHkPYKYvhs8Xd7CTidepkMdt/lVJSPZS5qq4gsVFoXC0ypnVJ+ktm /4Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=V05l0SfA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd22si5298445ejb.346.2020.09.10.13.06.16; Thu, 10 Sep 2020 13:06:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=V05l0SfA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726935AbgIJUEk (ORCPT + 99 others); Thu, 10 Sep 2020 16:04:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:38146 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726850AbgIJUCM (ORCPT ); Thu, 10 Sep 2020 16:02:12 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 58E3B221E3; Thu, 10 Sep 2020 20:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599768100; bh=tJ4sd/VZfLWmjoZSSwM+i7rHTfqbfd+pQzgpQ4ABmoQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=V05l0SfAekpDpY/F1VRC4TWT5yf5tcb0+JtNbkhmGCJvA1CZRE3VgMU8z/H2Jirtt 0hFY3SwgmlQ6yPILtn60/D47wzVc3la9F/k+0Vy4quhjPOJcBQFF+U0768Ty8K2gUN jOWPotBumfeaFRL3AmTVWzEn0pQmdcMJEnHzblHU= Date: Thu, 10 Sep 2020 13:01:38 -0700 From: Jakub Kicinski To: Oded Gabbay Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, SW_Drivers@habana.ai, gregkh@linuxfoundation.org, davem@davemloft.net, Omer Shpigelman Subject: Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC Message-ID: <20200910130138.6d595527@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200910161126.30948-13-oded.gabbay@gmail.com> References: <20200910161126.30948-1-oded.gabbay@gmail.com> <20200910161126.30948-13-oded.gabbay@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Sep 2020 19:11:23 +0300 Oded Gabbay wrote: > From: Omer Shpigelman > > Add several debugfs entries to help us debug the NIC engines and ports and > also the communication layer of the DL training application that use them. > > There are eight new entries. Detailed description is in the documentation > file but here is a summary: > > - nic_mac_loopback: enable mac loopback mode per port > - nic_ports_status: print physical connection status per port > - nic_pcs_fail_time_frame: configure windows size for measuring pcs > failures > - nic_pcs_fail_threshold: configure pcs failures threshold for > reconfiguring the link > - nic_pam4_tx_taps: configure PAM4 TX taps > - nic_polarity: configure polarity for NIC port lanes > - nic_check_link: configure whether to check the PCS link periodically > - nic_phy_auto_neg_lpbk: enable PHY auto-negotiation loopback > > Signed-off-by: Omer Shpigelman > Reviewed-by: Oded Gabbay > Signed-off-by: Oded Gabbay debugfs configuration interfaces are not acceptable in netdev.