Home
last modified time | relevance | path

Searched refs:mall_entry (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_matchall.c16 struct mlxsw_sp_mall_entry *mall_entry; in mlxsw_sp_mall_entry_find() local
18 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_entry_find()
19 if (mall_entry->cookie == cookie) in mlxsw_sp_mall_entry_find()
20 return mall_entry; in mlxsw_sp_mall_entry_find()
27 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_mall_port_mirror_add() argument
36 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add()
41 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add()
42 err = mlxsw_sp_span_agent_get(mlxsw_sp, &mall_entry->mirror.span_id, in mlxsw_sp_mall_port_mirror_add()
50 mall_entry->ingress); in mlxsw_sp_mall_port_mirror_add()
56 trigger = mall_entry->ingress ? MLXSW_SP_SPAN_TRIGGER_INGRESS : in mlxsw_sp_mall_port_mirror_add()
[all …]
Dspectrum_qdisc.c1762 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_span_configure() argument
1830 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_configure() argument
1834 .to_dev = mall_entry->mirror.to_dev, in mlxsw_sp_qevent_mirror_configure()
1837 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_mirror_configure()
1838 &agent_parms, &mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_configure()
1842 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_deconfigure() argument
1845 mlxsw_sp_qevent_span_deconfigure(mlxsw_sp, qevent_binding, mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_deconfigure()
1849 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_trap_configure() argument
1864 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_trap_configure()
1865 &agent_parms, &mall_entry->trap.span_id); in mlxsw_sp_qevent_trap_configure()
[all …]
Dspectrum.h1179 struct mlxsw_sp_mall_entry *mall_entry,
1183 struct mlxsw_sp_mall_entry *mall_entry);
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc_matchall.c51 struct sparx5_mall_entry *mall_entry; in sparx5_tc_matchall_replace() local
63 mall_entry = kzalloc(sizeof(*mall_entry), GFP_KERNEL); in sparx5_tc_matchall_replace()
64 if (!mall_entry) in sparx5_tc_matchall_replace()
68 mall_entry, in sparx5_tc_matchall_replace()
76 sparx5_tc_matchall_parse_mirror_action(mall_entry, action); in sparx5_tc_matchall_replace()
77 err = sparx5_mirror_add(mall_entry); in sparx5_tc_matchall_replace()
100 sparx5_mirror_stats(mall_entry, &tmo->stats); in sparx5_tc_matchall_replace()
133 list_add_tail(&mall_entry->list, &sparx5->mall_entries); in sparx5_tc_matchall_replace()