diff options
| author | Steen Hegelund <steen.hegelund@microchip.com> | 2023-01-27 14:08:28 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-01-30 07:36:22 +0000 |
| commit | e7e3f514713e87a2c09d774aec88c2a9b117e76f (patch) | |
| tree | 7126ea273210093dbf6137e86b524737fc471ad0 /drivers/net/ethernet/microchip/vcap/vcap_api.h | |
| parent | b95d9e2c20c912806f5427d7bbf1a63207575f13 (diff) | |
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>
Diffstat (limited to 'drivers/net/ethernet/microchip/vcap/vcap_api.h')
| -rw-r--r-- | drivers/net/ethernet/microchip/vcap/vcap_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/microchip/vcap/vcap_api.h b/drivers/net/ethernet/microchip/vcap/vcap_api.h index 40491116b0a9..62db270f65af 100644 --- a/drivers/net/ethernet/microchip/vcap/vcap_api.h +++ b/drivers/net/ethernet/microchip/vcap/vcap_api.h @@ -176,6 +176,7 @@ struct vcap_admin { int first_valid_addr; /* bottom of address range to be used */ int last_used_addr; /* address of lowest added rule */ bool w32be; /* vcap uses "32bit-word big-endian" encoding */ + bool ingress; /* chain traffic direction */ struct vcap_cache_data cache; /* encoded rule data */ }; |
