Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_span.c184 int pa_id = span_entry->id; in mlxsw_sp_span_entry_phys_configure()
204 int pa_id = span_entry->id; in mlxsw_sp_span_entry_deconfigure_common()
485 int pa_id = span_entry->id; in mlxsw_sp_span_entry_gretap4_configure()
791 err = span_entry->ops->configure(span_entry, sparms); in mlxsw_sp_span_entry_configure()
806 span_entry->ops->deconfigure(span_entry); in mlxsw_sp_span_entry_deconfigure()
865 if (!span_entry) in mlxsw_sp_span_entry_create()
878 span_entry->ops = ops; in mlxsw_sp_span_entry_create()
883 return span_entry; in mlxsw_sp_span_entry_create()
960 if (span_entry) { in mlxsw_sp_span_entry_get()
963 return span_entry; in mlxsw_sp_span_entry_get()
[all …]
H A Dspectrum_span.h84 int (*configure)(struct mlxsw_sp_span_entry *span_entry,
86 void (*deconfigure)(struct mlxsw_sp_span_entry *span_entry);
97 struct mlxsw_sp_span_entry *span_entry);
H A Dspectrum.c5314 struct mlxsw_sp_span_entry *span_entry; in __mlxsw_sp_netdevice_event() local
5318 span_entry = mlxsw_sp_span_entry_find_by_port(mlxsw_sp, dev); in __mlxsw_sp_netdevice_event()
5319 if (span_entry) in __mlxsw_sp_netdevice_event()
5320 mlxsw_sp_span_entry_invalidate(mlxsw_sp, span_entry); in __mlxsw_sp_netdevice_event()