mbox series

[net-next,0/3] Offload tc-vlan mangle to mscc_ocelot switch

Message ID 20201008115700.255648-1-vladimir.oltean@nxp.com
Headers show
Series Offload tc-vlan mangle to mscc_ocelot switch | expand

Message

Vladimir Oltean Oct. 8, 2020, 11:56 a.m. UTC
This series offloads one more action to the VCAP IS1 ingress TCAM, which
is to change the classified VLAN for packets, according to the VCAP IS1
keys (VLAN, source MAC, source IP, EtherType, etc).

Vladimir Oltean (3):
  net: mscc: ocelot: offload VLAN mangle action to VCAP IS1
  net: dsa: tag_ocelot: use VLAN information from tagging header when
    available
  selftests: net: mscc: ocelot: add test for VLAN modify action

 drivers/net/ethernet/mscc/ocelot.c            | 15 +++++-
 drivers/net/ethernet/mscc/ocelot_flower.c     | 29 ++++++++++--
 net/dsa/tag_ocelot.c                          | 34 ++++++++++++++
 .../drivers/net/ocelot/tc_flower_chains.sh    | 47 ++++++++++++++++++-
 4 files changed, 119 insertions(+), 6 deletions(-)

Comments

Jakub Kicinski Oct. 11, 2020, 6:21 p.m. UTC | #1
On Thu,  8 Oct 2020 14:56:57 +0300 Vladimir Oltean wrote:
> This series offloads one more action to the VCAP IS1 ingress TCAM, which
> is to change the classified VLAN for packets, according to the VCAP IS1
> keys (VLAN, source MAC, source IP, EtherType, etc).

Applied, thanks!