]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mvpp2: TCAM entry enable should be written after SRAM data
authorStefan Chulski <stefanc@marvell.com>
Mon, 1 Feb 2021 09:35:39 +0000 (11:35 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Feb 2021 16:42:38 +0000 (08:42 -0800)
commit43f4a20a1266d393840ce010f547486d14cc0071
treee91807fbd876435a3fd5c1b29baf28c7d7a8e222
parent88c7a9fd9bdd3e453f04018920964c6f848a591a
net: mvpp2: TCAM entry enable should be written after SRAM data

Last TCAM data contains TCAM enable bit.
It should be written after SRAM data before entry enabled.

Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit")
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Link: https://lore.kernel.org/r/1612172139-28343-1-git-send-email-stefanc@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c