Home
last modified time | relevance | path

Searched refs:ht_key (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_atcam.c29 struct mlxsw_sp_acl_atcam_lkey_id_ht_key ht_key; member
168 struct mlxsw_sp_acl_atcam_lkey_id_ht_key *ht_key) in mlxsw_sp_acl_atcam_lkey_id_create() argument
189 memcpy(&lkey_id->ht_key, ht_key, sizeof(*ht_key)); in mlxsw_sp_acl_atcam_lkey_id_create()
226 struct mlxsw_sp_acl_atcam_lkey_id_ht_key ht_key = {{ 0 } }; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() local
231 memcpy(ht_key.enc_key, enc_key, sizeof(ht_key.enc_key)); in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
232 mlxsw_afk_clear(afk, ht_key.enc_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
235 ht_key.erp_id = erp_id; in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
403 aentry->ht_key.enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_insert()
432 aentry->ht_key.enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_remove()
461 aentry->ht_key.enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_action_replace()
[all …]
H A Dspectrum_acl.c57 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member
181 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create()
182 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create()
183 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create()
242 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local
244 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup()
245 ht_key.block = block; in __mlxsw_sp_acl_ruleset_lookup()
246 ht_key.chain_index = chain_index; in __mlxsw_sp_acl_ruleset_lookup()
247 ht_key.ops = ops; in __mlxsw_sp_acl_ruleset_lookup()
876 if (!ruleset->ht_key.chain_index && in mlxsw_sp_acl_rule_add()
[all …]
H A Dcore_acl_flex_actions.c91 struct mlxsw_afa_set_ht_key ht_key; member
121 struct mlxsw_afa_fwd_entry_ht_key ht_key; member
258 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_goto_set()
269 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_next_set()
284 set->ht_key.is_first = is_first; in mlxsw_afa_set_create()
305 set->ht_key.enc_actions, in mlxsw_afa_set_share()
306 set->ht_key.is_first); in mlxsw_afa_set_share()
324 set->ht_key.is_first); in mlxsw_afa_set_unshare()
500 return block->cur_set->ht_key.enc_actions; in mlxsw_afa_block_cur_set()
566 fwd_entry->ht_key.local_port = local_port; in mlxsw_afa_fwd_entry_create()
[all …]
H A Dspectrum_acl_bloom_filter.c244 erp_region_id = cpu_to_be16(aentry->ht_key.erp_id | in __mlxsw_sp_acl_bf_key_encode()
252 &aentry->ht_key.enc_key[chunk_key_offsets[chunk_index]], in __mlxsw_sp_acl_bf_key_encode()
H A Dspectrum_acl_tcam.h183 struct mlxsw_sp_acl_atcam_entry_ht_key ht_key; member
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_acl.c54 struct prestera_acl_ruleset_ht_key ht_key; member
153 ruleset->ht_key.block = block; in prestera_acl_ruleset_create()
154 ruleset->ht_key.chain_index = chain_index; in prestera_acl_ruleset_create()
212 ruleset->ht_key.chain_index, in prestera_acl_ruleset_offload()
218 if (ruleset->ht_key.chain_index) { in prestera_acl_ruleset_offload()
250 if (ruleset->ht_key.chain_index) { in prestera_acl_ruleset_destroy()
273 struct prestera_acl_ruleset_ht_key ht_key; in __prestera_acl_ruleset_lookup() local
275 memset(&ht_key, 0, sizeof(ht_key)); in __prestera_acl_ruleset_lookup()
276 ht_key.block = block; in __prestera_acl_ruleset_lookup()
277 ht_key.chain_index = chain_index; in __prestera_acl_ruleset_lookup()
[all …]