Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c1000 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_find() local
1002 list_for_each_entry(analyzed_port, &span->analyzed_ports_list, list) { in mlxsw_sp_span_analyzed_port_find()
1003 if (analyzed_port->local_port == local_port && in mlxsw_sp_span_analyzed_port_find()
1004 analyzed_port->ingress == ingress) in mlxsw_sp_span_analyzed_port_find()
1005 return analyzed_port; in mlxsw_sp_span_analyzed_port_find()
1115 struct mlxsw_sp_span_analyzed_port *analyzed_port; in mlxsw_sp_span_analyzed_port_create() local
1118 analyzed_port = kzalloc(sizeof(*analyzed_port), GFP_KERNEL); in mlxsw_sp_span_analyzed_port_create()
1119 if (!analyzed_port) in mlxsw_sp_span_analyzed_port_create()
1122 refcount_set(&analyzed_port->ref_count, 1); in mlxsw_sp_span_analyzed_port_create()
1123 analyzed_port->local_port = mlxsw_sp_port->local_port; in mlxsw_sp_span_analyzed_port_create()
[all …]