Home
last modified time | relevance | path

Searched hist:c518afec288351347dbe05ea3d49d18fb9a9fff1 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_mrp.cdiff c518afec288351347dbe05ea3d49d18fb9a9fff1 Wed Feb 16 08:30:05 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
H A Docelot.cdiff c518afec288351347dbe05ea3d49d18fb9a9fff1 Wed Feb 16 08:30:05 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
/openbmc/linux/include/soc/mscc/
H A Docelot_vcap.hdiff c518afec288351347dbe05ea3d49d18fb9a9fff1 Wed Feb 16 08:30:05 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.cdiff c518afec288351347dbe05ea3d49d18fb9a9fff1 Wed Feb 16 08:30:05 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> 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>