[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221125095010.124458-1-horatiu.vultur@microchip.com>
Date: Fri, 25 Nov 2022 10:50:01 +0100
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <lars.povlsen@...rochip.com>,
<Steen.Hegelund@...rochip.com>, <daniel.machon@...rochip.com>,
<UNGLinuxDriver@...rochip.com>,
Horatiu Vultur <horatiu.vultur@...rochip.com>
Subject: [PATCH net-next 0/9] Add support for lan966x IS2 VCAP
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
Powered by blists - more mailing lists