diff options
| author | Danielle Ratson <danieller@nvidia.com> | 2022-01-26 12:30:31 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-01-26 11:15:42 +0000 |
| commit | 5eaec6d868054792e42ee9ad0e727ab626772611 (patch) | |
| tree | fa6bd0ecb82dbc11372de1099bf08358c630e237 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 6af5f7b674e441c62a1be9a6cf2670054b3dafd3 (diff) | |
mlxsw: Add netdev argument to mlxsw_env_get_module_info()
The next patches will forbid querying the port module's EEPROM info when
its type is RJ45 as in this case no transceiver module can ever be
connected to the port.
Add netdev argument to mlxsw_env_get_module_info() so it could be used
to print an error to the kernel log via netdev_err().
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
