mlxsw: pci: Retrieve mirror reason from CQE during receive
authorIdo Schimmel <idosch@mellanox.com>
Tue, 14 Jul 2020 14:21:05 +0000 (17:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 21:50:50 +0000 (14:50 -0700)
commiteacc86ec510b9ad64d6dddf3a9924c29d1c4f57b
treefcd91eb30e100df05471b3ceeffa3e453625f8d5
parenta76423a144a8a109cffbd7311c3278f8a856b25f
mlxsw: pci: Retrieve mirror reason from CQE during receive

In case the mirror reason is valid, retrieve it into the Rx information
so that it could be used during listener lookup in a later patch.

Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/pci.c