Home
last modified time | relevance | path

Searched refs:aentry (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_atcam.c398 aentry->lkey_id = lkey_id; in mlxsw_sp_acl_atcam_region_entry_insert()
405 aentry->delta_info.mask, in mlxsw_sp_acl_atcam_region_entry_insert()
489 aentry->erp_mask = erp_mask; in __mlxsw_sp_acl_atcam_entry_add()
498 aentry->delta_info.value = in __mlxsw_sp_acl_atcam_entry_add()
512 &aentry->ht_node, in __mlxsw_sp_acl_atcam_entry_add()
537 list_del(&aentry->list); in __mlxsw_sp_acl_atcam_entry_add()
548 mlxsw_sp_acl_erp_bf_remove(mlxsw_sp, aregion, aentry->erp_mask, aentry); in __mlxsw_sp_acl_atcam_entry_del()
551 list_del(&aentry->list); in __mlxsw_sp_acl_atcam_entry_del()
562 aentry, rulei); in __mlxsw_sp_acl_atcam_entry_action_replace()
613 &aentry->centry, in mlxsw_sp_acl_atcam_entry_action_replace()
[all …]
H A Dspectrum_acl_bloom_filter.c233 struct mlxsw_sp_acl_atcam_entry *aentry, in __mlxsw_sp_acl_bf_key_encode() argument
244 erp_region_id = cpu_to_be16(aentry->ht_key.erp_id | in __mlxsw_sp_acl_bf_key_encode()
261 struct mlxsw_sp_acl_atcam_entry *aentry, in mlxsw_sp2_acl_bf_key_encode() argument
264 __mlxsw_sp_acl_bf_key_encode(aregion, aentry, output, len, in mlxsw_sp2_acl_bf_key_encode()
275 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp2_acl_bf_index_get() argument
280 mlxsw_sp2_acl_bf_key_encode(aregion, aentry, bf_key, &bf_size); in mlxsw_sp2_acl_bf_index_get()
374 struct mlxsw_sp_acl_atcam_entry *aentry, in mlxsw_sp4_acl_bf_key_encode() argument
381 __mlxsw_sp_acl_bf_key_encode(aregion, aentry, output, len, in mlxsw_sp4_acl_bf_key_encode()
393 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp4_acl_bf_index_get() argument
415 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_bf_entry_add() argument
[all …]
H A Dspectrum2_acl_tcam.c26 struct mlxsw_sp_acl_atcam_entry aentry; member
36 struct mlxsw_sp_acl_atcam_entry *aentry; in mlxsw_sp2_acl_ctcam_region_entry_insert() local
40 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_insert()
45 aentry->erp_mask = erp_mask; in mlxsw_sp2_acl_ctcam_region_entry_insert()
55 struct mlxsw_sp_acl_atcam_entry *aentry; in mlxsw_sp2_acl_ctcam_region_entry_remove() local
58 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_remove()
60 mlxsw_sp_acl_erp_mask_put(aregion, aentry->erp_mask); in mlxsw_sp2_acl_ctcam_region_entry_remove()
221 &chunk->achunk, &entry->aentry, in mlxsw_sp2_acl_tcam_entry_add()
234 &entry->aentry); in mlxsw_sp2_acl_tcam_entry_del()
248 &entry->aentry, rulei); in mlxsw_sp2_acl_tcam_entry_action_replace()
H A Dspectrum_acl_tcam.h223 struct mlxsw_sp_acl_atcam_entry *aentry,
228 struct mlxsw_sp_acl_atcam_entry *aentry);
231 struct mlxsw_sp_acl_atcam_entry *aentry,
265 struct mlxsw_sp_acl_atcam_entry *aentry);
269 struct mlxsw_sp_acl_atcam_entry *aentry);
286 struct mlxsw_sp_acl_atcam_entry *aentry);
294 struct mlxsw_sp_acl_atcam_entry *aentry);
300 struct mlxsw_sp_acl_atcam_entry *aentry);
H A Dspectrum_acl_erp.c530 struct mlxsw_sp_acl_atcam_entry *aentry; in mlxsw_acl_erp_table_bf_add() local
533 list_for_each_entry(aentry, &aregion->entries_list, list) { in mlxsw_acl_erp_table_bf_add()
536 aregion, erp_bank, aentry); in mlxsw_acl_erp_table_bf_add()
548 aregion, erp_bank, aentry); in mlxsw_acl_erp_table_bf_add()
558 struct mlxsw_sp_acl_atcam_entry *aentry; in mlxsw_acl_erp_table_bf_del() local
560 list_for_each_entry_reverse(aentry, &aregion->entries_list, list) in mlxsw_acl_erp_table_bf_del()
563 aregion, erp_bank, aentry); in mlxsw_acl_erp_table_bf_del()
1036 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_erp_bf_insert() argument
1048 aregion, erp_bank, aentry); in mlxsw_sp_acl_erp_bf_insert()
1054 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_erp_bf_remove() argument
[all …]