mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-10 11:59:48 +00:00
In preparation for lan969x VCAP support, add the following three new
VCAP constants to match data:
- vcaps_cfg (contains configuration data for each VCAP).
- vcaps (contains auto-generated information about VCAP keys and
actions).
- vcap_stats: (contains auto-generated string names of all the keys
and actions)
Add these constants to the Sparx5 match data constants and use them to
initialize the VCAP's in sparx5_vcap_init().
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
21 lines
514 B
C
21 lines
514 B
C
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
/* Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries.
|
|
* Microchip VCAP API
|
|
*/
|
|
|
|
/* This file is autogenerated by cml-utils 2022-10-13 10:04:41 +0200.
|
|
* Commit ID: fd7cafd175899f0672c73afb3a30fc872500ae86
|
|
*/
|
|
|
|
#ifndef __SPARX5_VCAP_AG_API_H__
|
|
#define __SPARX5_VCAP_AG_API_H__
|
|
|
|
#include "vcap_api.h"
|
|
|
|
/* VCAPs */
|
|
extern const struct vcap_info sparx5_vcaps[];
|
|
extern const struct vcap_statistics sparx5_vcap_stats;
|
|
|
|
#endif /* __SPARX5_VCAP_AG_API_H__ */
|
|
|