Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1366923pxk; Thu, 10 Sep 2020 13:36:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjxVkjBN5GOuYfrDKpg2T8zWlepGfTM72ceF/nmZOk8gw2N5SQF0rxJxf2C7cnzJaCfIpt X-Received: by 2002:a17:906:4101:: with SMTP id j1mr10382600ejk.473.1599770201566; Thu, 10 Sep 2020 13:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599770201; cv=none; d=google.com; s=arc-20160816; b=LcZLHHeosqQo5dFqmW1GQjTxcVOrRRlWj/tPC1RmlGxyVp9uXpADXo7EFIEByMpavW 6P/TxWqExTgi5fiyJxUzxnyIizFw+lZayxAjYES0/aXr2bq8jPOjh2Dvo9rI3tGqd7zl mdnhA8kIDy9FkGRDEOtZnFVCKdHe16uWCbAgk4Jt6VGW6atcaA5jnPcRzZ5PotH8pZ7v U1KQtE1aHtmBLmbeRUUPyGWe8ltojdPopbqEs9VAGFJiKQZYwr50J9DJ9/SKo/upmY+i 6b6xBTITCHMUxn81rJlrCOAuq7GZWSxvYP13w1NEpKIindiy8RjANno6B4uTqtA2tT9y hAaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=n2xxMUg4YSEJ8+qQQfSkzr3XLf7gNJ6w0iCY9QUxL74=; b=NHF8Ii+sWRKjIJoxgdJIGMAR/A+qQ6bUpOIH/L6bYLQOHKwSxfJ0LN+0HYs8lDynHC mMuYV3UZ4DkDTjTeRpdrCQUJuTn0v6Od1uHjEGusBFpMPzdOdDJbbxro8a/VF+T05vHk YEPBJ4Fnr0PNqHSqiA7KaabwJXCoJDj7zmRvDfi83tMvgJ/+/Isyi61uspnjwgYJPd2m 5rjqflqKbeiYk2zQD+yvRqD/GYILWYaaMTt3vTdXrCWCXY3yzcv1IP/wVC57gQQqMBAM 3GCFad4opFTBpf6nqin86HanoNd/akYZ5V5l9Jk9Kr4kcfPOqKlEUQSECbKaxMMNEJ5y 2sqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eVbnPD2H; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b23si4362258eje.20.2020.09.10.13.36.19; Thu, 10 Sep 2020 13:36:41 -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=@gmail.com header.s=20161025 header.b=eVbnPD2H; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726939AbgIJUff (ORCPT + 99 others); Thu, 10 Sep 2020 16:35:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727027AbgIJUdm (ORCPT ); Thu, 10 Sep 2020 16:33:42 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79B7BC061756; Thu, 10 Sep 2020 13:33:42 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id o6so6521434ota.2; Thu, 10 Sep 2020 13:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n2xxMUg4YSEJ8+qQQfSkzr3XLf7gNJ6w0iCY9QUxL74=; b=eVbnPD2HB48RTKktK5rySccaXQcuW4w9adK4fCt56fJLoI+DqNWFD//4QJE4Sl0I/l rZIA1b6Gmu/asCuyca/D4VQ85ipjy+FqH7J0omPjTudyr2y5LZ+uwpIn+NsqhP/9ueIS yNOVLKxWgWflD6EHdOrJaVRVPd+vcuKYEqMxUNS/uPit23dgj7knlam6xTEUeBn7nuVS ITQxSD5fToeXCwNySpwWOpAfn2aTi7wJoag1c7AbjnittP5cjXe1Kf8hsGOmoLVYF4qO y0SIRI7Di+3ry6285IEqYZbE4vm1tzgdkTVAJwNDqwVzeXCevFD8FJMONiAo34JONUKJ nvSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n2xxMUg4YSEJ8+qQQfSkzr3XLf7gNJ6w0iCY9QUxL74=; b=Mo7Irw6z8jzb9sZY/KKerxvEj9jtMGtvOQ2HKnxd9k2VM1XHzWTPhrLOBM4r4nNU2x zhxKiL0wAiNq8e5/5xnCeIlhL9W02jRKuieQTxw6bPUdStdjLFHWyV/vELt3OjqVU4fn CbBxN7Cg7QzaAePSy7z+qEGycv+uoo7n6sAY/amV4+KzcaqZGwmPs6eOTZmmoXCQXWBO uqPS2R5tSUVXqFQR4otE8RYxeUhRI5MBbzTJkS032/O+ayPuffVqowraQe6FU2xYXsGs mf34J1tXi7jvOKyGjhMnU2VLrfY/T03vRjY8vdsGTkyYXFQap35CcKUWPf5+9Cmg269U c1fg== X-Gm-Message-State: AOAM530cPPrQYAOJFBjD3wfJblS5C85g9oRCGJ9JdMxeqp8XZ/9DnFn1 ZbPl1oMpgs+OCElQNeLcaTUk0o2IJnYr7QqhDZxFmiehkHHqLQ== X-Received: by 2002:a9d:5a92:: with SMTP id w18mr2020424oth.145.1599770021872; Thu, 10 Sep 2020 13:33:41 -0700 (PDT) MIME-Version: 1.0 References: <20200910161126.30948-1-oded.gabbay@gmail.com> <20200910161126.30948-13-oded.gabbay@gmail.com> <20200910130138.6d595527@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20200910131629.65b3e02c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20200910133058.0fe0f5e3@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200910133058.0fe0f5e3@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Oded Gabbay Date: Thu, 10 Sep 2020 23:33:14 +0300 Message-ID: Subject: Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC To: Jakub Kicinski Cc: "Linux-Kernel@Vger. Kernel. Org" , netdev@vger.kernel.org, SW_Drivers , Greg Kroah-Hartman , "David S. Miller" , Omer Shpigelman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 11:31 PM Jakub Kicinski wrote: > > On Thu, 10 Sep 2020 23:17:59 +0300 Oded Gabbay wrote: > > > Doesn't seem like this one shows any more information than can be > > > queried with ethtool, right? > > correct, it just displays it in a format that is much more readable > > You can cat /sys/class/net/$ifc/carrier if you want 0/1. > > > > > nic_mac_loopback > > > > is to set a port to loopback mode and out of it. It's not really > > > > configuration but rather a mode change. > > > > > > What is this loopback for? Testing? > > > > Correct. > > Loopback test is commonly implemented via ethtool -t ok, thanks for the feedback, we will take a look at it and update the patch. Oded