From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: bug: 'ethtool -m' reports spurious alarm & warning threshold values for QSFP28 transceivers Date: Thu, 27 Sep 2018 17:32:04 +0200 Message-ID: <20180927153204.GE12979@lunn.ch> References: <82CEAF9FFBA4DD428B132074FB91DF7D5F6481EA@CSI-MAILSRV.csicompanies.internal> <20180926213436.GA4116@hmswarspite.think-freely.org> <091551a9-7a85-4112-bbe2-ce7c7d3cf964@mellanox.com> <20180927145241.GB12979@lunn.ch> <06e89e21-41b2-0711-4ff7-0af5fd7ef53e@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Neil Horman , Chris Preimesberger , "linville@tuxdriver.com" , "netdev@vger.kernel.org" To: Eran Ben Elisha Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:47402 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbeI0VvC (ORCPT ); Thu, 27 Sep 2018 17:51:02 -0400 Content-Disposition: inline In-Reply-To: <06e89e21-41b2-0711-4ff7-0af5fd7ef53e@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: > Driver return 256 bytes (reading it correctly, I verified it, no overruns), > however the extra bytes are presented due to this bug (expecting to parse > 640 bytes). > > Do you see another bug here? Am I missing something? Hi Erin Please could you try ethtool -m raw on so you get a binary dump. The file which Chris provided had more bytes in it than 256. Thanks Andrew