]> git.itanic.dy.fi Git - linux-stable/commit
octeontx2-af: optimize cpt pf identification
authorSrujana Challa <schalla@marvell.com>
Wed, 18 Jan 2023 12:03:51 +0000 (17:33 +0530)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:21:01 +0000 (18:21 -0400)
commit8b1140c5808b0ad694984357676c0f569590bcec
tree628a46ac4d6948e62b48ba9ec353547ee458a942
parent35d8af38f1993678321ecf5c6f99e128ea3dd944
octeontx2-af: optimize cpt pf identification

[ Upstream commit 9adb04ff62f51265002c2c83e718bcf459e06e48 ]

Optimize CPT PF identification in mbox handling for faster
mbox response by doing it at AF driver probe instead of
every mbox message.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: a88e0f936ba9 ("octeontx2: Detect the mbox up or down message via register")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c