Home
last modified time | relevance | path

Searched refs:vregion (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/include/trace/events/
H A Dmlxsw.h38 const struct mlxsw_sp_acl_tcam_vregion *vregion),
40 TP_ARGS(mlxsw_sp, vregion),
44 __field(const void *, vregion)
49 __entry->vregion = vregion;
52 TP_printk("mlxsw_sp %p, vregion %p",
53 __entry->mlxsw_sp, __entry->vregion)
58 const struct mlxsw_sp_acl_tcam_vregion *vregion),
60 TP_ARGS(mlxsw_sp, vregion),
64 __field(const void *, vregion)
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dmlxsw.h38 const struct mlxsw_sp_acl_tcam_vregion *vregion),
40 TP_ARGS(mlxsw_sp, vregion),
44 __field(const void *, vregion)
49 __entry->vregion = vregion;
52 TP_printk("mlxsw_sp %p, vregion %p",
53 __entry->mlxsw_sp, __entry->vregion)
58 const struct mlxsw_sp_acl_tcam_vregion *vregion),
60 TP_ARGS(mlxsw_sp, vregion),
64 __field(const void *, vregion)
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c148 struct list_head vchunk_list; /* List of vchunks under this vregion */
172 struct list_head list; /* Member of a TCAM vregion */
175 unsigned int priority; /* Priority within the vregion and group */
177 struct mlxsw_sp_acl_tcam_vregion *vregion; member
213 /* Check if the next entry in the list has the same vregion. */ in mlxsw_sp_acl_tcam_group_update()
215 list_next_entry(region, list)->vregion == region->vregion) in mlxsw_sp_acl_tcam_group_update()
338 mlxsw_sp_acl_tcam_vregion_prio(struct mlxsw_sp_acl_tcam_vregion *vregion) in mlxsw_sp_acl_tcam_vregion_prio() argument
342 if (list_empty(&vregion->vchunk_list)) in mlxsw_sp_acl_tcam_vregion_prio()
344 /* As a priority of a vregion, retur in mlxsw_sp_acl_tcam_vregion_prio()
351 mlxsw_sp_acl_tcam_vregion_max_prio(struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_max_prio() argument
365 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vgroup_prio_update() local
440 mlxsw_sp_acl_tcam_vgroup_vregion_attach(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, struct mlxsw_sp_acl_tcam_vregion *vregion, unsigned int priority) mlxsw_sp_acl_tcam_vgroup_vregion_attach() argument
471 mlxsw_sp_acl_tcam_vgroup_vregion_detach(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vgroup_vregion_detach() argument
487 struct mlxsw_sp_acl_tcam_vregion *vregion, *vregion2; mlxsw_sp_acl_tcam_vgroup_vregion_find() local
627 mlxsw_sp_acl_tcam_region_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam *tcam, struct mlxsw_sp_acl_tcam_vregion *vregion, void *hints_priv) mlxsw_sp_acl_tcam_region_create() argument
694 mlxsw_sp_acl_tcam_vregion_rehash_work_schedule(struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_rehash_work_schedule() argument
711 struct mlxsw_sp_acl_tcam_vregion *vregion = mlxsw_sp_acl_tcam_vregion_rehash_work() local
729 struct mlxsw_sp_acl_tcam_vregion *vregion = vchunk->vregion; mlxsw_sp_acl_tcam_rehash_ctx_vchunk_changed() local
742 mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed(struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed() argument
760 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vregion_create() local
813 mlxsw_sp_acl_tcam_vregion_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_destroy() argument
852 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vregion_rehash_intrvl_set() local
877 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vregion_get() local
905 mlxsw_sp_acl_tcam_vregion_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_put() argument
948 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vchunk_create() local
1014 struct mlxsw_sp_acl_tcam_vregion *vregion = vchunk->vregion; mlxsw_sp_acl_tcam_vchunk_destroy() local
1126 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_ventry_add() local
1163 struct mlxsw_sp_acl_tcam_vregion *vregion = vchunk->vregion; mlxsw_sp_acl_tcam_ventry_del() local
1320 mlxsw_sp_acl_tcam_vchunk_migrate_all(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx, int *credits) mlxsw_sp_acl_tcam_vchunk_migrate_all() argument
1348 mlxsw_sp_acl_tcam_vregion_migrate(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx, int *credits) mlxsw_sp_acl_tcam_vregion_migrate() argument
1388 mlxsw_sp_acl_tcam_vregion_rehash_start(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vregion_rehash_start() argument
1438 mlxsw_sp_acl_tcam_vregion_rehash_end(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vregion_rehash_end() argument
1453 mlxsw_sp_acl_tcam_vregion_rehash(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, int *credits) mlxsw_sp_acl_tcam_vregion_rehash() argument
[all...]
H A Dspectrum_acl_tcam.h20 struct mutex lock; /* guards vregion list */
82 struct mlxsw_sp_acl_tcam_vregion *vregion; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c149 struct list_head vchunk_list; /* List of vchunks under this vregion */
173 struct list_head list; /* Member of a TCAM vregion */
176 unsigned int priority; /* Priority within the vregion and group */
178 struct mlxsw_sp_acl_tcam_vregion *vregion; member
214 /* Check if the next entry in the list has the same vregion. */ in mlxsw_sp_acl_tcam_group_update()
216 list_next_entry(region, list)->vregion == region->vregion) in mlxsw_sp_acl_tcam_group_update()
339 mlxsw_sp_acl_tcam_vregion_prio(struct mlxsw_sp_acl_tcam_vregion *vregion) in mlxsw_sp_acl_tcam_vregion_prio() argument
343 if (list_empty(&vregion->vchunk_list)) in mlxsw_sp_acl_tcam_vregion_prio()
345 /* As a priority of a vregion, retur in mlxsw_sp_acl_tcam_vregion_prio()
352 mlxsw_sp_acl_tcam_vregion_max_prio(struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_max_prio() argument
366 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vgroup_prio_update() local
441 mlxsw_sp_acl_tcam_vgroup_vregion_attach(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, struct mlxsw_sp_acl_tcam_vregion *vregion, unsigned int priority) mlxsw_sp_acl_tcam_vgroup_vregion_attach() argument
472 mlxsw_sp_acl_tcam_vgroup_vregion_detach(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vgroup_vregion_detach() argument
488 struct mlxsw_sp_acl_tcam_vregion *vregion, *vregion2; mlxsw_sp_acl_tcam_vgroup_vregion_find() local
628 mlxsw_sp_acl_tcam_region_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam *tcam, struct mlxsw_sp_acl_tcam_vregion *vregion, void *hints_priv) mlxsw_sp_acl_tcam_region_create() argument
695 mlxsw_sp_acl_tcam_vregion_rehash_work_schedule(struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_rehash_work_schedule() argument
712 struct mlxsw_sp_acl_tcam_vregion *vregion = mlxsw_sp_acl_tcam_vregion_rehash_work() local
730 struct mlxsw_sp_acl_tcam_vregion *vregion = vchunk->vregion; mlxsw_sp_acl_tcam_rehash_ctx_vchunk_changed() local
743 mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed(struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_rehash_ctx_vregion_changed() argument
761 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vregion_create() local
814 mlxsw_sp_acl_tcam_vregion_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_destroy() argument
843 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vregion_get() local
871 mlxsw_sp_acl_tcam_vregion_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion) mlxsw_sp_acl_tcam_vregion_put() argument
914 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_vchunk_create() local
980 struct mlxsw_sp_acl_tcam_vregion *vregion = vchunk->vregion; mlxsw_sp_acl_tcam_vchunk_destroy() local
1092 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_ventry_add() local
1129 struct mlxsw_sp_acl_tcam_vregion *vregion = vchunk->vregion; mlxsw_sp_acl_tcam_ventry_del() local
1286 mlxsw_sp_acl_tcam_vchunk_migrate_all(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx, int *credits) mlxsw_sp_acl_tcam_vchunk_migrate_all() argument
1314 mlxsw_sp_acl_tcam_vregion_migrate(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx, int *credits) mlxsw_sp_acl_tcam_vregion_migrate() argument
1354 mlxsw_sp_acl_tcam_vregion_rehash_start(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vregion_rehash_start() argument
1404 mlxsw_sp_acl_tcam_vregion_rehash_end(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, struct mlxsw_sp_acl_tcam_rehash_ctx *ctx) mlxsw_sp_acl_tcam_vregion_rehash_end() argument
1419 mlxsw_sp_acl_tcam_vregion_rehash(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vregion *vregion, int *credits) mlxsw_sp_acl_tcam_vregion_rehash() argument
1470 struct mlxsw_sp_acl_tcam_vregion *vregion; mlxsw_sp_acl_tcam_region_rehash_intrvl_set() local
[all...]
H A Dspectrum_acl_tcam.h20 struct mutex lock; /* guards vregion list */
77 struct mlxsw_sp_acl_tcam_vregion *vregion; member
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexported-sql-viewer.py1255 def __init__(self, data, index, x, y, altx=None, alty=None, hregion=None, vregion=None):
1263 self.vregion = vregion
1276 def AddPoint(self, x, y, altx=None, alty=None, hregion=None, vregion=None):
1282 self.points.append(GraphDataPoint(self, index, x, y, altx, alty, hregion, vregion))
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dexported-sql-viewer.py1256 def __init__(self, data, index, x, y, altx=None, alty=None, hregion=None, vregion=None):
1264 self.vregion = vregion
1277 def AddPoint(self, x, y, altx=None, alty=None, hregion=None, vregion=None):
1283 self.points.append(GraphDataPoint(self, index, x, y, altx, alty, hregion, vregion))

Completed in 16 milliseconds