net: dsa: felix: fix incorrect action offsets for VCAP IS2
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 29 Sep 2020 11:20:24 +0000 (14:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:24:17 +0000 (13:24 -0700)
commit460e985ea07ec23d46af257e84e57b5409576577
tree504420aa7b7179fabe6958a50e4e3f809c5a43c0
parentbbc4d71d63549bcd003a430de18a72a742d8c91e
net: dsa: felix: fix incorrect action offsets for VCAP IS2

The port mask width was larger than the actual number of ports, and
therefore, all fields following this one were also shifted by the number
of excess bits. But the driver doesn't use the REW_OP, SMAC_REPLACE_ENA
or ACL_ID bits from the action vector, so the bug was inconsequential.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix_vsc9959.c