Re: [PATCH net-next v2 06/10] net: microchip: sparx5: Add ES0 VCAP model and updated KUNIT VCAP model
From: Paolo Abeni
Date: Thu Feb 16 2023 - 03:10:57 EST
On Tue, 2023-02-14 at 11:40 +0100, Steen Hegelund wrote:
> This provides the VCAP model for the Sparx5 ES0 (Egress Stage 0) VCAP.
>
> This VCAP provides rewriting functionality in the egress path.
>
> Signed-off-by: Steen Hegelund <steen.hegelund@xxxxxxxxxxxxx>
> ---
> .../microchip/sparx5/sparx5_vcap_ag_api.c | 385 +++++++++++++++++-
> .../net/ethernet/microchip/vcap/vcap_ag_api.h | 174 +++++++-
> .../microchip/vcap/vcap_api_debugfs_kunit.c | 4 +-
> .../microchip/vcap/vcap_model_kunit.c | 270 +++++++-----
> .../microchip/vcap/vcap_model_kunit.h | 10 +-
> 5 files changed, 721 insertions(+), 122 deletions(-)
>
> diff --git a/drivers/net/ethernet/microchip/sparx5/sparx5_vcap_ag_api.c b/drivers/net/ethernet/microchip/sparx5/sparx5_vcap_ag_api.c
> index 561001ee0516..556d6ea0acd1 100644
> --- a/drivers/net/ethernet/microchip/sparx5/sparx5_vcap_ag_api.c
> +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_vcap_ag_api.c
> @@ -3,8 +3,8 @@
> * Microchip VCAP API
> */
>
> -/* This file is autogenerated by cml-utils 2023-01-17 16:55:38 +0100.
> - * Commit ID: cc027a9bd71002aebf074df5ad8584fe1545e05e
> +/* This file is autogenerated by cml-utils 2023-02-10 11:15:56 +0100.
> + * Commit ID: c30fb4bf0281cd4a7133bdab6682f9e43c872ada
> */
If the following has been already discussed, I'm sorry for the
duplicates, I missed the relevant thread.
Since this drivers contains quite a bit of auto-generated code, I'm
wondering if you could share the tool and/or the source file, too. That
would make reviews more accurate.
Thanks,
Paolo