net: lan966x: debugfs: Fix showing the port keyset
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Sun, 28 Jan 2024 19:51:34 +0000 (20:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jan 2024 13:35:19 +0000 (13:35 +0000)
commite746094b1bb09efa2eaacf5e945f78a0e09c9c35
tree77a4ce74bd27008429732f04d4c6f2b7570a0c45
parent737fc16129cf286185c54ba6937d850d530b6787
net: lan966x: debugfs: Fix showing the port keyset

On lan966x, it is possible to use debugfs to print different information
about the VCAPs. Information like, if it is enabled, how the ports are
configured, print the actual rules. The issue is that when printing how
the ports are configured for IS1 lookups, it was parsing the wrong
register to get this information. The fix consists in reading the
correct register that contains this information.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_vcap_debugfs.c