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)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Jul 2023 04:15:04 +0000 (21:15 -0700)
commit9f9d4c1a2e82174a4e799ec405284a2b0de32b6a
tree3ef45f8346fc5307e99449cf607a8135366f84c5
parent88f2e009761d120eea31e71dafd73b8433b0e379
net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type

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>
drivers/net/ethernet/mediatek/mtk_ppe_debugfs.c