]> git.baikalelectronics.ru Git - kernel.git/commit
qed: fix ILT configuration of SRC block
authorDmitry Bogdanov <dbogdanov@marvell.com>
Mon, 16 Nov 2020 13:29:44 +0000 (16:29 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Nov 2020 00:35:32 +0000 (16:35 -0800)
commit746800f051838169cbdad586f90f72852eff0851
tree132a01192ade703e87a4166b7581335d57398ea8
parenta1ced5cce636d4162e155fdc8bf6e0502204d1ae
qed: fix ILT configuration of SRC block

The code refactoring of ILT configuration was not complete, the old
unused variables were used for the SRC block. That could lead to the memory
corruption by HW when rx filters are configured.
This patch completes that refactoring.

Fixes: 82c690785372 (qed: Debug feature: ilt and mdump)
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Link: https://lore.kernel.org/r/20201116132944.2055-1-dbogdanov@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_cxt.c
drivers/net/ethernet/qlogic/qed/qed_cxt.h