net: microchip: sparx5: Adding initial VCAP API support
authorSteen Hegelund <steen.hegelund@microchip.com>
Thu, 20 Oct 2022 13:08:56 +0000 (15:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2022 09:37:42 +0000 (10:37 +0100)
commit8beef08f4618c9bfab9374fc72930fc6ed70fdc1
treef25eef3f306de3e5a3e2b41905990db48b9ea6eb
parentabc210952af71f4eb88bf8074c9982c17779c00f
net: microchip: sparx5: Adding initial VCAP API support

This provides the initial VCAP API framework and Sparx5 specific VCAP
implementation.

When the Sparx5 Switchdev driver is initialized it will also initialize its
VCAP module, and this hooks up the concrete Sparx5 VCAP model to the VCAP
API, so that the VCAP API knows what VCAP instances are available.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/ethernet/microchip/Kconfig
drivers/net/ethernet/microchip/sparx5/Kconfig
drivers/net/ethernet/microchip/sparx5/Makefile
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/microchip/sparx5/sparx5_vcap_impl.c [new file with mode: 0644]
drivers/net/ethernet/microchip/vcap/Kconfig [new file with mode: 0644]
drivers/net/ethernet/microchip/vcap/vcap_ag_api.h [new file with mode: 0644]
drivers/net/ethernet/microchip/vcap/vcap_api.h [new file with mode: 0644]