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)
commit93be52612431e71ee8cb980ef11468997857e4c4
tree132a01192ade703e87a4166b7581335d57398ea8
parente33de7c5317e2827b2ba6fd120a505e9eb727b05
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: 8a52bbab39c9 (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