.. | .. |
---|
67 | 67 | mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, |
---|
68 | 68 | ®ion->catchall.cchunk, |
---|
69 | 69 | MLXSW_SP_ACL_TCAM_CATCHALL_PRIO); |
---|
70 | | - rulei = mlxsw_sp_acl_rulei_create(mlxsw_sp->acl); |
---|
| 70 | + rulei = mlxsw_sp_acl_rulei_create(mlxsw_sp->acl, NULL); |
---|
71 | 71 | if (IS_ERR(rulei)) { |
---|
72 | 72 | err = PTR_ERR(rulei); |
---|
73 | 73 | goto err_rulei_create; |
---|
.. | .. |
---|
112 | 112 | static int |
---|
113 | 113 | mlxsw_sp1_acl_tcam_region_init(struct mlxsw_sp *mlxsw_sp, void *region_priv, |
---|
114 | 114 | void *tcam_priv, |
---|
115 | | - struct mlxsw_sp_acl_tcam_region *_region) |
---|
| 115 | + struct mlxsw_sp_acl_tcam_region *_region, |
---|
| 116 | + void *hints_priv) |
---|
116 | 117 | { |
---|
117 | 118 | struct mlxsw_sp1_acl_tcam_region *region = region_priv; |
---|
118 | 119 | int err; |
---|
.. | .. |
---|
193 | 194 | } |
---|
194 | 195 | |
---|
195 | 196 | static int |
---|
| 197 | +mlxsw_sp1_acl_tcam_entry_action_replace(struct mlxsw_sp *mlxsw_sp, |
---|
| 198 | + void *region_priv, void *entry_priv, |
---|
| 199 | + struct mlxsw_sp_acl_rule_info *rulei) |
---|
| 200 | +{ |
---|
| 201 | + return -EOPNOTSUPP; |
---|
| 202 | +} |
---|
| 203 | + |
---|
| 204 | +static int |
---|
196 | 205 | mlxsw_sp1_acl_tcam_region_entry_activity_get(struct mlxsw_sp *mlxsw_sp, |
---|
197 | 206 | struct mlxsw_sp_acl_tcam_region *_region, |
---|
198 | 207 | unsigned int offset, |
---|
.. | .. |
---|
240 | 249 | .entry_priv_size = sizeof(struct mlxsw_sp1_acl_tcam_entry), |
---|
241 | 250 | .entry_add = mlxsw_sp1_acl_tcam_entry_add, |
---|
242 | 251 | .entry_del = mlxsw_sp1_acl_tcam_entry_del, |
---|
| 252 | + .entry_action_replace = mlxsw_sp1_acl_tcam_entry_action_replace, |
---|
243 | 253 | .entry_activity_get = mlxsw_sp1_acl_tcam_entry_activity_get, |
---|
244 | 254 | }; |
---|