diff options
author | Jiri Pirko | 2019-02-07 12:22:50 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-09 00:02:49 +0100 |
commit | c4c2dc54293c556b8a05b9da024f92f8225a9eb8 (patch) | |
tree | b0a73688b5c299a19ce94e868c819815c5f415ee /drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h | |
parent | mlxsw: spectrum_acl: Split chunk struct into chunk and vchunk (diff) | |
download | kernel-qcow2-linux-c4c2dc54293c556b8a05b9da024f92f8225a9eb8.tar.gz kernel-qcow2-linux-c4c2dc54293c556b8a05b9da024f92f8225a9eb8.tar.xz kernel-qcow2-linux-c4c2dc54293c556b8a05b9da024f92f8225a9eb8.zip |
mlxsw: spectrum_acl: Split entry struct into entry and ventry
Do the split of entry struct so the new entry struct is related to the
actual HW entry, whereas ventry struct is a SW abstration of that.
This split prepares possibility for ventry to hold 2 HW entries which
is needed for region ERP rehash flow.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h index 7e961a64eeaf..c6d4aac82ddb 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h @@ -43,7 +43,7 @@ struct mlxsw_sp_acl_profile_ops { struct mlxsw_sp_port *mlxsw_sp_port, bool ingress); u16 (*ruleset_group_id)(void *ruleset_priv); - size_t (*rule_priv_size)(struct mlxsw_sp *mlxsw_sp); + size_t rule_priv_size; int (*rule_add)(struct mlxsw_sp *mlxsw_sp, void *ruleset_priv, void *rule_priv, struct mlxsw_sp_acl_rule_info *rulei); |