diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-02-16 17:30:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-17 17:06:51 +0300 |
commit | c518afec288351347dbe05ea3d49d18fb9a9fff1 (patch) | |
tree | cd3e01522e9deb08a624ea0afe18959c66fead95 /tools/testing | |
parent | e3c02b7c655cdfff240a7b8bfeff5ea06c006e12 (diff) | |
download | linux-c518afec288351347dbe05ea3d49d18fb9a9fff1.tar.xz |
net: mscc: ocelot: consolidate cookie allocation for private VCAP rules
Every use case that needed VCAP filters (in order: DSA tag_8021q, MRP,
PTP traps) has hardcoded filter identifiers that worked well enough for
that use case alone. But when two or more of those use cases would be
used together, some of those identifiers would overlap, leading to
breakage.
Add definitions for each cookie and centralize them in ocelot_vcap.h,
such that the overlaps are more obvious.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions