[...]
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded the information
we provide.
Our users prefer to see the information in ethtool.
Thanks,
Yevgeny
From: Ben Hutchings <hidden> Date: 2011-03-23 15:47:06
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded the information
we provide.
Our users prefer to see the information in ethtool.
Do you mean 'we documented ethtool -i as the way to get hardware
identification'? That would be a bug in your documentation.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded
the information
quoted
we provide.
Our users prefer to see the information in ethtool.
Do you mean 'we documented ethtool -i as the way to get hardware
identification'? That would be a bug in your documentation.
Ben.
This is not what I mean, All the required information can be found in lspci,
There are some requests to see part of this information also via ethtool
Yevgeny
From: Stephen Hemminger <hidden> Date: 2011-03-23 15:58:21
On Wed, 23 Mar 2011 15:46:45 +0000
Ben Hutchings [off-list ref] wrote:
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded the information
we provide.
Our users prefer to see the information in ethtool.
Do you mean 'we documented ethtool -i as the way to get hardware
identification'? That would be a bug in your documentation.
We need consistency among drivers in these fields.
From: Ben Hutchings <hidden> Date: 2011-03-23 16:08:15
On Wed, 2011-03-23 at 15:54 +0000, Yevgeny Petrilin wrote:
quoted
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded
the information
quoted
we provide.
Our users prefer to see the information in ethtool.
Do you mean 'we documented ethtool -i as the way to get hardware
identification'? That would be a bug in your documentation.
Ben.
This is not what I mean, All the required information can be found in lspci,
There are some requests to see part of this information also via ethtool
As Stephen says, the issue here is consistency between drivers.
Sometimes you just have to say no to customer requests that you abuse a
standard API.
You could perhaps include some sort of hardware type distinction in the
firmware version string, if it doesn't already incorporate that.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
From: Stephen Hemminger <hidden> Date: 2011-03-23 17:06:50
On Wed, 23 Mar 2011 16:08:12 +0000
Ben Hutchings [off-list ref] wrote:
On Wed, 2011-03-23 at 15:54 +0000, Yevgeny Petrilin wrote:
quoted
quoted
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded
the information
quoted
we provide.
Our users prefer to see the information in ethtool.
Do you mean 'we documented ethtool -i as the way to get hardware
identification'? That would be a bug in your documentation.
Ben.
This is not what I mean, All the required information can be found in lspci,
There are some requests to see part of this information also via ethtool
As Stephen says, the issue here is consistency between drivers.
Sometimes you just have to say no to customer requests that you abuse a
standard API.
You could perhaps include some sort of hardware type distinction in the
firmware version string, if it doesn't already incorporate that.
The pci info is already in bus_info and that can be used by tools.
Alternatively, many drivers splat revision/config info out to dmesg.
[...]
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
Agreed, mlx4 folks please send me a follow-up patch that removes this
conditional string.
The driver string is only meant to identify the software, not the
hardware variant.
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded the information
we provide.
Our users prefer to see the information in ethtool.
This doesn't matter, we strive for consistency across drivers rather
than have special cases like this.
Please remove the chip variant information from the ethtool driver
string, it is absolutely not appropriate.
From: Ben Hutchings <hidden> Date: 2011-03-24 03:40:23
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded the information
we provide.
Our users prefer to see the information in ethtool.
I can provide a patch for David if you won't.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
I will send the patch removing the HW information.
Yevgeny
-----Original Message-----
From: Ben Hutchings [mailto:bhutchings@solarflare.com]
Sent: Thursday, March 24, 2011 5:40 AM
To: Yevgeny Petrilin
Cc: davem@davemloft.net; netdev@vger.kernel.org; Eugenia Emantayev
Subject: RE: [PATCH v2 08/16] mlx4_en: Reporting HW revision in ethtool
-i
On Wed, 2011-03-23 at 15:10 +0000, Yevgeny Petrilin wrote:
quoted
quoted
This is an abuse of the ethtool_drvinfo::driver field.
Your users can use lspci -v, can't they?
I don't think there is a problem here.
We have always reported the HW model via Ethtool, we just expanded
the information
quoted
we provide.
Our users prefer to see the information in ethtool.
I can provide a patch for David if you won't.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.