diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-10-02 15:02:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-02 15:40:30 -0700 |
commit | 16a7a15f4b14c4e188d153786f433f1c8f103ebb (patch) | |
tree | 037ca386c29b0098ab23883675b847ef51c2281c /tools | |
parent | f854e6f6f450c988cf2531e9551431de300a8719 (diff) | |
download | lwn-16a7a15f4b14c4e188d153786f433f1c8f103ebb.tar.gz lwn-16a7a15f4b14c4e188d153786f433f1c8f103ebb.zip |
net: mscc: ocelot: offload redirect action to VCAP IS2
Via the OCELOT_MASK_MODE_REDIRECT flag put in the IS2 action vector, it
is possible to replace previous forwarding decisions with the port mask
installed in this rule.
I have studied Table 54 "MASK_MODE and PORT_MASK Combinations" from the
VSC7514 documentation and it appears to behave sanely when this rule is
installed in either lookup 0 or 1. Namely, a redirect in lookup 1 will
overwrite the forwarding decision taken by any entry in lookup 0.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions