Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_ctcam.c42 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_insert() argument
62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert()
67 err = cregion->ops->entry_insert(cregion, centry, mask); in mlxsw_sp_acl_ctcam_region_entry_insert()
82 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_insert()
89 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_region_entry_remove() argument
95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove()
97 cregion->ops->entry_remove(cregion, centry); in mlxsw_sp_acl_ctcam_region_entry_remove()
103 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_region_entry_action_replace() argument
112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace()
191 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp_acl_ctcam_entry_add() argument
[all …]
Dspectrum_acl_tcam.h109 struct mlxsw_sp_acl_ctcam_entry *centry,
112 struct mlxsw_sp_acl_ctcam_entry *centry);
128 struct mlxsw_sp_acl_ctcam_entry *centry,
134 struct mlxsw_sp_acl_ctcam_entry *centry);
137 struct mlxsw_sp_acl_ctcam_entry *centry,
140 mlxsw_sp_acl_ctcam_entry_offset(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_ctcam_entry_offset() argument
142 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset()
195 struct mlxsw_sp_acl_ctcam_entry centry; member
207 mlxsw_sp_acl_tcam_centry_aentry(struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp_acl_tcam_centry_aentry() argument
209 return container_of(centry, struct mlxsw_sp_acl_atcam_entry, centry); in mlxsw_sp_acl_tcam_centry_aentry()
Dspectrum1_acl_tcam.c17 struct mlxsw_sp_acl_ctcam_entry centry; member
27 struct mlxsw_sp_acl_ctcam_entry centry; member
32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp1_acl_ctcam_region_entry_insert() argument
40 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp1_acl_ctcam_region_entry_remove() argument
83 &region->catchall.centry, in mlxsw_sp1_acl_ctcam_region_catchall_add()
107 &region->catchall.centry); in mlxsw_sp1_acl_ctcam_region_catchall_del()
180 &chunk->cchunk, &entry->centry, in mlxsw_sp1_acl_tcam_entry_add()
193 &chunk->cchunk, &entry->centry); in mlxsw_sp1_acl_tcam_entry_del()
231 offset = mlxsw_sp_acl_ctcam_entry_offset(&entry->centry); in mlxsw_sp1_acl_tcam_entry_activity_get()
Dspectrum2_acl_tcam.c32 struct mlxsw_sp_acl_ctcam_entry *centry, in mlxsw_sp2_acl_ctcam_region_entry_insert() argument
40 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_insert()
52 struct mlxsw_sp_acl_ctcam_entry *centry) in mlxsw_sp2_acl_ctcam_region_entry_remove() argument
58 aentry = mlxsw_sp_acl_tcam_centry_aentry(centry); in mlxsw_sp2_acl_ctcam_region_entry_remove()
Dspectrum_acl_atcam.c586 &achunk->cchunk, &aentry->centry, in mlxsw_sp_acl_atcam_entry_add()
601 &achunk->cchunk, &aentry->centry); in mlxsw_sp_acl_atcam_entry_del()
617 &aentry->centry, in mlxsw_sp_acl_atcam_entry_action_replace()