Searched hist:aba462134634b502d720e15b23154f21cfa277e5 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | diff aba462134634b502d720e15b23154f21cfa277e5 Sun Feb 25 05:39:53 CST 2018 Daniel Jurgens <danielj@mellanox.com> {net, IB}/mlx5: Raise fatal IB event when sys error occurs
All other mlx5_events report the port number as 1 based, which is how FW reports it in the port event EQE. Reporting 0 for this event causes mlx5_ib to not raise a fatal event notification to registered clients due to a seemingly invalid port.
All switch cases in mlx5_ib_event that go through the port check are supposed to set the port now, so just do it once at variable declaration.
Fixes: 89d44f0a6c73("net/mlx5_core: Add pci error handlers to mlx5_core driver") Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | diff aba462134634b502d720e15b23154f21cfa277e5 Sun Feb 25 05:39:53 CST 2018 Daniel Jurgens <danielj@mellanox.com> {net, IB}/mlx5: Raise fatal IB event when sys error occurs
All other mlx5_events report the port number as 1 based, which is how FW reports it in the port event EQE. Reporting 0 for this event causes mlx5_ib to not raise a fatal event notification to registered clients due to a seemingly invalid port.
All switch cases in mlx5_ib_event that go through the port check are supposed to set the port now, so just do it once at variable declaration.
Fixes: 89d44f0a6c73("net/mlx5_core: Add pci error handlers to mlx5_core driver") Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
|