Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c1005 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_find() local
1007 list_for_each_entry(analyzed_port, &span->analyzed_ports_list, list) { in mlxsw_sp_span_analyzed_port_find()
1008 if (analyzed_port->local_port == local_port && in mlxsw_sp_span_analyzed_port_find()
1009 analyzed_port->ingress == ingress) in mlxsw_sp_span_analyzed_port_find()
1010 return analyzed_port; in mlxsw_sp_span_analyzed_port_find()
1121 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_create() local
1124 analyzed_port = kzalloc(sizeof(*analyzed_port), GFP_KERNEL); in mlxsw_sp_span_analyzed_port_create()
1125 if (!analyzed_port) in mlxsw_sp_span_analyzed_port_create()
1128 refcount_set(&analyzed_port->ref_count, 1); in mlxsw_sp_span_analyzed_port_create()
1129 analyzed_port->local_port = mlxsw_sp_port->local_port; in mlxsw_sp_span_analyzed_port_create()
[all …]