Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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 …]
H A Dspectrum_qdisc.c1761 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_span_configure() argument
1829 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_configure() argument
1833 .to_dev = mall_entry->mirror.to_dev, in mlxsw_sp_qevent_mirror_configure()
1836 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_mirror_configure()
1837 &agent_parms, &mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_configure()
1841 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_mirror_deconfigure() argument
1844 mlxsw_sp_qevent_span_deconfigure(mlxsw_sp, qevent_binding, mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_deconfigure()
1848 struct mlxsw_sp_mall_entry *mall_entry, in mlxsw_sp_qevent_trap_configure() argument
1863 return mlxsw_sp_qevent_span_configure(mlxsw_sp, mall_entry, qevent_binding, in mlxsw_sp_qevent_trap_configure()
1864 &agent_parms, &mall_entry->trap.span_id); in mlxsw_sp_qevent_trap_configure()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_matchall.c51 struct sparx5_mall_entry *mall_entry; in sparx5_tc_matchall_replace() local
63 mall_entry = kzalloc_obj(*mall_entry); 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()