]> www.infradead.org Git - users/dwmw2/linux.git/commit
octeontx2-pf: Reuse PF max mtu value
authorGeetha sowjanya <gakula@marvell.com>
Wed, 23 Oct 2024 16:18:42 +0000 (21:48 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 00:50:32 +0000 (17:50 -0700)
commitdec6f5ebd724731091a81e452eff78de341c9e6a
treee62c7072ad28df3ee2537217f19e9024c833d555
parent03d80a1ba526032a2d13142221ffef6d13b6e129
octeontx2-pf: Reuse PF max mtu value

Reuse the maximum support HW MTU value that is fetch during probe.
Instead of fetching through mbox each time mtu is changed as the
value is fixed for interface.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241023161843.15543-4-gakula@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c