]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type
authorDaniel Golle <daniel@makrotopia.org>
Wed, 19 Jul 2023 00:39:36 +0000 (01:39 +0100)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:20:43 +0000 (17:20 +0200)
commit4e14e4668001508341fd20e4ef601ce654c6e818
treea3caac069d186db6ca78138728b627a9112e7fd1
parent979dc249fba481582e632dbd3699f6ef11b3c7eb
net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type

BugLink: https://bugs.launchpad.net/bugs/2037005
[ Upstream commit 9f9d4c1a2e82174a4e799ec405284a2b0de32b6a ]

entries and bind debugfs files would display wrong data on NETSYS_V2 and
later because instead of using mtk_get_ib1_pkt_type the driver would use
MTK_FOE_IB1_PACKET_TYPE which corresponds to NETSYS_V1(.x) SoCs.
Use mtk_get_ib1_pkt_type so entries and bind records display correctly.

Fixes: 03a3180e5c09e ("net: ethernet: mtk_eth_soc: introduce flow offloading support for mt7986")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/c0ae03d0182f4d27b874cbdf0059bc972c317f3c.1689727134.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c