diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-09-29 14:20:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-29 23:24:17 +0300 |
commit | eaa0355c668d2793e6ced32926fa22d518752845 (patch) | |
tree | 965a041f5288d196c675578d3db894fa141ed1f6 /drivers | |
parent | 460e985ea07ec23d46af257e84e57b5409576577 (diff) | |
download | linux-eaa0355c668d2793e6ced32926fa22d518752845.tar.xz |
net: dsa: seville: fix VCAP IS2 action width
Since the actions are packed together in the action RAM, an incorrect
action width means that no action except the first one would behave
correctly.
The tc-flower offload has probably not been tested on this hardware
since its introduction.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/dsa/ocelot/seville_vsc9953.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/ocelot/seville_vsc9953.c b/drivers/net/dsa/ocelot/seville_vsc9953.c index 29df0797ecf5..110070a60041 100644 --- a/drivers/net/dsa/ocelot/seville_vsc9953.c +++ b/drivers/net/dsa/ocelot/seville_vsc9953.c @@ -706,7 +706,7 @@ static const struct vcap_props vsc9953_vcap_props[] = { .action_type_width = 1, .action_table = { [IS2_ACTION_TYPE_NORMAL] = { - .width = 44, + .width = 50, /* HIT_CNT not included */ .count = 2 }, [IS2_ACTION_TYPE_SMAC_SIP] = { |