Commit a5cc98ad authored by Steen Hegelund's avatar Steen Hegelund Committed by Paolo Abeni

net: microchip: sparx5: Add ES0 VCAP model and updated KUNIT VCAP model

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: default avatarSteen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent b5b0c364
...@@ -387,7 +387,7 @@ static const char * const test_admin_info_expect[] = { ...@@ -387,7 +387,7 @@ static const char * const test_admin_info_expect[] = {
"default_cnt: 73\n", "default_cnt: 73\n",
"require_cnt_dis: 0\n", "require_cnt_dis: 0\n",
"version: 1\n", "version: 1\n",
"vtype: 2\n", "vtype: 3\n",
"vinst: 0\n", "vinst: 0\n",
"ingress: 1\n", "ingress: 1\n",
"first_cid: 10000\n", "first_cid: 10000\n",
...@@ -435,7 +435,7 @@ static const char * const test_admin_expect[] = { ...@@ -435,7 +435,7 @@ static const char * const test_admin_expect[] = {
"default_cnt: 73\n", "default_cnt: 73\n",
"require_cnt_dis: 0\n", "require_cnt_dis: 0\n",
"version: 1\n", "version: 1\n",
"vtype: 2\n", "vtype: 3\n",
"vinst: 0\n", "vinst: 0\n",
"ingress: 1\n", "ingress: 1\n",
"first_cid: 8000000\n", "first_cid: 8000000\n",
......
/* SPDX-License-Identifier: BSD-3-Clause */ /* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries. /* Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries.
* Microchip VCAP test model interface for kunit testing * Microchip VCAP test model interface for kunit testing
*/ */
/* This file is autogenerated by cml-utils 2023-02-10 11:16:00 +0100.
* Commit ID: c30fb4bf0281cd4a7133bdab6682f9e43c872ada
*/
#ifndef __VCAP_MODEL_KUNIT_H__ #ifndef __VCAP_MODEL_KUNIT_H__
#define __VCAP_MODEL_KUNIT_H__ #define __VCAP_MODEL_KUNIT_H__
/* VCAPs */
extern const struct vcap_info kunit_test_vcaps[]; extern const struct vcap_info kunit_test_vcaps[];
extern const struct vcap_statistics kunit_test_vcap_stats; extern const struct vcap_statistics kunit_test_vcap_stats;
#endif /* __VCAP_MODEL_KUNIT_H__ */ #endif /* __VCAP_MODEL_KUNIT_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment