[PATCH net-next 0/3] net: lan966x: Add support for ES0 VCAP

Horatiu Vultur horatiu.vultur at microchip.com
Tue May 9 00:26:42 PDT 2023


Provide the Egress Stage 0 (ES0) VCAP (Versatile Content-Aware
Processor) support for the lan966x platform.

The ES0 VCAP has only 1 lookup which is accessible with a TC chain
id 10000000.

Currently only one action is support which is vlan pop. Also it is
possible to link the IS1 to ES0 using 'goto chain 10000000'.

Horatiu Vultur (3):
  net: lan966x: Add ES0 VCAP model
  net: lan966x: Add ES0 VCAP keyset configuration for lan966x
  net: lan966x: Add TC support for ES0 VCAP

 .../ethernet/microchip/lan966x/lan966x_main.h |   3 +
 .../ethernet/microchip/lan966x/lan966x_regs.h |  15 +
 .../microchip/lan966x/lan966x_tc_flower.c     |  61 ++++
 .../microchip/lan966x/lan966x_vcap_ag_api.c   | 264 +++++++++++++++++-
 .../microchip/lan966x/lan966x_vcap_debugfs.c  |  23 ++
 .../microchip/lan966x/lan966x_vcap_impl.c     |  82 ++++++
 .../net/ethernet/microchip/vcap/vcap_ag_api.h |  67 +++--
 7 files changed, 485 insertions(+), 30 deletions(-)

-- 
2.38.0




More information about the linux-arm-kernel mailing list