mirror of
https://github.com/torvalds/linux.git
synced 2026-05-03 14:02:43 -04:00
net: microchip: sparx5: Add ingress information to VCAP instance
This allows the check of the goto action to be specific to the ingress and egress VCAP instances. The debugfs support is also updated to show this information. Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b95d9e2c20
commit
e7e3f51471
@@ -389,6 +389,7 @@ static const char * const test_admin_info_expect[] = {
|
||||
"version: 1\n",
|
||||
"vtype: 2\n",
|
||||
"vinst: 0\n",
|
||||
"ingress: 1\n",
|
||||
"first_cid: 10000\n",
|
||||
"last_cid: 19999\n",
|
||||
"lookups: 4\n",
|
||||
@@ -407,6 +408,7 @@ static void vcap_api_show_admin_test(struct kunit *test)
|
||||
.last_valid_addr = 3071,
|
||||
.first_valid_addr = 0,
|
||||
.last_used_addr = 794,
|
||||
.ingress = true,
|
||||
};
|
||||
struct vcap_output_print out = {
|
||||
.prf = (void *)test_prf,
|
||||
@@ -435,6 +437,7 @@ static const char * const test_admin_expect[] = {
|
||||
"version: 1\n",
|
||||
"vtype: 2\n",
|
||||
"vinst: 0\n",
|
||||
"ingress: 1\n",
|
||||
"first_cid: 8000000\n",
|
||||
"last_cid: 8199999\n",
|
||||
"lookups: 4\n",
|
||||
@@ -496,6 +499,7 @@ static void vcap_api_show_admin_rule_test(struct kunit *test)
|
||||
.last_valid_addr = 3071,
|
||||
.first_valid_addr = 0,
|
||||
.last_used_addr = 794,
|
||||
.ingress = true,
|
||||
.cache = {
|
||||
.keystream = keydata,
|
||||
.maskstream = mskdata,
|
||||
|
||||
Reference in New Issue
Block a user