Commit eaa0355c authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 460e985e
...@@ -706,7 +706,7 @@ static const struct vcap_props vsc9953_vcap_props[] = { ...@@ -706,7 +706,7 @@ static const struct vcap_props vsc9953_vcap_props[] = {
.action_type_width = 1, .action_type_width = 1,
.action_table = { .action_table = {
[IS2_ACTION_TYPE_NORMAL] = { [IS2_ACTION_TYPE_NORMAL] = {
.width = 44, .width = 50, /* HIT_CNT not included */
.count = 2 .count = 2
}, },
[IS2_ACTION_TYPE_SMAC_SIP] = { [IS2_ACTION_TYPE_SMAC_SIP] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment