From: "Krzysztof Olędzki" <ole@ans.pl>
To: Ido Schimmel <idosch@idosch.org>, Dan Merillat <git@dan.merillat.org>
Cc: Michal Kubecek <mkubecek@suse.cz>, netdev <netdev@vger.kernel.org>
Subject: Re: ethtool fails to read some QSFP+ modules.
Date: Wed, 3 Jul 2024 07:36:52 -0700 [thread overview]
Message-ID: <49bf6eca-9ad0-49a7-ac8d-d5104581f137@ans.pl> (raw)
In-Reply-To: <ZoJdxmZ1HvmARmB1@shredder.mtl.com>
Good morning,
On 01.07.2024 at 00:41, Ido Schimmel wrote:
> Forgot to add Krzysztof :p
>
> On Mon, Jul 01, 2024 at 10:28:39AM +0300, Ido Schimmel wrote:
>> On Sun, Jun 30, 2024 at 01:27:07PM -0400, Dan Merillat wrote:
>>>
>>> I was testing an older Kaiam XQX2502 40G-LR4 and ethtool -m failed with netlink error. It's treating a failure to read
>>> the optional page3 data as a hard failure.
>>>
>>> This patch allows ethtool to read qsfp modules that don't implement the voltage/temperature alarm data.
>>
>> Thanks for the report and the patch. Krzysztof Olędzki reported the same
>> issue earlier this year:
>> https://lore.kernel.org/netdev/9e757616-0396-4573-9ea9-3cb5ef5c901a@ans.pl/
>>
>> Krzysztof, are you going to submit the ethtool and mlx4 patches?
Yes, and I apologize for the delay - I have been traveling with my family and was unable to get into it.
I should be able to work on the patches later this week, so please expect something from me around the weekend.
>>> From 3144fbfc08fbfb90ecda4848fc9356bde8933d4a Mon Sep 17 00:00:00 2001
>>> From: Dan Merillat <git@dan.eginity.com>
>>> Date: Sun, 30 Jun 2024 13:11:51 -0400
>>> Subject: [PATCH] Some qsfp modules do not support page 3
>>>
>>> Tested on an older Kaiam XQX2502 40G-LR4 module.
>>> ethtool -m aborts with netlink error due to page 3
>>> not existing on the module. Ignore the error and
>>> leave map->page_03h NULL.
>>
>> User space only tries to read this page because the module advertised it
>> as supported. It is more likely that the NIC driver does not return all
>> the pages. Which driver is it?
>
Thanks,
Krzysztof
next prev parent reply other threads:[~2024-07-03 14:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 17:27 ethtool fails to read some QSFP+ modules Dan Merillat
2024-07-01 7:28 ` Ido Schimmel
2024-07-01 7:41 ` Ido Schimmel
2024-07-03 14:36 ` Krzysztof Olędzki [this message]
2024-07-04 12:27 ` Krzysztof Olędzki
2024-07-07 8:35 ` Ido Schimmel
2024-07-08 3:42 ` Krzysztof Olędzki
-- strict thread matches above, loose matches on Subject: below --
2024-07-02 19:30 Dan Merillat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49bf6eca-9ad0-49a7-ac8d-d5104581f137@ans.pl \
--to=ole@ans.pl \
--cc=git@dan.merillat.org \
--cc=idosch@idosch.org \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).