Home
last modified time | relevance | path

Searched refs:span_id (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_matchall.c41 err = mlxsw_sp_span_agent_get(mlxsw_sp, &mall_entry->mirror.span_id, in mlxsw_sp_mall_port_mirror_add()
53 parms.span_id = mall_entry->mirror.span_id; in mlxsw_sp_mall_port_mirror_add()
64 mlxsw_sp_span_agent_put(mlxsw_sp, mall_entry->mirror.span_id); in mlxsw_sp_mall_port_mirror_add()
78 parms.span_id = mall_entry->mirror.span_id; in mlxsw_sp_mall_port_mirror_del()
81 mlxsw_sp_span_agent_put(mlxsw_sp, mall_entry->mirror.span_id); in mlxsw_sp_mall_port_mirror_del()
Dspectrum_span.h37 int span_id; member
89 void mlxsw_sp_span_agent_put(struct mlxsw_sp *mlxsw_sp, int span_id);
Dspectrum_qdisc.c1332 int span_id; in mlxsw_sp_qevent_span_configure() local
1335 err = mlxsw_sp_span_agent_get(mlxsw_sp, &span_id, agent_parms); in mlxsw_sp_qevent_span_configure()
1343 trigger_parms.span_id = span_id; in mlxsw_sp_qevent_span_configure()
1354 *p_span_id = span_id; in mlxsw_sp_qevent_span_configure()
1363 mlxsw_sp_span_agent_put(mlxsw_sp, span_id); in mlxsw_sp_qevent_span_configure()
1369 int span_id) in mlxsw_sp_qevent_span_deconfigure() argument
1373 .span_id = span_id, in mlxsw_sp_qevent_span_deconfigure()
1381 mlxsw_sp_span_agent_put(mlxsw_sp, span_id); in mlxsw_sp_qevent_span_deconfigure()
1393 &agent_parms, &mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_configure()
1400 mlxsw_sp_qevent_span_deconfigure(mlxsw_sp, qevent_binding, mall_entry->mirror.span_id); in mlxsw_sp_qevent_mirror_deconfigure()
[all …]
Dspectrum_acl_flex_actions.c162 mlxsw_sp_act_mirror_del(void *priv, u8 local_in_port, int span_id, bool ingress) in mlxsw_sp_act_mirror_del() argument
169 mlxsw_sp_span_agent_put(mlxsw_sp, span_id); in mlxsw_sp_act_mirror_del()
Dspectrum_span.c916 mlxsw_sp_span_entry_find_by_id(struct mlxsw_sp *mlxsw_sp, int span_id) in mlxsw_sp_span_entry_find_by_id() argument
923 if (refcount_read(&curr->ref_count) && curr->id == span_id) in mlxsw_sp_span_entry_find_by_id()
1097 void mlxsw_sp_span_agent_put(struct mlxsw_sp *mlxsw_sp, int span_id) in mlxsw_sp_span_agent_put() argument
1103 span_entry = mlxsw_sp_span_entry_find_by_id(mlxsw_sp, span_id); in mlxsw_sp_span_agent_put()
1231 trigger_entry->parms.span_id); in __mlxsw_sp_span_trigger_port_bind()
1365 mlxsw_reg_mpagr_pack(mpagr_pl, trigger, trigger_entry->parms.span_id, in mlxsw_sp2_span_trigger_global_bind()
1557 if (!mlxsw_sp_span_entry_find_by_id(mlxsw_sp, parms->span_id)) in mlxsw_sp_span_agent_bind()
1564 if (trigger_entry->parms.span_id != parms->span_id) in mlxsw_sp_span_agent_bind()
1591 parms->span_id))) in mlxsw_sp_span_agent_unbind()
Dcore_acl_flex_actions.h27 void (*mirror_del)(void *priv, u8 local_in_port, int span_id,
Dcore_acl_flex_actions.c1354 int span_id; member
1366 mirror->span_id, in mlxsw_afa_mirror_destroy()
1394 ingress, &mirror->span_id); in mlxsw_afa_mirror_create()
1439 err = mlxsw_afa_block_append_allocated_mirror(block, mirror->span_id); in mlxsw_afa_block_append_mirror()
Dspectrum.h1047 int span_id; member
1051 int span_id; member
/kernel/linux/linux-5.10/include/linux/ceph/
Dosd_client.h244 __le64 span_id; member