Searched hist:e42bd4ed09aaf57949f199ae02d20a7108ccf73b (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot_vcap.h | diff e42bd4ed09aaf57949f199ae02d20a7108ccf73b Wed Feb 16 08:30:10 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: keep traps in a list
When using the ocelot-8021q tagging protocol, the CPU port isn't configured as an NPI port, but is a regular port. So a "trap to CPU" operation is actually a "redirect" operation. So DSA needs to set up the trapping action one way or another, depending on the tagging protocol in use.
To ease DSA's work of modifying the action, keep all currently installed traps in a list, so that DSA can live-patch them when the tagging protocol changes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ocelot.h | diff e42bd4ed09aaf57949f199ae02d20a7108ccf73b Wed Feb 16 08:30:10 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: keep traps in a list
When using the ocelot-8021q tagging protocol, the CPU port isn't configured as an NPI port, but is a regular port. So a "trap to CPU" operation is actually a "redirect" operation. So DSA needs to set up the trapping action one way or another, depending on the tagging protocol in use.
To ease DSA's work of modifying the action, keep all currently installed traps in a list, so that DSA can live-patch them when the tagging protocol changes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.c | diff e42bd4ed09aaf57949f199ae02d20a7108ccf73b Wed Feb 16 08:30:10 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: keep traps in a list
When using the ocelot-8021q tagging protocol, the CPU port isn't configured as an NPI port, but is a regular port. So a "trap to CPU" operation is actually a "redirect" operation. So DSA needs to set up the trapping action one way or another, depending on the tagging protocol in use.
To ease DSA's work of modifying the action, keep all currently installed traps in a list, so that DSA can live-patch them when the tagging protocol changes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ocelot_flower.c | diff e42bd4ed09aaf57949f199ae02d20a7108ccf73b Wed Feb 16 08:30:10 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: keep traps in a list
When using the ocelot-8021q tagging protocol, the CPU port isn't configured as an NPI port, but is a regular port. So a "trap to CPU" operation is actually a "redirect" operation. So DSA needs to set up the trapping action one way or another, depending on the tagging protocol in use.
To ease DSA's work of modifying the action, keep all currently installed traps in a list, so that DSA can live-patch them when the tagging protocol changes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ocelot.c | diff e42bd4ed09aaf57949f199ae02d20a7108ccf73b Wed Feb 16 08:30:10 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: keep traps in a list
When using the ocelot-8021q tagging protocol, the CPU port isn't configured as an NPI port, but is a regular port. So a "trap to CPU" operation is actually a "redirect" operation. So DSA needs to set up the trapping action one way or another, depending on the tagging protocol in use.
To ease DSA's work of modifying the action, keep all currently installed traps in a list, so that DSA can live-patch them when the tagging protocol changes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|