net: dsa: mv88e6xxx: Remove some bureaucracy around querying the VTU
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 18 Mar 2021 19:25:36 +0000 (20:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 23:24:06 +0000 (16:24 -0700)
commit34065c58306dab883deb323f2edf6074f2225c19
treefabc93034f637761f38a1b2e65235acd618a59d4
parentd89ef4b8b39cdb88675b2629b35dc9ffdf5ca347
net: dsa: mv88e6xxx: Remove some bureaucracy around querying the VTU

The hardware has a somewhat quirky protocol for reading out the VTU
entry for a particular VID. But there is no reason why we cannot
create a better API for ourselves in the driver.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c