[PATCH net-next 0/9] Add support for lan966x IS2 VCAP
From: Horatiu Vultur
Date: Fri Nov 25 2022 - 04:48:30 EST
This provides initial support for lan966x for 'tc' traffic control
userspace tool and its flower filter. For this is required to use
the VCAP library.
Currently supported flower filter keys and actions are:
- source and destination MAC address keys
- trap action
Horatiu Vultur (9):
net: microchip: vcap: Merge the vcap_ag_api_kunit.h into vcap_ag_api.h
net: microchip: vcap: Extend vcap with lan966x
net: lan966x: Add initial VCAP
net: lan966x: Add is2 vcap model to vcap API.
net: lan966x: add vcap registers
net: lan966x: add tc flower support for VCAP API
net: lan966x: add tc matchall goto action
net: lan966x: Add port keyset config and callback interface
net: microchip: vcap: Implement w32be
.../net/ethernet/microchip/lan966x/Kconfig | 1 +
.../net/ethernet/microchip/lan966x/Makefile | 6 +-
.../ethernet/microchip/lan966x/lan966x_goto.c | 54 +
.../ethernet/microchip/lan966x/lan966x_main.c | 11 +
.../ethernet/microchip/lan966x/lan966x_main.h | 18 +
.../ethernet/microchip/lan966x/lan966x_regs.h | 196 ++
.../ethernet/microchip/lan966x/lan966x_tc.c | 2 +
.../microchip/lan966x/lan966x_tc_flower.c | 262 +++
.../microchip/lan966x/lan966x_tc_matchall.c | 6 +
.../microchip/lan966x/lan966x_vcap_ag_api.c | 1608 +++++++++++++++++
.../microchip/lan966x/lan966x_vcap_ag_api.h | 11 +
.../microchip/lan966x/lan966x_vcap_impl.c | 550 ++++++
.../net/ethernet/microchip/vcap/vcap_ag_api.h | 561 +++++-
.../microchip/vcap/vcap_ag_api_kunit.h | 643 -------
.../net/ethernet/microchip/vcap/vcap_api.c | 116 +-
.../net/ethernet/microchip/vcap/vcap_api.h | 3 -
16 files changed, 3321 insertions(+), 727 deletions(-)
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_goto.c
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_vcap_ag_api.c
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_vcap_ag_api.h
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_vcap_impl.c
delete mode 100644 drivers/net/ethernet/microchip/vcap/vcap_ag_api_kunit.h
--
2.38.0