]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc67fa0332721c9baa850cbd4043eb09cfbb5809a
treefcd91eb30e100df05471b3ceeffa3e453625f8d5
parent6760911b161a638a5dfd33d6cb698535026a6791
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