mlxsw: Adjust some MFDE fields shift and size to fw implementation
authorDanielle Ratson <danieller@nvidia.com>
Wed, 10 Mar 2021 11:02:20 +0000 (13:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 21:04:57 +0000 (13:04 -0800)
commit4734a750f4674631ab9896189810b57700597aa7
tree55deb69d1e109711975bca59068ac2b17c1ad1ff
parent315afd2068a861650510f31cfed11c138062172a
mlxsw: Adjust some MFDE fields shift and size to fw implementation

MFDE.irisc_id and MFDE.event_id were adjusted according to what is
actually implemented in firmware.

Adjust the shift and size of these fields in mlxsw as well.

Note that the displacement of the first field is not a regression.
It was always incorrect and therefore reported "0".

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/reg.h