lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <53352b34-d3eb-4698-a416-ca9465a4387e@default>
Date:   Fri, 27 Oct 2017 13:35:13 -0700 (PDT)
From:   Ghazale Hosseinabadi <ghazale.hosseinabadi@...cle.com>
To:     <hal@....mellanox.co.il>
Cc:     <linux-rdma@...r.kernel.org>, <tbogendoerfer@...e.de>,
        <matanb@...lanox.com>, <leonro@...lanox.com>, <parav@...lanox.com>,
        <linux-kernel@...r.kernel.org>, <dledford@...hat.com>
Subject: Re: [PATCH] IB/mlx5: give back valid speed/width even without plugged
 in SFP module

Hi,

----- Original Message -----
From: hal@....mellanox.co.il
To: parav@...lanox.com, tbogendoerfer@...e.de, matanb@...lanox.com, leonro@...lanox.com, dledford@...hat.com, linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: ghazale.hosseinabadi@...cle.com
Sent: Friday, October 27, 2017 1:18:50 PM GMT -08:00 US/Canada Pacific
Subject: Re: [PATCH] IB/mlx5: give back valid speed/width even without plugged in SFP module

On 10/27/2017 2:32 PM, Parav Pandit wrote:
> However I believe that ibstat tool should be enhanced to report unknown port speed instead of expecting drivers to supply some random number like this.

ibstat gets the rate from libibumad via /sys/class/infiniband/<IB device>/ports/<port number>/rate file which is supposed to be populated by the driver. Is there no rate file in this error case ?

There is a rate file, but it is empty.

Thanks,
Ghazale

-- Hal

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ