On Wed, 21 Jun 2017 16:04:46 +0300, Gal Pressman wrote: > Use the new ethtool link down reason api, and expose troubleshooting > info regarding the link status. > > Signed-off-by: Gal Pressman <g...@mellanox.com> > Signed-off-by: Saeed Mahameed <sae...@mellanox.com>
Is my reading correct that in case the reason is not in the pddr2ethtool_table opaque binary data will be passed from the firmware to user space? Is there any particular reason to allow for this? If it's just for the rare scenario where a new error code needs to be added perhaps it would be enough to dump the FW-provided message to the logs?