Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-16 Thread Jakub Kicinski
On Tue, 15 Sep 2020 15:57:16 +0300 Oded Gabbay wrote: > On Mon, Sep 14, 2020 at 7:50 PM Jakub Kicinski wrote: > > What's the use for a networking device which only communicates with > > itself, other than testing? > > No use, and we do have a suite of tests that runs from user-space on > the de

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-15 Thread Oded Gabbay
On Mon, Sep 14, 2020 at 7:50 PM Jakub Kicinski wrote: > > On Mon, 14 Sep 2020 13:48:14 + Omer Shpigelman wrote: > > 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 informatio

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-14 Thread Jakub Kicinski
On Mon, 14 Sep 2020 13:48:14 + Omer Shpigelman wrote: > 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? > > > corr

RE: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-14 Thread Omer Shpigelman
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

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Oded Gabbay
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 > > Yo

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Jakub Kicinski
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_m

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Oded Gabbay
On Thu, Sep 10, 2020 at 11:16 PM Jakub Kicinski wrote: > > On Thu, 10 Sep 2020 23:10:47 +0300 Oded Gabbay wrote: > > On Thu, Sep 10, 2020 at 11:01 PM Jakub Kicinski wrote: > > > > > > On Thu, 10 Sep 2020 19:11:23 +0300 Oded Gabbay wrote: > > > > From: Omer Shpigelman > > > > > > > > Add several

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Jakub Kicinski
On Thu, 10 Sep 2020 23:10:47 +0300 Oded Gabbay wrote: > On Thu, Sep 10, 2020 at 11:01 PM Jakub Kicinski wrote: > > > > 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 > > > a

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Oded Gabbay
On Thu, Sep 10, 2020 at 11:01 PM Jakub Kicinski wrote: > > 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 th

Re: [PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Jakub Kicinski
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 th

[PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Oded Gabbay
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: e

[PATCH 12/15] habanalabs/gaudi: add debugfs entries for the NIC

2020-09-10 Thread Oded Gabbay
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: e