Searched refs:aentry (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_atcam.c | 67 mlxsw_sp_acl_atcam_is_centry(const struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_atcam_is_centry() argument 69 return mlxsw_sp_acl_erp_mask_is_ctcam(aentry->erp_mask); in mlxsw_sp_acl_atcam_is_centry() 380 struct mlxsw_sp_acl_atcam_entry *aentry, in mlxsw_sp_acl_atcam_region_entry_insert() argument 384 u8 erp_id = mlxsw_sp_acl_erp_mask_erp_id(aentry->erp_mask); in mlxsw_sp_acl_atcam_region_entry_insert() 394 lkey_id = aregion->ops->lkey_id_get(aregion, aentry->enc_key, erp_id); in mlxsw_sp_acl_atcam_region_entry_insert() 397 aentry->lkey_id = lkey_id; in mlxsw_sp_acl_atcam_region_entry_insert() 402 aentry->enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_insert() 403 aentry->delta_info.start, in mlxsw_sp_acl_atcam_region_entry_insert() 404 aentry->delta_info.mask, in mlxsw_sp_acl_atcam_region_entry_insert() 405 aentry->delta_info.value, in mlxsw_sp_acl_atcam_region_entry_insert() [all …]
|
D | spectrum_acl_bloom_filter.c | 120 struct mlxsw_sp_acl_atcam_entry *aentry, in mlxsw_sp_acl_bf_key_encode() argument 130 erp_region_id = cpu_to_be16(aentry->ht_key.erp_id | in mlxsw_sp_acl_bf_key_encode() 138 &aentry->enc_key[chunk_key_offsets[chunk_index]], in mlxsw_sp_acl_bf_key_encode() 156 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_bf_index_get() argument 161 mlxsw_sp_acl_bf_key_encode(aregion, aentry, bf_key, &bf_size); in mlxsw_sp_acl_bf_index_get() 170 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_bf_entry_add() argument 179 bf_index = mlxsw_sp_acl_bf_index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_add() 214 struct mlxsw_sp_acl_atcam_entry *aentry) in mlxsw_sp_acl_bf_entry_del() argument 222 bf_index = mlxsw_sp_acl_bf_index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_del()
|
D | spectrum2_acl_tcam.c | 26 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() 211 &chunk->achunk, &entry->aentry, in mlxsw_sp2_acl_tcam_entry_add() 224 &entry->aentry); in mlxsw_sp2_acl_tcam_entry_del() 238 &entry->aentry, rulei); in mlxsw_sp2_acl_tcam_entry_action_replace()
|
D | spectrum_acl_tcam.h | 230 struct mlxsw_sp_acl_atcam_entry *aentry, 235 struct mlxsw_sp_acl_atcam_entry *aentry); 238 struct mlxsw_sp_acl_atcam_entry *aentry, 272 struct mlxsw_sp_acl_atcam_entry *aentry); 276 struct mlxsw_sp_acl_atcam_entry *aentry); 295 struct mlxsw_sp_acl_atcam_entry *aentry); 301 struct mlxsw_sp_acl_atcam_entry *aentry);
|
D | spectrum_acl_erp.c | 530 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() 544 list_for_each_entry_continue_reverse(aentry, &aregion->entries_list, 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() [all …]
|