net/mlx5e: Add ethtool support for dump module EEPROM
authorGal Pressman <galp@mellanox.com>
Sun, 24 Apr 2016 19:51:54 +0000 (22:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 19:58:02 +0000 (15:58 -0400)
commitbb64143eee8c036a89b31daa4e9bf8360a8bded1
tree5600951064e81f2b2894a88241749116d8662bc6
parentda54d24ec3ef736de04c61a01653776a9750334f
net/mlx5e: Add ethtool support for dump module EEPROM

Add query MCIA, PMLP registers infrastructure and commands.
Add ethtool support for get_module_info() and get_module_eeprom()
callbacks.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/driver.h
include/linux/mlx5/port.h